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



We have an RPG program which outputs to a printer file.  There are 2
versions of the printer file in different libraries, and the correct version
should be used depending on the library list.  However, this does not seem
to be the case.  Regardless of the library list the program always opens the
version of the printer file that the program was complied over.

I have done a DSPPGMREF, and the library name of the printer file is
hardcoded.

   14/05/04               Display Program References              
 DSPPGMREF Command Input                                          
   Program . . . . . . . . . . . . . . . . . . :   G2T03R0501     
     Library . . . . . . . . . . . . . . . . . :     *LIBL        
   Output  . . . . . . . . . . . . . . . . . . :   *              
   Object types  . . . . . . . . . . . . . . . :   *PGM           
 Program . . . . . . . . . . . . . . . . . . . :   G2T03R0501     
   Library . . . . . . . . . . . . . . . . . . :     XALVEOBJ     
   Text 'description'. . . . . . . . . . . . . :     Print Telex  
   Number of objects referenced  . . . . . . . :         9        
   Object  . . . . . . . . . . . . . . . . . . :     G2T03R13     
     Library . . . . . . . . . . . . . . . . . :       *LIBL      
     Object type . . . . . . . . . . . . . . . :       *PGM       
   Object  . . . . . . . . . . . . . . . . . . :     QCMDEXC      
     Library . . . . . . . . . . . . . . . . . :       *LIBL      
     Object type . . . . . . . . . . . . . . . :       *PGM       
   Object  . . . . . . . . . . . . . . . . . . :     G2T03E05        <====
Printer File 
     Library . . . . . . . . . . . . . . . . . :       XALVEOBJ   
     Object type . . . . . . . . . . . . . . . :       *FILE       

How do I get this to use *LIBL.?

TIA

Darryl


------------------------------------------------------------------------------
The opinions expressed within this email represent those of the
individual and not necessarily those of Gullivers Travel Associates (GTA).

This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify 
postmaster@xxxxxxxxxxxxxxx

Should you wish to use email as a form of communication, GTA are unable to
guarantee the security of email content outside of our own computer systems.



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.