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.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.