My Question is

1. How to cound no. of records in JCL. Please explain with
an example.

2. How to execute only odd steps in JCL?
I know EDIT TYPE = Inculde, Step Name = 1,3,5 and
COND code for all even step.

Anyone knows other than this.


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More JCL Interview Questions

how to create a member or sequential dataset through tso command??

4 Answers  


What is a GDG

4 Answers   IBM,


what is A-MODE and R-MODE?

2 Answers  


My JOB contains three steps. //STEP1 EXEC PGM=ABC //STEP2 EXEC PGM=DEF //STEP3 EXEC PGM=GHI My Question is 1) I want to execute second step only. How will do. 2) Soppose U consider above three steps are in PROC steps and I want execute the PROC second step only? How to execute the second step only. During exection time its creating any ABEND? Please let me know..........

2 Answers  


Explain how can an in-stream dataset be terminated?

0 Answers  






There are two input sorting files and there is a need to create one sort out file which contains data of both input files. What is the sort card for this. Write a sample JCL for this using a control card?

3 Answers  


How to pass values in jcl to cobol?

4 Answers   IBM, Infosys,


how do you access an uncataloged dataset in a jcl?

0 Answers   IBM,


I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?

0 Answers  


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


Is there any command to check wether the ps file is in sorted order?

0 Answers   IBM,


Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

2 Answers  


Categories