how can we pass parameters from JCL to cobol
subprogram...my requirement is i should not get data from
mainprogram but i need it from JCL directly
Answer Posted / kalyani
In three ways we can pass the data from JCL to COBOL
1. By specifying in the PARM parameter
2. Sysindd *
3. Through files we can pass
i.e.,
//disk1 dd dsn=oza047.cobol.file1
| Is This Answer Correct ? | 14 Yes | 0 No |
Post New Answer View All Answers
What is the difference between run mode and addressing mode?
What are the parameters that are used in creating a gdg?
When you specify multiple datasets in a JOBLIB or STEPLIB, what factor determines the order?
How to pass the parameter in parm using linkage section ? (syntax)?
a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?
What is the motivation behind coding class parameter in job statement?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
which parameter is used to check the syntax of a jcl without executing it?
what is the purpose of coding notify parameter in job statement?
Is it possible to left uncode disp? If yes, how?
how you can access an uncataloged dataset in a JCL?
Is their any set of rules for dd? Explain.
What is the function of the dd avgrec keyword in sms datasets?
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?