IBM Natural Question:
Download Questions PDF

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

Answers:

Answer #1
Normally in JCLs calling natural program, data is passed
using some control cards. In the natural program, the data
is received in the same order using INPUT statement similar
to STACK processing.

Data definition in Natural is done using following:

DEFINE DATA
1 #VARIABLE1 (A10) /* Alphabetic variable of length 10
..
..
END-DEFINE

Answer #2
input statement

Download IBM Natural Interview Questions And Answers PDF

Previous QuestionNext Question
Explain difference between escape(top or bottom) and escape immediate(top or bottom?Explain Is it possible to code GOTO statement in NATURAL? if yes please provide the syntax of the same?