|
The second and third rslvsp() parameters are pointers to a 31-byte string. The following RPGLE uses OPTIONS(*STRING) to null the byte 31. This works okay. To search *LIBL, change paramter 3 to *NULL. H dftactgrp(*no) bnddir('QC2LE') D RSLVSP PR * extproc('rslvsp') procptr D 2A value D * value options( *string ) D * value options( *string ) D 5U 0 value D ObjName S 30A inz( 'SDBOOKCOS' ) D LibName S 30A inz( 'QUERYLIB' ) D Object@ S * procptr C eval Object@ = RSLVSP( X'1911' : C %addr( ObjName ) : C %addr( LibName ) : 0 ) +--- | This is the MI Programmers Mailing List! | To submit a new message, send your mail to MI400@midrange.com. | To subscribe to this list send email to MI400-SUB@midrange.com. | To unsubscribe from this list send email to MI400-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: dr2@cssas400.com +---
As an Amazon Associate we earn from qualifying purchases.
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.