have in 100 records in a file i want to read first 3 records
and skip next 3 records and agan i want to read 3 records and again i want to skip 3 records...
run a loop from record one to 10
evaluate i/3 if comes even then skip
else write to output file


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

Post New Answer

More JCL Interview Questions

How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


How to override loadlib?

0 Answers   Fiserv,


At what stage, operator can change the class and priority of a submitted job?

2 Answers  


what is the Difference between SYSIN and PARM ?

5 Answers   IBM,


My JCL has 4 steps that execute PROC’s P1, P2, P3 and P4 as shown below //P1 EXEC PROC=P1 //P2 EXEC PROC=P2 //P3 EXEC PROC=P3 //P4 EXEC PROC=P4 There are four steps S1, S2, S3 and S4 in each PROC’s (i.e. P1, P2, P3 and P4) I want to execute only step S2 of PROC P2 and no other steps or PROC’s. How do you achieve this?

4 Answers   IMS,






Explain about RECORDING MODE Clause

1 Answers  


which utility is used to update pds?

1 Answers   IBM,


In my JCL 10 Steps Will Be there Now i want to execute step05 And step06. How to Give the Cond?

2 Answers   IBM,


What is use of restart and how to use it?

0 Answers  


i just need the first and last record from a sequencial file?how

2 Answers  


if we are specifing joblib as well as steplib in job then at the time of execution how the process will complete

4 Answers  


Is there a limit of 3273 DD statements for a JCL or for every EXEC step in a JCL?

2 Answers  


Categories