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

what are the various stages of job processing?

736


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5058


How can values be passed from the job stream to an executable program?

867


What is the significance of addrspc parameter in exec statement?

724


Many jcl statements contain specific values designed to direct and control the execution of the statement. What are these fields called?

716






I have mainpgm(abc) this is the only cobol pgm(non-db2).And this pgm calling subpgm name "acd" this also only cobol(non- Db)and this pgm calling some other subpgm this pgm has cobol-db2 pgm. 1) IF you calling static mode how to run and how to compile? 2) IF you calling dynamic mode how to run and how to compile? plz suggestion me.

1947


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

602


Is condition checking possible in jcl? If yes, how?

735


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

672


When space is allocated for an output dataset, what units can be used?

740


how can a gdg base be created in a jcl. What is the difference between empty and scratch parameter while defining/altering gdg base?

778


What is catelog procedure and how many catelog procedure to use in one job?

7437


How can the submitting users racf authority be overridden in a job stream?

741


what is the difference between JES3 and JES2?

676


How to pass data to a program that is coded in an exec statement?

819