×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
What about for every command that sits in a library, use CHGCMD to point
to it's own library. That would be using Qualified Libraries as
normal. Howoften do you change the vendor's commands
CHGCMD LIBRARYA/MYCMD PRDLIB(LIBRARYA)
CHGCMD LIBRARYB/MYCMD PRDLIB(LIBRARYB)
CHGCMD LIBRARYC/MYCMD PRDLIB(LIBRARYC)
and so forth.
Or am I just not seeing the problem clearly?
message: 7
date: Fri, 18 Jan 2008 08:09:20 -0500
from: rob@xxxxxxxxx
subject: PRDLIB option of *CMDLIB for CHGCMD and CRTCMD
We have a command that is in a few versions of a software package we use.
Where I want to use this does not have any of these libraries in it's
library list. I'm thinking about asking IBM for an option in CHGCMD and
CRTCMD. What I would like to see is
CHGCMD ... PRDLIB(*CMDLIB)
which would make whatever library the command was in one of the product
libraries that appear in DSPLIBL.
The workaround is
ADDLIBLE CMDLIB
MONMSG CPF2103 THEN(DO)
CHGVAR VAR(&CMDLIB) VALUE('1')
ELSE DO
CHGVAR VAR(&CMDLIB) VALUE('0')
ENDDO
MYCMD
IF &CMDLIB THEN(RMVLIBLE CMDLIB)
which I don't think is near as clean as
CMDLIB/MYCMD
Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com
As an Amazon Associate we earn from qualifying purchases.