Suppose there are 10 steps in a PROC, I want to execute
only step5. How do you give the condition in the JCL that
calls this PROC?

Answers were Sorted based on User's Feedback



Suppose there are 10 steps in a PROC, I want to execute only step5. How do you give the condition ..

Answer / siri

using restart parameter.....
//jobname job ,,,restart=proc.step5.....
and next given cond=(00,le) in step6 to step10..

Is This Answer Correct ?    4 Yes 1 No

Suppose there are 10 steps in a PROC, I want to execute only step5. How do you give the condition ..

Answer / sk

Use IEBEDIT
//IEBEDITJ JOB ACCT,'',CLASS=P,MSGCLASS=T,MSGLEVEL=
(1,1),NOTIFY=&SYSUID
//STEP0001 EXEC PGM=IEBEDIT
//SYSPRINT DD SYSOUT=*
//SYSUT1 DD DSN=xxxxx.yyyyy.zzzzz,DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSIN DD *
EDIT TYPE=INCLUDE,STEPNAME=(STEP5)
/*
//

Is This Answer Correct ?    8 Yes 6 No

Suppose there are 10 steps in a PROC, I want to execute only step5. How do you give the condition ..

Answer / sk

Use IEBEDIT utility, It can be solved easly using this
utility.

Is This Answer Correct ?    3 Yes 5 No

Post New Answer

More JCL Interview Questions

How can you execute a COBOL program via SYSIN in JCL?

1 Answers  


we define the array like this 01 array 02 veg occurs 10 times 03 days occurs 6 times 04 cost pic 9(5). but why don't we write it as 01 array 02 veg occurs 10 times 03 days occurs 6 time 04 cost pic 9(5). is there any error will occur ,what is it? and why don't 01,02,03 not contain picture clause? if we put pic in those is there any error will occur what is it will occur?

1 Answers   Fidelity,


what is pupose and meaning of the REGION keyword and what jcl statement is it associated with?

1 Answers  


What is jcl in mainframe?

0 Answers  


Explain the function of //jcllib statement?

0 Answers  






How can we see data in TEMPARARY DATA SET in JCL ?

7 Answers   CSC, Polaris,


HOW TO CONVERT VARIABLE BLOCK TO FIXED BLOCK ?

1 Answers   IBM,


what is meant by jobtrac?

4 Answers   CSC,


I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.

5 Answers   Bank Of America,


If the proc stepname is excluded while overriding the COND, TIME, REGION and PARM parameters while calling the proc, will the override only apply to the first step in the proc or all the steps for all the above parameters?

2 Answers  


Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?

2 Answers  


Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?

4 Answers  


Categories