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 |
Explain why do we use file-aid for seqential files?
Define cobol coding sheet?
how many work file we can code in jcl?
how to ftp the natural program to desktop? (from mainframe to pc), is it possible?
Explain the data storage?
what type of files we can process thru file-aid
Can we see the copy book length using file-aid?
Explain the like inverted list?
Is it possible to code GOTO statement in NATURAL? if yes please provide the syntax of the same
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
How do you pass GDA into a sub program with out PDA?
Does Natural online require CICS or other TP systems to function? How does Natural interact with CICS? Thanks.