In the printer file, assume the following:
Also assume:
At job initiation, the following takes place:
The system looks at the OUTQ value in the current job description. The value *USRPRF, in the job description, tells the system to look at the OUTQ parameter in the user profile. The value in the OUTQ parameter of the user profile is *WRKSTN. This tells the system to look at the OUTQ parameter in the workstation description. In the workstation description, the OUTQ parameter is *DEV. In the job attributes, the OUTQ job attribute gets set to *DEV.The system looks at PRTDEV parameter in the job description. The value *USRPRF, in the job description, tells the system to look at the PRTDEV parameter in the user profile. The value *WRKSTN, in the user profile, tells the system to look at the PRTDEV parameter in the workstation description. The value *SYSVAL, in the workstation description, tells the system to look at the system value and use the value set for Default printer (QPRTDEV). The value in Default printer (QPRTDEV) is PRT01. PRT01 becomes the value for the PRTDEV job attribute.
At job run time the following takes place:
The system looks at the OUTQ value in the printer file. That value *JOB tells the system to use the OUTQ job attribute for job xxxxxx/GRP/QPRTJOB which is *DEV. This tells the system to look at the DEV attribute in the printer file, which is *JOB. The value, *JOB tells the system to look at the PRTDEV value in the job attributes. The value for the PRTDEV job attribute is PRT01.