×
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.
 
"RPG400-L" <rpg400-l-bounces@xxxxxxxxxxxx> wrote on 11/16/2017 08:29:20 
AM:
This always works in my programs:
RTVOBJD OBJ(*LIBL/XYZ) 
        OBJTYPE(*FILE) 
        RTNLIB(&RTNLIB)
        I agree, in CL I use that.  In RPG I use the following.
     D IBMAPI_RtvObjDesc...       
     D                 PR                  ExtPgm('QUSROBJD')         
     D  ObjDscInfo                         LikeDS(QUSD0400) 
Options(*Varsize)    
     D  ObjDscInfL                   10i 0 Const       
     D  ObjDscFmt                     8a   Const       
     D  ObjDscName                   20a   Const       
     D  ObjDscType                   10a   Const       
     D  ObjDscErrC                         LikeDS(ApiErrC)        
     D                                     Options(*Nopass: *Varsize)      
 
     D  ObjDscAspC                         LikeDS(QUSRASPC) 
Options(*Nopass)
Sincerely,
Dave Clark
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.