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.
Change the shipped source as follows and compile.
The Printer Device will now be set to the printer defined in the user profile of the connecting user.