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

a jcl has 2 steps. How to code the jcl such that if step1 abends, then step2 runs. Else, job terminates with step1?

1 Answers   IBM,


what is the use of IEBGENER utility?

0 Answers  


Passing a variable parm from JCL to a cobol/db2 program

1 Answers   IBM,


how to skip the steps in JCl

2 Answers   EDS,


how JCL works?

0 Answers  






why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

0 Answers  


what is a cataloged procedure ?

1 Answers   Xansa,


We have an output dataset in job with disp parameter as SHR. Can we write data in that file dataset?

2 Answers   CTS, IBM,


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

0 Answers  


explain concatinating datasets?

1 Answers  


Please go thru the below points and let me know how to code this. 1. Sort the input dataset for the condition : Starting position is 37,length of the field is 13 based on character and in the ascending order , starting from position 25 length of 12 ,character and in the ascending order. Use a temporary dataset to hold the sorted file. 2. Use the temporary file created in the above step as the input for the next step. The next step is to execute a program and produce an output file. Use the temporary file created in the above as work file 1 and the output of the file to be created in this step work file 2.Also, pass a parameter to the program that is to be executed in this step. The parameter should have the current date in YYYYMMDD format. For the sake of convenience, you can use the below Job Name : Sample1 Input DSN : PCABDT11.CABD.TEST.INPUT Temporary DSN : Sort1 Output DSN : PCABDT11.CABD.TEST.OUTPUT Program Name : SAMPLE Thanks in Advance for your response.

2 Answers  


WORKING-STORAGE SECTION. 1 GROUP-ITEM. 05 AMOUNT-1 PIC 99V9 USAGE COMP VALUE 50. 05 AMOUNT-2 PIC 9(4)V99 USAGE COMP. PROCEDURE DIVISION. MOVE ZERO TO GROUP-ITEM. ADD 50 TO AMOUNT-1. DISPLAY AMOUNT-1. STOP RUN.

1 Answers  


Categories