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

IN MY JCL I VE 8 STEPS I WANT TO EXCUTE STEP 8 FIRST THEN EXCUTE STEP 4 ,HOW WILL EXCUTE STEP 8 BEFORE STEP 4?

7 Answers   Cognizant, IBM, IGT,


Explain how can values be passed from the job stream to an executable program?

0 Answers  


How do you send the output of a COBOL program to a member of a PDS?

7 Answers  


IF WE GIVE COND on step3 then, What does the following mean ? And Just adding to that, All the below COND are VALID as per the specifications. (i) COND = (8,LT,step1,step2) ---(AND/OR ?) (ii) COND = (8,LT,step1,step2, ONLY), (iii) COND = (8,LT,step1,ONLY) will it execute only if this condition is true or only if step1 ABENDS ? (iv) COND = (8,LT,step1,step2,EVEN), (v) COND = (8,LT,step1,EVEN) ?

2 Answers   IBM,


A job has 150 steps i want to execute only 57th step

3 Answers   Cognizant,


How is a GDG base created?

5 Answers  


hi guys what r the diff types of procs in jcl? bye ramya

4 Answers   ACS, Keane India Ltd,


how to purge 50 initiators continuously?? console commands??

4 Answers   IBM, ups,


I have two input SORTIN files and We need to create one SORTOUT file which contains data of both input files. What is the SortCard for this?. Suppose the length of the both files are different, then How we do it? Please reply ASAP

4 Answers   CSC,


What is the use of DUMMY statement in the JCL? What is the use of DUMMY Utility in the JCL?

12 Answers   Convergys,


What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB?

3 Answers  


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

4 Answers  


Categories