95 pts.
0
Q:
RUNRMTCMD Spooled file output
We are using RUNRMTCMD between two i boxes using IP. We are calling a CL program on the remote box. It connects and runs the CL program successfully. The CL invokes an RPG program that produces a printed report. The report is not going to the outq associated with the user profile on the remote system as I was hoping it would. Instead the spooled file output produced by an RPG program is transmitted back to the calling system and shows up back on the calling system in a QSYSPRT spooled file. I really would like the listing to stay on the remote (called) machine in the outq associated with the user profile that is being used on the remote system. How can that be done?

Thanks,
scott
ASKED: Jun 11 2009  6:16 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
95 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
I found my own answer at the following link (see page 3)

REXEC Manual

Everybody else may already know this but it was news to me...RUNRMTCMD does an OVRPRTF to change the USER DATA, then uses that information to retrieve and generated spool files and returns them to the calling system. By making the override of the printfile that we already had in place a SECURE overide we were able to get the generated reports to remain on the called system.
Last Answered: Jun 11 2009  8:11 PM GMT by Shamilton   95 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



0