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
Explain difference between escape(top or bottom) and escape immediate(top or bottom?
Explain how many work file we can code in jcl?
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?
Explain the address converter?
How are you going to remove duplicates from the file that is being read?
Tell me can we update with histogram?
What is data trace system 2.0 used for?
What is the difference between read(1) and read work file once?
How to find occurrence of mu and pe fields in a file?
What is cobol coding sheet?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Explain why do we use file-aid for seqential files?
Define cobol coding sheet?
How to receive data passed through jcl parm parameter in a natural program?