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 email address, you agree to receive emails regarding relevant topic offers from TechTarget and its partners. You can withdraw your consent at any time. Contact TechTarget at 275 Grove Street, Newton, MA.
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.