Topic
  • 1 reply
  • Latest Post - ‏2014-05-05T19:06:48Z by dan_darnell
giocot
giocot
164 Posts

Pinned topic setRemoteUser : Password is not set.

‏2014-05-05T17:52:30Z |

Hi

i have this service that call an RPG program; when it run i receive

EGL0150E is occurred an error in the call to the program callrpg. Error: EGL0153E Impossibile to establish a connection. Error: com.ibm.as400.access.AS400SecurityException: Password is not set. EGL0002I The error is occurred in callrpg during the elaboration of the function func_rpg. EGL0002I L' error is occurred in callrpg during the elaboration of the function func_rpg

I don't understand where i'm wrong; in my service i have:

package services;
// service
service callrpg 
    // Function Declarations
    function func_rpg(par string in) 
         SysLib.setRemoteUser("MYUSER", "MYPSW");
         parm char(10) = par;
         call "callrpg" (parm);
        SysLib.writeStdout(parm);
    end

 

Can some one help me to find where i'm wrong ?

thanks in advance

  • dan_darnell
    dan_darnell
    973 Posts

    Re: setRemoteUser : Password is not set.

    ‏2014-05-05T19:06:48Z  

    See suggestions in your other, related thread.

    Dan