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

Our issue is there seems to be a disconnect, or no link, between our SELECT statement and our SD. We had SELECT SORT-FILE and SELECT SORT-FILE ASSIGN TO SORTWRK. ASSIGN TO SORTWRK1 SORTWRK2 SORTWRK3 SORTWRK4. with SD SORT_FILE RECORD CONTAINS 7833 CHARACTERS. In either case, at run time, the system ignored our SORTWRK# DD statements and allocated 16 sort works with the SORTWK## naming convention. Any ideas why the system does not recognize the connection? We do not even need the SORTWRK DD statements. Thanks

2965


What is the difference between a binary search and a sequential search? What are the pertinent cobol commands?

1112


I have a File that has duplicate records. I need only those records that occur more than thrice.?

9895


Can a Search can be done on a table with or without Index?

1289


What is the utilization of copybook in cobol? Could we utilize a similar copybook?

1233


what happens if parmparameter passes zero bytes to the program

2133


Write a cobol program making use of the redefine clause.

1185


System Testing for Mainframe Developers What is System Testing? integration testing ? what's the procedure ..

2080


Write a program to explain size error.

1203


) How do u handle errors in BMS macro?

1973


What is perform what is varying?

1177


What is the difference between structured cobol programming and object alternativelyiented cobol?

1252


What are different data types in cobol?

1322


how to access the file from prodution from changeman tool and to submit a file to production

7549


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

1202