We help IT Professionals succeed at work.
Get Started

RPG III program will not execute inside a RPG IV program  (error message:  MCH3401)....

Last Modified: 2013-12-06
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.
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      
    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.

Open in new window

Watch Question
Expert for hire: IBM i, AIX, Linux, Windows, DB2, Performance, Security. EDI
This problem has been solved!
Unlock 1 Answer and 5 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE