How to overide the symbol parameter in the jcl ?

Answer Posted / abcd

The Jcl using symbolic paramter looks like this
//job1 job 'abcd'
//file set file=test.file1
//disp set disp=NEW,DELETE,DELETE)
//step1 exec pgm=testpgm
//file1 dd dsn=&file,
disp=&disp

The symbolic paramters are &file and &DISP they way to
override them are as follows
//job1 job 'abcd'
//assign proc file1=test.file1,
// DISP=(NEW,DELETE,DELETE)

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE

2072


in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?

913


What is the function of //jcllib statement?

919


how you can direct the data to spool using SYSOUT option?

1009


Explain the function of the steplib dd statement?

722






Explain the purpose of dd * statement in jcl?

721


Is it possible to left uncode disp?

804


What is multithreading in jcl?

1037


How is the record format of an output dataset specified?

847


what happens when COND is coded in JOB statement and when COND is coded inside EXEC statement?

886


Suppose I have five jobs to do. But I want to hold one?

750


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) ?

1862


I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one

2009


How does jcl act on code(if you take a cobol program)?

814


Explain the function of //cntl statement?

747