0 pts.
 Multi-Member Files
We have a file that has multiple members in it. More members can be added through-out the day by one of our applications. The file is being journaled. The file became corrupted. The file was restored using *ALL on the MBROPT command. When attempting to run APYJRNCHG, we received various errors because of the newly created members and records added to the new members. Apparently the RSTOBJ does not remove members that were created since the save. The APYJRNCHG command blew up on the member create. So we specified specific sequence numbers starting after the member create and it blew up on the new record adds to the new members because the record already exists. It ran fine for the members that already existed, but not the new ones. Do you have any ideas on how to either restore so the new members are removed, or APYCHJRN ignoring the new members. Because the application creates the members, we don't know which ones are new and which ones are old. We are on V5R3. Thanks

Software/Hardware used:
ASKED: July 27, 2006  4:18 PM
UPDATED: July 28, 2006  7:49 AM

Answer Wiki:
Hi It seems to be a complicated case & one that I havent come across earlier. Anyway, maybe you could try the following after taking a precautionary backup: 1. Filter (list) out the members that were created after the backup. You could try this using DSPFD *MBR & dump the same to an outfile which you could query. 2. Once this is done, copy these members to another temp file as a precautionary measure. 3. Clear (delete) these members from the original file. 4. Then apply the journal changes from the point of the last backup. Hope this works....Good luck!
Last Wiki Answer Submitted:  July 28, 2006  7:49 am  by  Roydcunha   10 pts.
All Answer Wiki Contributors:  Roydcunha   10 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _