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 cobol coding sheet?
Is it possible to code GOTO statement in NATURAL? if yes please provide the syntax of the same
How to create 1 ddm that fetches 3 adabas files simultaneously?
What is the difference between read(1) and read work file once?
how to move cursor to a particular field when position is not known?
difference between escape(top or bottom) and escape immediate(top or bottom?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
What happens when you issue a ESCAPE ROUTINE in a program ? Will there be any compilation /Run time error.
can i see the copy book length using file-aid ?
Explain the difference between external subroutine and subprogram?
difference between read(1) and read work file once ?
In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?