To eliminate user calls directly to programmers/administrator, this example can be used to give other personnel (e.g. helpdesk) access to the printers. A basic user profile with no special authority needs to be created. In the user profile, the initial program can be linked to a CL (see below) to call the wrkwtr function. Now, all that's needed is a desktop link with graphical access to the AS/400.
PGM WRKWTR ENDPGM