Follow Our FB Page << >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...

Write a program to concert an Indexed file into Sequential

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

Answer / ajay ahuja


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.


Use Utility = IDCAMS,

I Hope this will help you !!!!

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More COBOL Interview Questions

how do you reference the esds vsam file formats from cobol programs

0 Answers  

what are the working storage fields in BMS macro?

2 Answers   IBM,

How much salary you are expecting? If they ask in an interview, what we have to tell?

6 Answers   Tech Mahindra, Wipro,

What are the differences between OS VS COBOL and VS COBOL II?

1 Answers   IBM,

Write the syntax of a two dimensional array?

8 Answers   Honeywell, Xansa,

Write some characteristics of cobol as means of business language.

0 Answers  

if i am reading a file with some 50000 records and moving to a DB2 table and suddenly the program abends in between, is there anyway i could restart from the exact record at which the job failed once the program restarts.

2 Answers   UST,

what will happen if i give program name and member name as different? program runs successful or w'll abend?

5 Answers   CTS,

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

0 Answers  

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?

0 Answers   IBM,

what are the limitations of Inline Perform?

3 Answers   Zensar,

Why we need to use redefine clause when we can define the variable seperately... what is actual need....

5 Answers   Accenture,