What is STACK in Natural? How we can use it in Program? Give
me Eg.?

Answers were Sorted based on User's Feedback



What is STACK in Natural? How we can use it in Program? Give me Eg.?..

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

What is STACK in Natural? How we can use it in Program? Give me Eg.?..

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

Post New Answer

More Natural Interview Questions

A field declared as P8 needs to be redefined as Alphanumeric. What would be its new size?

9 Answers  


How to create 1 ddm that fetches 3 adabas files simultaneously?

0 Answers  


Is it possible to declare a GDA for an external subroutine?

4 Answers  


How to receive data passed through jcl parm parameter in a natural program?

0 Answers  


Explain why do we use file-aid for seqential files?

0 Answers  






Explain adabas basic concepts. Like inverted list, address converter ,data storage?

0 Answers  


What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

0 Answers  


difference between escape(top or bottom) and escape immediate(top or bottom?

3 Answers   CTS,


What exactly is a hyperdescriptor? How does it work?

3 Answers  


How do you receive data passed through JCL parm parameter in a Natural program ? How Data definition is defined in the program?

5 Answers   JPMorgan Chase,


You are processing an input file in a Natural program and you want the program to fail if the file is empty. What command you use in Natural to force it to fail ?

6 Answers   IBM, TCS,


Can we update with histogram?

2 Answers  


Categories