I have a requirement that when DLTF file command is execued if the file is PF then before file gets deleted CPYF coomand should be run.[Br style="padding: 0px; margin: 0px;" />[Br style="padding: 0px; margin: 0px;" />How can this be done?
Software/Hardware used:
AS400
ASKED:
January 9, 2011 7:21 AM
UPDATED:
January 11, 2011 12:38 AM
You could create a command dltf and place it above the library of DLTF in the library list. You’re command will call a CL to issue the copy followed by the qualified DLTF command.
Phil
There is no “best” way. Different versions/releases provide different capabilities and different sites have different requirements.
One way on current releases of the OS might be to use the QIBM_QCA_RTV_COMMAND exit point. And if this didn’t seem to be homework, a discussion of why that might be best could have been included.
Tom