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 |
If the number of parameter is more than the expected then NAT0919 error is displayed. How many parameter are allowed in a CALL and CALLNAT statement?
Does Natural online require CICS or other TP systems to function? How does Natural interact with CICS? Thanks.
How converted the natural coding for adabas
Explain difference between read work file 1 and read work file once? Why we are using work file once?
how many work file we can code in jcl?
How to find occurrence of mu and pe fields in a file?
How to receive data passed through jcl parm parameter in a natural program?
Explain difference between read(1) and read work file once?
Is it possible to declare a GDA for an external subroutine?
Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?
Explain why do we use file-aid for seqential files?
What is Natural?