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

I have program P1 which calls file F1 which has 100 records
and following structure
001 ..................
002 ..................
003 ..................
098 ....................
099 ...................
100 ....................

Now I want to read these files and write these records in
file F2 in following manner.

001 ...... 051 .....
002 ...... 052 .....
003 ...... 053 .....
.......... .......
.......... .......
.......... .......
048 ........ 098 ......
049 .......... 099 .......
050 .... 100 ......

Answer Posted / vaneesh

Hi Krishnan A

How will how will you split the file into 50-50. Please let
me know with the sort card.

Vaneesh

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of outrecord?

2275


) what is the difference between AID and HANDLE AID?

2201


If you are current on the owner of a set, what is the difference between obtain next and obtain first?

1443


) How do u handle errors in BMS macro?

2018


Explain sorting techniques in cobol program? Provide the sort file definition, the sort statement, its syntax and meaning

1148


IF I mention stop run in CICS what happens?

2429


INREC AND OUTREC? HOW TO SPLIT 5K RECORDS TO DIFFERENT FILES IN A FILE IN COBOL? RESTART IN COBOL-DB2? ISOLATION LEVELS?

921


please..could u give an example about USAGE IS POINTER ..and explain why and when we use it ?

2537


) How do u handle errors in BMS macro

2105


Program A (Normal COBBAT) calling a B Program (DB2COBOL, COBBATDB which is using a VSAM file. its a dynamic call. How we will handle VSAM file decleration in our from JCL from where we are running A PGM. And should we have PLAN for A pGM also. if possible can some one post a sample JCL. Thanks for help in advance.

5796


Write some characteristics of cobol as means of business language.

1198


Can we redefine the field of x(200) to less than 200?

1432


How to change size of Initial number of records to *NOMAX for ALL PF files from perticular library, how can I do that

3278


Which division and paragraphs are mandatory for a COBOL program?

1335


explain sorting techniques in cobol program?

1247