How do you pass parameters to the program as the job is
being executed ?

Answers were Sorted based on User's Feedback



How do you pass parameters to the program as the job is being executed ?..

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

How do you pass parameters to the program as the job is being executed ?..

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

Post New Answer

More JCL Interview Questions

How can return codes be tested before execution of a job step?

0 Answers  


what sort card you will use to copy the data from one dataset to another dataset?

0 Answers   IBM,


In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides

6 Answers   Satyam,


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

0 Answers   IBM,


what modification we need to do in jcl if we use sort in cobol? I mean whether we need to include temporary file used for sorting in assign statement?

1 Answers  






What is GDG and what is the maximum limit of versions that can be created?

9 Answers   Convergys,


if my GDG limit has been kept as 50 and if am trying to put 60 records.what would happen. will there be any abend for this scenario

4 Answers  


What is the function of the dd avgrec keyword in sms datasets?

0 Answers  


what is the cond=even only

4 Answers   EDS,


What are hierarchy levels in jcl?

0 Answers  


hi guys what r the diff types of procs in jcl? bye ramya

4 Answers   ACS, Keane India Ltd,


I have a job (4 steps) with time parameter coded in job & exec, say time=10 in job & time =3,2,2,4 in each steps. Will the job executes successfully?

4 Answers   Cognizant,


Categories