How to overide the symbol parameter in the jcl ?

Answers were Sorted based on User's Feedback



How to overide the symbol parameter in the jcl ?..

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

How to overide the symbol parameter in the jcl ?..

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

How to overide the symbol parameter in the jcl ?..

Answer / suputhru

The symbolic paramters are &file111 and &DISPooo they way to
override them are as follows.

//job1 job 'abcd'
//assign proc file111=test.file1,
// DISPooo=(NEW,DELETE,DELETE)
//step1 exec pgm=testpgm
//file1 dd dsn=&file111,disp=&DISPooo

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

//S10 EXEC PGM=ICETOOL //TOOLMSG DD SYSOUT=* //DFSMSG DD SYSOUT=* //CON DD DSN=VAR.INPUT1,DISP=SHR // DD DSN=VAR.INPUT2,DISP=SHR //OUT DD DSN=VAR.OUTPUT,DISP=(NEW,CATLG,DELETE), // SPACE=(CYL,(5,5)),UNIT=SYSDA //TOOLIN DD * * Splice the needed data from the two VB files together SPLICE FROM(CON) TO(OUT) ON(5,5,CH) WITHALL - WITH(12,5) WITH(22,20) VLENMAX /*

0 Answers  


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

0 Answers  


I have a sequential file in which there are 50 records. Now I want to copy all the 50 records in the reverse order into a new file? The last record in the original file should be the first record in the new file. How can I do it?

4 Answers   IBM, TCS,


1) max no of steps with jcl job can execute 2) how many extentions r possible in sequencial files with job 3) what is set parameter will do 4)how to get syntax errors without sub 5) what is differ between error and abend 6) hw mvs knows who submitted the job and whoom it has to forward 7) what are the positinal parameters of data descripter

1 Answers   L&T,


Explain dd statement in jcl?

0 Answers  






In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?

2 Answers   IBM,


a dd statement has 2 types of parameters. Name them?

0 Answers  


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

0 Answers  


How do you access an uncatalogued dataset in a jcl?

0 Answers  


What is notcat 2 - gs?

0 Answers  


I have 10 steps, I want to run STEP1 TO STEP4 then I should not run STEP5 and STEP6. Aganin I want to execute from STEP7 to STEP10. ONLY using CONDITION CODES how can we execute this process? 1. Where we can set cond codes for STEP5 and STEP6? 2. How can we execute remaining steps from STEP7 to STEP10?

2 Answers  


how to put a dependency on job in jcl using opc scheduler?

1 Answers   CTC,


Categories