How to retrieve record from a flat file?

Showing Answers 1 - 3 of 3 Answers

victor

  • Apr 16th, 2007
 

i think to retrieve record from a flat file we can use export command or the IDCAMs Utility.. plz someone clarify

  Was this answer useful?  Yes

To retrieve record from flat file you can use IDCAMS utility with REPRO command and can copy the data into either a VSAM data set or another flat file

  Was this answer useful?  Yes

We can directly read a record from a flat file using Cobol READ command!

If you want to load the flat file into a PS file use REPRO command in IDCAMS Util.
If you want to load a flat file which was obtained by exporting a VSAM file using EXPORT command in IDCAMS, then use IMPORT command will help to restore datas along with retaining Catalog Info.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions