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

Write a program to concert an Indexed file into Sequential
file?

Answer Posted / ajay ahuja

Program:

1. Define sequential file of same record size as of Indexed
file. say "WS-SEQ-FILE-RECORD".

2. Open Indexed file in INPUT mode and Sequential file in
output mode.

3. Read Indexed file into "WS-SEQ-FILE-RECORD".

4. Write into Sequential file. Continue Step 3 thru 4 until
end of Indexed file.


JCL:

Use Utility = IDCAMS,
//DD1 DD DSN=INDEXED.FILE.NAME
//DD2 DD DSN=SEQUENTIAL.FILE.NAME
// SYSIN DD *
REPRO INFILE(DD1) OUTFILE(DD2)
/*
//

I Hope this will help you !!!!

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

) How do u handle errors in BMS macro?

1913


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

1134


How to use the same COBOL program in Batch and CICS on lines? explain with an example

2331


1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?

5764


What is the difference between Call and a Link?

1132


write a cobol logic. i have file that has 10 records .1 record go to first output file and second record goes to 2 output and etc

1179


What is rmode(any) ?

1193


How to know whether the module is dynamical or statistical?

1089


What happens when we move a comp-3 field to an edited (say z (9). Zz-)?

1334


can anybody post me about file-aid and changemen tools pls and give me reference if any mainframe guys are there

2419


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

2424


1.give the details about WHEN OTHER. 2. how many form are available in evaluate.

2069


What are the cobol coding sheets?

1189


how to move the records from file to array table. give with code example

2634


Which division and paragraphs are mandatory for a COBOL program?

1208