|
Don't do it in the validity checking program (VCP) as it was never intended for that purpose. Things like object verification need to be done in the command processing program. This is because the VCP is not only called at run-time, it's also called by SEU and the CL compiler when in reality you want it to validity check the library at run time only. You can use CHKOBJ. If it's an RPG program use one of the Retrieve Object Info APIs. ----- Original Message ----- From: klerpg@xxxxxxxxxxxxx To: midrange-l@xxxxxxxxxxxx Sent: Wednesday, August 30, 2006 11:51 AM Subject: Checking for Library Existance in a CL Program All: I need to validate a Library Name parameter in a custom command. Does anyone have any suggestions for accomplishing this via the Validity Checking program written in CL? Thanks -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.