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



Hi,

I try to resolve a ptr on ifs.
I try with rslvsp but without library name.
So i try with _RSLVSP2 on this :

 HBndDir('QC2LE')

 DResolve_Ptr      PR                  EXTPROC('_RSLVSP2')
 D Ptr                                 Like(SysPtr)
 D Template                            Like(RslvTemplt) Const

 DRslvTemplt       DS
 D Gen_Mat_Id                    32A
 D  TypeSubtyp                    2A   OVERLAY(Gen_Mat_Id:1)
 D  Object                       30A   OVERLAY(Gen_Mat_Id:3)
 D Req_Auth                       2A   INZ(X'0000')

 DSysPtr           S               *   Procptr
 DObjet2           C                   '/home/sl/tnicon.jpg'
 DType_Hex         S              2A   Inz(X'1E01')
  /Free
    TypeSubTyp = Type_Hex;
    Object     = Objet2;
    Resolve_Ptr(Sysptr:RslvTemplt);
    Return;
  Begsr *Pssr;
   Dump(A);
  Endsr '*CANCL';
 /End-Free

And i get : MCH3401

 Message . . . . :   Cannot resolve to object /home/sl/tnicon.jpg. Type and
   Subtype X'1E01' Authority X'0000'.
 Cause . . . . . :   Either a system pointer or a data pointer can not be
   resolved.
     For a system pointer, it can not be resolved to object
   /home/sl/tnicon.jpg, type and subtype X'1E01', authorization X'0000',
   because either the named object was not in any context referred to or the
   correct object was located but the user profile did not have the required
   authority.

Is it a wrong _RSLVSPx ?

Autority is ok.
and the file is on place.

Any ideas ?

Thanks


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.