QtmhWrStout

80 pts.
Tags:
AS/400 HTTP
IBM iSeries
iSeries REST
I can't seem to get this to work using fully/totally free RPG so resorted to RPG free IV: Here is the code -  https://ibmrestapis.blogspot.com/2019/08/qtmhwrstout.html
Message ID . . . . . . : MCH3401 Severity . . . . . . . : 40 Message type . . . . . : Diagnostic Date sent . . . . . . : 22/08/19 Time sent . . . . . . : 12:52:38Message . . . . : Cannot resolve to object QtmhWrStou. Type and Subtype X'0201' 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 QtmhWrStou, type and subtype X'0201', 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. The object types for some common type or subtype codes follow: -- 0190-Access group, 0201-Program, 0401-Library, -- 0701-Journal receiver, 0801-User profile, 0901-Journal, -- 0B90-Data space, 0C01-Directory, 0C90-Data space index, 005200 DCL-PR QtmhWrStout EXTPGM('QtmhWrStout'); ======> aaaaaaaaaaaaa *RNF0646 10 a 005200 Library or object name exceeds 10 characters. 005300 DTAVAR VARCHAR(200000) CONST; 005400 DTAVARLEN INT(10) CONST; 005500 ERRORCODE VARCHAR(8000); 005600 END-PR;
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question: 3  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.
  • ToddN2000
    You might be better off talking to your system admin. There may be issues with the security or profile you are using. You may not have a fully defined HTTP environment setup on your i-Series..  Is this your first attempt at coding this way or have others done it successfully? 

    134,855 pointsBadges:
    report
  • Splat
    Is it QtmhWrStou or QtmhWrStout?
    12,915 pointsBadges:
    report
  • TheRealRaven
    It looks like you're trying to call the API as a program rather than as a procedure.


    36,095 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: