Q
Problem solve Get help with specific problems with your technologies, process and projects.

Recreate logicals without the source code

I have many logical files which got corrupted and do not have the source for these logical files. How do I recreate these logicals without the source code?

To recreate indexes on logical files without having the source, you can do a RMVM on the logical file and then an ADDLFM. Keep in mind that the logical file member could be different than the file name. If you have a lot of files, I prefer to do this process with a CL program that will does a DSPFD type(*MBR) to an output file and then have the CL program read that file and do the appropriate commands.


This was last published in July 2002

Dig Deeper on iSeries COBOL programming

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchDataCenter

Close