Workstation versus user based routing

 

After you have determined which program controls the routing step, determine if routing is to be based on the workstation from which the job was started, or on the user (user profile) who signed on.

Routing based on the workstation is accomplished using the routing data specified in the job description associated with the workstation entry or profile for the device. Routing based on a user can be done using the initial program specified in the user profile or the job description in the user profile mapping to a routing entry other than QCMD.

 

Initial program uses

Initial programs may interact with workstations to get input values from a workstation user. When an initial program is called, it cannot receive parameter values. An initial program can be used in one of two ways:

An initial program can be written so that when a return is issued, it either does or does not return to QSYS/QCMD. If the initial program returns to QSYS/QCMD, the initial menu is displayed.

 

Parent topic:

Interactive jobs

Related concepts
How an interactive job starts Disconnecting interactive jobs I/O error for job requester device Interactive jobs and routing steps Programs that control the routing step When jobs end at the same time