How do you receive data passed through JCL parm parameter in a
Natural program ? How Data definition is defined in the program?
Answers were Sorted based on User's Feedback
Answer / ad
INPUT Field1 Field2 ....
where Field1 Field2 will be defined as variable (as shown
above) with format matching the data type passed from JCL
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / 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 |
Answer / misty
Data Definition in Natural
DEFINE DATA
LOCAL
1 #VARIABLE1 (A10)
END-DEFINE
| Is This Answer Correct ? | 3 Yes | 2 No |
How can I create 1 DDM that fetches 3 ADABAS files simultaneously?
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?
Tell me what type of files we can process thru file-aid?
why do we use file-aid for seqential files?
Define cobol coding sheet?
Describe the COBOL coding sheet
2 Answers Cap Gemini, Royal Infotech,
What is the difference between read(1) and read work file once?
Explain the address converter?
how to move cursor to a particular field when position is not known?
Explain the like inverted list?
Types Of Read , FIND