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
How can i load all the data from a file to Table (array) in cobol.How i manage the occurs clause with out reading the file.Any options avilable ? Please can any one help me it is urgent?
How do you define a variable of comp-1 and comp-2?
i have 10 names in an array and my name is one of them also array is not in sorted order i need to display my name using index how will i do this
which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad
How do u write test cases?
What are the access modes of START statement?
What is the difference between goback, stop run and exit program in cobol?
How to remove 2 duplicate records and copy only one using job control language?
how do you define single dimensional array and multidimensional array in your cobol?
Name the divisions, which are available in a cobol program?
HOw can I get the negative sign while deduct high value from low value
How do define dynamic array in cobol.
Can you please let me know the centre name of INS certification in Kolkata.
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
What is the default value(s) for an initialize? What keyword will allow for an override of the default?