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 “Cond= even” and “Cond=only”?
what happens in conversion stage in job processing?
What is catelog procedure and how many catelog procedure to use in one job?
How can the disposition of sysout datasets be set for an entire jobstream?
How to pass the parameter in parm using linkage section ? (syntax)?
why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.
Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?
What dd statement is used to supply the name of a dataset?
Is it possible to code instream data in a PROC?
What do you understand by the term notcat 2 – gs?
How to run cobol program using jcl?
List the different components of jcl statement?
how can you check if a file is empty using jcl?
Explain how can values be passed from the job stream to an executable program?
what is the JCL statement consists of?