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

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Where can program checkpoints be stored for use in a restart?

836


how you can access an uncataloged dataset in a JCL?

644


How to pass the parameter in parm using linkage section ? (syntax)?

643


what is the difference between JES3 and JES2?

667


Explain how can an in-stream dataset be terminated?

686






How can a stopped job be started again?

694


Explain about ISPF/TSO Commands

1306


How do you submit a job for execution?

631


i want to store 20 digits . how will u do it in cobol ?

851


Mainframes gets a text file that contains the name of the file. Now using JCL i want to locate that file name in the mainframe system and perform further processing. Please tell how to proceed

1957


What do we mean by 'Virtual storage' for a dataset and for a JOBSTEP ? What is the significance of the following statement for a programmer 'Virtual storage results in program addresses being independent of the addresses that actually exist in a computer' ?

1576


Name the parameters which can be used to limit the number of records written to a sysout dataset?

646


Which statement is used to identify the private libraries in job?

669


How to do automated restart when a job abend?

782


how can you check if a file is empty using jcl?

800