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

copy 100 records without using ibm utilities

Answer Posted / vaneesh

MOVE 0 TO WS-COUNTER
MOVE N TO END-OF-FILE

PERFORM 1000-COPY-PARAGRAPH UNTILL (WS-COUNTER = 100 OR END-
OF-FILE = 'Y'.

100-COPY-PARAGRAPH.
READ INPUT FILE
AT END MOVE Y TO END-OF-FILE
NOT AT END MOVE IN-REC TO OUT-REC
ADD +001 TO WS-COUNTER.
1000-EXIT.
EXI.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

i want a program using by if, evaluate , string, unstring, perform, occurs?

4702


Write some characteristics of cobol as means of business language.

1126


What is the problem of ordered sequential files access?

1143


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

2052


How can we find that module can be called – whether DYNAMICALLY or STATICALLY?

1201


Difference between cobol and cobol-ii?

1253


How to know whether the module is dynamical or statistical?

1120


What are 77 levels used for?

1093


What is the difference between comp and comp-3?

1173


how to convert the recors form vsam file to db2 table tru file aid

3244


can you please let me know if there is any walkins for COBOL/PLI/DB2/IMS/JCL in pune other than IBM and ITC infotech

2418


What is a report item?

1130


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

1211


How to read the 2nd last record of a VSAM file? (The file size is huge and we don't know the key)

3246


How are the next sentence and continue different from each other?

1278