Good News Everybody!
The new search engine is LIVE!
Please report any problems to david (at) midrange.com.
|
- Consider /enhancing/ the CRTLIB instead; e.g. to either issue or schedule a SAVLIB.? Rather than intercepting the CL command
CRTLIB, activating the save could be in response to some object
auditing; e.g. T-CO entry for the object type *LIB.
- Another relatively simple approach is to, just before the SAVCHGOBJ request, list the object details of the *LIB objects target of the upcoming SAVCHGOBJ request, e.g. from the request to:
DSPOBJD *N/*ALLUSR *LIB *FULL
OUTPUT(*OUTFILE) OUTFILE(QTEMP/ODUSRLIBS)
And then e.g.
SELECT ExecCmd('SAVLIB ' CONCAT ODOBNM CONCAT SavlibParms())
FROM QTEMP/ODUSRLIBS
WHERE ODSDAT=''
The given SELECT alludes to effecting, after having issued within
the job CRTSAVF QTEMP/NULLSAVF, something like:
SAVLIB EachUnSavedLibNam *SAVF SAVF(QTEMP/NULLSAVF)
CLEAR(*ALL) UPDHST(*YES) OMITOBJ((*ALL *ALL))
<<SNIP>>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.