I have many logical files which got corrupted and do not have the source for these logical files. How do I recreate...
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
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.
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.