How do you receive data passed through JCL parm parameter in a
Natural program ? How Data definition is defined in the program?
Answer Posted / rakesh paulraj
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
| Is This Answer Correct ? | 6 Yes | 2 No |
Post New Answer View All Answers
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain 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?
Explain how to move cursor to a particular field when position is not known?
What is cobol coding sheet?
Explain the data storage?
Explain the difference between external subroutine and subprogram?
Explain control variable in online screens?
Explain how to find occurrence of mu and pe fields in a file?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain difference between read(1) and read work file once?
Suppose 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?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?