On 09/07/2008, at 2:07 AM, David Gibbs wrote:

The PRDLIB is set by commands when they are invoked ... so unless the
SBMJOB is invoking a command that sets the PRDLIB, I don't think it
should be carried over in the inherited job environment.

Even then it shouldn't be "carried over". Setting PRDLIB on the SBMJOB command should only affect the job in which SBMJOB itself is running--not the job resulting from the SBMJOB command.

This is, of course, a bit at odds with other entries in the library list
.. as system library list entries and user library list entries are
carried over.

PRDLIB is different from the other library lists. It is meant to be used ONLY while a particular command or menu is active. Once you start another job that command or menu is no longer active.

Simon Coulter.
FlyByNight Software OS/400, i5/OS Technical Specialists

Phone: +61 2 6657 8251 Mobile: +61 0411 091 400 /"\
Fax: +61 2 6657 8251 \ /
ASCII Ribbon campaign against HTML E-Mail / \

Return to Archive home page | Return to MIDRANGE.COM home page