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


Please Help Members By Posting Answers For Below Questions

Explain why do we use file-aid for seqential files?

584


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?

578


Explain control variable in online screens?

558


How to receive data passed through jcl parm parameter in a natural program?

558


Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

612






Explain how to find occurrence of mu and pe fields in a file?

499


How to create 1 ddm that fetches 3 adabas files simultaneously?

536


Explain the address converter?

572


Explain the data storage?

557


Tell me what type of files we can process thru file-aid?

536


Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

597


How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

609


Define cobol coding sheet?

568


Tell me can we update with histogram?

611


What is a hyperdescriptor? How does it work?

633