Help/Systems SEQUEL Software PowerTech Skybot Software
Help/Systems
The World's Leader in IBM iSeries Software Solutions

user and password

Hello,

I am sending differentes jobs to another computer using RUNRMTCMD command.

In that command it is typed user and password for the computer where the command is sent.
The problem is that everytime the user or password changes I have to modify all the jobs.

If it possible to have a RESERVED COMMAND VARIABLE like @@USER and @@PASSWORD and get tha information from another file using a program?

If it is possible I will be able to call the RUNRMTCMD like this ?:
RUNRMTCMD CMD('SBMJOB CMD(CALL PGM(P.....
... RMTLOCNAME(AS400) RMTUSER(@@USER) RMTPWD(@@PASWWORD)

Or there is another way to handle user and password?

Thanks,
Santiago

Login to post new content in forum or to comment on an existing forum post.