Try2BeBetter
asked on
RPG III program will not execute inside a RPG IV program (error message: MCH3401)....
I am trying to call a rpg III program and it is failing. The parent program is RPG IV and I am running "Turnover" on the iSeries v5r4. "dsr596dbe" is the name of the RPG III program.
The things I have tried: 1. Made sure that my library is in the library list. 2. Switched from lower to upper case with the rpg call.
The things I have tried: 1. Made sure that my library is in the library list. 2. Switched from lower to upper case with the rpg call.
c call 'dsr596dbe'
c parm #bdte
c parm #edte
c parm cus
c parm #tdbe
c parm #rcst 1
c parm #cdbei 3
c parm #cdbeo 3
Message ID . . . . . . : MCH3401 Severity . . . . . . . : 40
Message type . . . . . : Diagnostic
Date sent . . . . . . : 06/15/10 Time sent . . . . . . : 09:21:19
Message . . . . : Cannot resolve to object dsr596dbe. 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 dsr596dbe, 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.
ASKER
I have tried it both ways upper and lower case.
ASKER
FOUND SOLUTION:
The program "Turnover" removes your new manual entries of libraries from the "Library List" (WRKLIBPDM) when you exit "Turnover". Therefore make sure your sysadmin of "Turnover" has the libraries that you need permanently in the listing.
The program "Turnover" removes your new manual entries of libraries from the "Library List" (WRKLIBPDM) when you exit "Turnover". Therefore make sure your sysadmin of "Turnover" has the libraries that you need permanently in the listing.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Glad you figured it out!
- Gary
- Gary
- Gary Patterson