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

Can we find specific member without knowing the name of PDS or can we search a member to which PDS it belongs to? if so how?

6 Answers  


can we give instream data in procedure

6 Answers   EDS,


A maximum of 100 chars can be passed to Cobol through Parm in JCL, If we want to pass more than 100 Chars how we can do it ?

3 Answers   IBM,


how to allocate a dynamic dataset in jcl ?

3 Answers   Patni, TCS,


What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?

2 Answers  






Explain about User Information

1 Answers  


can we bowse or edit the GDG dataset if it is a tape entry?

4 Answers  


A STEP has more than 1 file as INPUT. And we have to put all these records int 1 output file. How to do ? //InputF  DD DSN=ID.File1              DSN=ID.File2              DSN=ID.File3

1 Answers   FIS,


hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..

1 Answers   CTS,


How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


how to split a file

4 Answers   IBM,


which utility is used to run a cobol-db2 program?

0 Answers   IBM,


Categories