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 |
syntax for all WRITE COMMAND in natural language
COuld you please let me know along with a sample on how are you going to remove duplicates from the file that is being read. Thanks Sam
difference between read(1) and read work file once ?
How do you pass GDA into a sub program with out PDA?
What is Natural?
What is the difference between READ BY ISN and FIND
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
What is STACK in Natural? How we can use it in Program? Give me Eg.?
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 happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
How do you receive data passed through JCL parm parameter in a Natural program ? How Data definition is defined in the program?
how to ftp the natural program to desktop? (from mainframe to pc), is it possible?