Archive for November 10, 2014

How to Set the Printer Device in a CA Plex server job from the IBM i User Profile

Lorenz Alder, Senior Consultant / Software Architect

It is common to define the Printer Device for an IBM i user on his User Profile. When the user runs a CA Plex client that starts a job on the IBM i we want to make sure that printer output from that job is sent to the Printer Device stated in the user profile. We can use the YOBCHGENVX program shipped in the CA Plex runtime library (PLEX710) to change the jobs started by the CA Plex dispatcher.

plex1

Change the shipped source as follows and compile.

plex2

The Printer Device will now be set to the printer defined in the user profile of the connecting user.

 
 
© 2013 CM First Group - All rights reserved