How to overide the symbol parameter in the jcl ?

Answer Posted / karthik ramamoorthy

The Jcl using symbolic paramter looks like this
//job1 job 'abcd'
//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 ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the motivation behind coding class parameter in job statement?

700


What is the purpose of disp parameter?

662


How to execute 2nd and 4th steps among 5 steps in jcl proc?

759


is there any way to execute more than one proc in the same exec statement at the same time..?

2119


How can an in-stream dataset be terminated?

859






what is JCL?

708


by using cond parameter maximum 8 cond can be coded in single cond means ?explain

983


I want to JCL sort for Non-COMP and COMP-3 fields SORT FIELDS=(1,5,A,6,11,A,12,11,A,19,1,A,20,1,A),FORMAT=BI,EQUALS Length of comp bytes is 11 bytes which start at 6byte and 12 byte considering 11 bytes in comp-3 is 6 bytes. Can anyone tell if the above sort work SORT FIELDS=(1,5,A,6,6,A,12,6,A,19,1,A,20,1,A),FORMAT=BI,EQUALS does not works OK

1494


What are the parameter we cannot use in procedure? How many instream we can write in single jcl?

595


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

874


what is use of disp parameter in dd statement?

673


how you can access an uncataloged dataset in a JCL?

666


What is jcl in mainframe?

708


What is the function of //jcllib statement?

817


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1636