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 / mahendra.ch

1st way to copy records to an other ps.

open input in-file
output out-file.
perform until end-of-file = 'y'
read in-file
at at end move 'y' to end-of-file
not at end
move in-rec to out-rec
write out-rec
end-read
end-perform.
close in-file.
close out-file.


2st way to copy records to an other ps.

we can copy the records by using file-aid tool also.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

here is my requirement A1 is alphanumeric with value 'A1B2C3D4' as defined below 05 A1 PIC X(8) VALUE IS 'A1B2C3D4' but i need to have A2,A3 as ABCD & 1234 repectively...... A2 = ABCD A3 = 1234 Can you please explain me what are the different ways to do it?

7733


What are the cobol coding sheets?

1173


Explain how to differentiate call by context by comparing it to other calls?

1128


Why is it necessary that file needs to be opened in I-O mode for REWRITE?

1257


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

1167


What is the difference between perform … with test after and perform … with test before?

1371


Whats the difference between search & search ALL?

6364


I have a program with an Array of 5000 occurences which is being passed from 5 sub levels to the front end screen. Thess 5 programs using each 5*2 = 10 different arrays with size as 5000. This is causing the transaction to utilize more storage consupmtion. I am looking to reduce the storage consumption. As part of that initially i thought Dynamic array may solve my problem. After viewing the comments given i see its same as normal array. IS there any other way we can resolve this issue?

1602


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

1046


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

7441


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

3206


what are decleratives in cobol?

2209


What are various search techniques in cobol? Explain.

1026


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

1451


what is the use of outrecord?

2153