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

What is the DD statement for a output file?

3 Answers  


What is the function of the dd dcb keyword?

0 Answers  


How to empty the records in jcl

1 Answers  


Hi, I have 3 files say file A , file B and file C.I want to form an output file in which i will have all the records from file A. Files B and C also may contain records that are present in file A.I want those records also to be included in my output file. for eg: file A contains: 1 2 3 file B contains: 2 4 5 file C contains: 1 3 5 So in my output file should look like: 1 2 3 2 1 3 Can any one help ???.....thanks in advance.

2 Answers  


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

0 Answers  






what is the function of iebcompr?....is it compare record length or characteristics of a dataset?...pls explain with examples.......

2 Answers  


In my job I have 6 steps. Step01,02,03...step06. after executing step02 i want to skip step03 and want to execute step04. and once step04 is done then I want to go back and execute step03. once step03 is completed I want execute step05, 06 and so on... can any one tell me how do i do that???

10 Answers   Perot Systems,


What is a COND parameter in JCL?

10 Answers   TCS,


What is the error in the following JCL statements : I) //step#three exec pgm=hkbc762 ii) //step#3 exec pgm = hkbc762 iii) //step#3 exec pgr = hkbc672

6 Answers  


if we give TIME=0 how many sec that job/step

13 Answers  


How does jcl specify the job to the operating system?

0 Answers  


Explain about Specifying compiler options in the PROCESS (CBL) statement

1 Answers  


Categories