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 |
difference between escape(top or bottom) and escape immediate(top or bottom?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
Define cobol coding sheet?
What is STACK in Natural? How we can use it in Program? Give me Eg.?
What is the difference between External subroutine and subprogram?
why do we use file-aid for seqential files?
can i see the copy book length using file-aid ?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
how to ftp the natural program to desktop? (from mainframe to pc), is it possible?
How to create 1 ddm that fetches 3 adabas files simultaneously?
how many work file we can code in jcl?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?