What is STACK in Natural? How we can use it in Program? Give
me Eg.?
Answers were Sorted based on User's Feedback
Answer / shrayansh
I have used Stack command in natural Language and its been used to pass values from a program to another program in different libraries , as we cannot use fetch and callnat to pass values in the different library.
EX : STACK TOP DATA #INPUT1
STACK TOP DATA #INPUT2
STACK TOP DATA #INPUT3
-----
-----
STACK TOP COMMAND 'program name'
STACK TOP COMMAND 'LOGON library name' STOP
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / wing
It can be used to pass data from program A to Program B
...see *data. It can also be used to stack a command which
will execute once the current program stops.
| Is This Answer Correct ? | 3 Yes | 0 No |
What is the difference between External subroutine and subprogram?
Describe the COBOL coding sheet
2 Answers Cap Gemini, Royal Infotech,
What happens when you issue a ESCAPE ROUTINE in a program ? Will there be any compilation /Run time error.
Explain difference between read(1) and read work file once?
Explain the difference between external subroutine and subprogram?
Is it possible to code GOTO statement in NATURAL? if yes please provide the syntax of the same
What exactly is a hyperdescriptor? How does it work?
How to create 1 ddm that fetches 3 adabas files simultaneously?
A field declared as P8 needs to be redefined as Alphanumeric. What would be its new size?
What is the difference between read(1) and read work file once?
why do we use file-aid for seqential files?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?