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

CAN ANYONE TELL ME WHAT IS "JOB-CARD"

4 Answers   Syntel,


What is the function of the dd dcb keyword?

0 Answers  


List some valid operation codes in JCL

3 Answers  


Is it possible to left uncode disp? If yes, how?

0 Answers  


hello friends ,i have exam in Hsbc,pls any on send me placement papers and technical questions on mainframes,thank u

0 Answers   HF, iNautix,






In a JCL if previous steps return code is greater than 0 or 4 then the next step will not execute. But the job will be successfull with the maximum return code. How can we reset this maximum return code to '0' regardless of return codes of any steps?

4 Answers  


What methodology can be adapted to transfer data to a program that is coded using the exec statement?

0 Answers  


what is SOC4 error?

0 Answers  


How to code these statements in JCL: CLEANUP INITIAL(NO) RESTART(NO) DYNALLOC(NO) job definition..?

0 Answers  


in order to execute step2 a job after a return code of 8 in step1, what condition you will code in step2?

0 Answers   IBM,


describe the job statement, its meaning,syntax and significant keywords?

1 Answers  


Suppose i have a file with 10 recs and i want to skip only the 7 th record and copy the rest into another file. How do i do it using SORT?

7 Answers   VS, Wipro,


Categories