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

Answer Posted / santhosh

We can do it through JCL by using sort utility ..Through splitby=3 in outfil statement giving two different outputs..It will store two alternative records into two datasets alternatively

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Describe the cobol database components?

682


) How do u handle errors in BMS macro

1510


What is the difference between comp and comp-3 usage?

681


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

1846


In which area will you utilize 88 level items in cobol?

722






How you can characterize tables in cobol?

718


What is the difference between external and global variables in COBOL?

813


how do you reference the variable unblock file formats from cobol programs

748


Name some of the examples of COBOl 11?

2686


What is the usage of comp fields in cobol?

660


)If there are 10 steps in GDG, if I want to refer the step2 after step5 . what should I do?

1523


Explain the configuration section of a cobol program with examples of syntax.

659


What are the various section in data division and briefly explain them.

699


How do you define a variable of comp-1 and comp-2?

705


Which division and paragraphs are mandatory for a COBOL program?

709