In your December 1990 issue, in the BBS Offline column, there was an interchange between Mack Lundy and Ernie Malaga regarding the STRPRTWTR command. Mack Lundy's problem (allowing users to start a printer writer without giving them job control or spool control special authority) can be solved without the use of a special command or a CL program.
First of all, make sure that the object authority for your OUTQs is set up as *CHANGE for the user profile in question (the authority of *PUBLIC *CHANGE is sufficient for this).
Second, make sure that your OUTQs are defined as AUTCHK(*DTAAUT) and not AUTCHK(*OWNER). Use WRKOUTQD to check for that; to change each one, if necessary, use:
CHGOUTQ OUTQ(outqname) AUTCHK(*DTAAUT)
At this point, any user profile down to the level of *USER can use the STRPRTWTR command, unless that user profile is defined as LMTCPB(*YES). If so, one more step is required: use the CHGCMD command as follows to allow use of the STRPRTWTR command by limited-capability users:
CHGCMD CMD(STRPRTWTR) ALWLMTUSR(*YES)
At this point, any user profile can use the native STRPRTWTR command.
Frederick P. Clark Warren, New Jersey
Editor's note: The AUTCHK (Authority To Check) value of *DTAAUT is used to tell the system that it should check data authority. The requester must have *READ, *ADD, and *DELETE data authority to the output queue to pass this test.
LATEST COMMENTS
MC Press Online