How do you pass parameters to the program as the job is
being executed ?
Answers were Sorted based on User's Feedback
Answer / guest
By using 'parm' parameter in exec statement. the value
mentioned here should be declared in linkage section in the
program and process thru procedure division. this technique
is very useful when you do not know the parameters at the
time of coding the programs.
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / lakshmisudha
using PARM parameter we can pass the data from one step to
another step
using REFER BACK PARAMETER we can pass dd statments dsn, dcb
from one step to another step or with in step also
| Is This Answer Correct ? | 0 Yes | 1 No |
What is a GDG
How to alter the parameters for the existing gdg?
The disp in the JCL is MOD and the program opens the file in OUTPUT mode. What happens ? The DISP in the JCL is SHR and the program opens the file in EXTEND mode. What happens ?
How to copy VSAM files without using REPRO
there are 10 steps in jcl how to execute the steps from step2 to step8 only
How to find in aparticular step how many versions a paricular gdg base have?
Is it possible to left uncode disp?
how many types of sorts are there in jcl?
i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?
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?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
in catalog procedure i have step1 dd dsn=filea dd dsn=fileb dd dsn=filec ur concatenaning all the files. but i need to override fileb with file 2 ? can anyone give the ans pls for ths