How do you override a parameter in Positional parameters?

Answers were Sorted based on User's Feedback



How do you override a parameter in Positional parameters?..

Answer / mahesh

//STEP EXEC PGM=PRGM1
//DD01 DD DSN=DATA.SET.LIB,DISP=SHR

and if you want to override,then
you have to write like

//STEP.DD01 DD DSN=DATA.SET.OVERRIDE,DISP=SHR

This will override the dataset(data.set.lib)

Is This Answer Correct ?    8 Yes 5 No

How do you override a parameter in Positional parameters?..

Answer / rajesh_m13

By providing Stepname.patameter name

i.e // exec procedurename,parameter.ddname with changed
parameters

Is This Answer Correct ?    3 Yes 2 No

How do you override a parameter in Positional parameters?..

Answer / mahaveer

It's

Parameter name.step name in proc = value

Is This Answer Correct ?    0 Yes 0 No

How do you override a parameter in Positional parameters?..

Answer / pankaj

By Putting ', ,' in place pf positional parameters

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JCL Interview Questions

When concatenating two PDS can any one PDS can have empty dataset i.e without any value(Dummy).

2 Answers  


I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?

0 Answers  


What are the basic JCL Statements for a Job?

1 Answers  


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


Hi, can we call catalog( say myproc } proc n times in jcl if so how please explain Thanks in advance

2 Answers   Cap Gemini,






if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

0 Answers   IBM,


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

0 Answers  


i am trying to copy a PS file into VSAM file in step2 by using PGM=IDCAMS,COND=(0,LT) and the pS file is getting sorted in the step1. I got the return code 00 for step1 but step2 got flushed. can u please help on this. Below is My JCL. SEPP050 EXEC PGM=SORT,REGION=6144K SYSIN DD DSN=SYSCMN.PROD.CCLIB (F5910BNN), DISP=SHR SYSOUT DD SYSOUT=* SYSUDUMP DD SYSOUT=A SORTIN DD DSN=Z1225BT.F5910EPP.HISOUT, DISP=SHR SORTOUT DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT5, DISP= (NEW,CATLG,DELETE),UNIT=DELQ, SPACE=(CYL, (500,500),RLSE), DCB= (RECFM=FB,LRECL=1606,BLKSIZE=16060,BUFNO=15) SORTWK01 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK02 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK03 DD UNIT=SYSDA,SPACE=(CYL, (1)) SORTWK04 DD UNIT=SYSDA,SPACE=(CYL, (1)) SYSIN1 DD UNIT=VIO,SPACE= (80,1) * SEPP060 EXEC PGM=IDCAMS,COND= (0,LT) SYSPRINT DD SYSOUT=* SYSOUT DD SYSOUT=* SYSLIST DD SYSOUT=* *** DD01 DD DSN=Z1225BT.F5910EPP.HISOUT.SORTOUT, // DISP=SHR //*** //DD01O DD DSN=Z1225BT.F5910PHS, // DISP=SHR, // AMP=(AMORG,'BUFND=12,BUFNI=5') //SYSIN DD DSN=SYSCMN.PROD.CCLIB(F5910BBB), // DISP=SHR Output RC for the two steps: SDCBPJ05 SEPP050 00 236 .00 .00 .0 SDCBPJ05 SEPP060 FLUSH 0 .00 .00 .0

3 Answers  


What is jcl in mainframe, and how many types of jcl statements are there for a job?

0 Answers  


suppose i have job it contains 10 steps after exicution of job failuer at 3 and 7 th steps i want exicute step 3 and step 7 only how we specify condition ?

5 Answers  


Explain about Cobol Subroutines

1 Answers  


wht happens if blksize = 0 and lrec = 0 ?

1 Answers   TCS,


Categories