× 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.



If Green Screen is driven by a command, have you considered that the command
may have DILIB specified as the PRDLIB (Production Library)?

OR, create your own command in either QGPL or one of your production object
libraries to front-end their command and make DILIB the PRDLIB for your
custom-written command, and execute this command from within your program.


>From the help text for CHGCMD:

<Help text>

                 Product library (PRDLIB) - Help

   Specifies the name of the product library that is in
   effect during the processing of the command.

        Note:   The product library for a command or menu
        remains in the library list while a command or menu is
        active, unless another command or menu changes the
        product library. When a command or menu that changed
        the product library ends, the product library is
        restored to what it was when the command or menu
        started.

   *SAME
        The product library for the command does not change.

   *NOCHG
        The product library is not changed when processing of
        the command starts.  If the product library is changed
        during the processing of the command, the change
        remains in effect after command processing is
        complete.
   *NONE
        There is no product library in the job's library list.
        The product library is restored to its previous value
        when command processing is complete.

   library-name
        Specify the name of the library used as the product
        library during command processing.  The library need
        not exist when the command is created, but must exist
        when the command is processed.  When command
        processing is completed, the product library is
        restored to its previous value.  QTEMP cannot be
        specified for the product library.


</Help text>

So, in either case, then all you have to do is execute the command (in a
qualified fashion - LIBRARY/CMDNAME) from within your application, and it
will add DILIB to the library list temporarily.

HTH,
Steve Landess
Austin, Texas
(512) 423-0935


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 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.