Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

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?

2630


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

1258


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

1607


which is Best IBM Mainframe Training and Placement Institute in Ameerpet Hyderabad

1549


How do u write test cases?

2110


What are the access modes of START statement?

1326


What is the difference between goback, stop run and exit program in cobol?

1645


How to remove 2 duplicate records and copy only one using job control language?

1260


how do you define single dimensional array and multidimensional array in your cobol?

1151


Name the divisions, which are available in a cobol program?

1293


HOw can I get the negative sign while deduct high value from low value

2298


How do define dynamic array in cobol.

1185


Can you please let me know the centre name of INS certification in Kolkata.

2284


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?

1379


What is the default value(s) for an initialize? What keyword will allow for an override of the default?

1166