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 why do we use file-aid for seqential files?
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 control variable in online screens?
How to receive data passed through jcl parm parameter in a natural program?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain how to find occurrence of mu and pe fields in a file?
How to create 1 ddm that fetches 3 adabas files simultaneously?
Explain the address converter?
Explain the data storage?
Tell me what type of files we can process thru file-aid?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Define cobol coding sheet?
Tell me can we update with histogram?
What is a hyperdescriptor? How does it work?