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

Matching Logic in Jcl not in cobol.Could any one please answer this question

0 Answers  


How dummy is used in jcl?

0 Answers  


what is the meaning of keyword in jcl?what is is opposite?

4 Answers  


What do you understand by the term job time – out and how can you overcome that?

0 Answers  


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,






How is a type of file defined in the jcl that executes the cobol program?

0 Answers  


Can there be 2 job statements in a JCL? If yes what is the purpose of doing tha?

3 Answers  


Why include statement is used in a jcl?

0 Answers  


how can the same proc be re-used and called by many jobs?

0 Answers   IBM,


How system will identify whether user wants to create PS or PDS? If answer is SPACE parameter then why we need to pass ps or po as dataset organisation while creation

1 Answers  


how to write a jcl prog to copy alternate recs from ps1 to another ps2,suppose ps1 having 10 recs?

2 Answers   Steria, TCS,


A dd statement consists of 4 fields. Name them?

0 Answers  


Categories