IBM Support

Preventing Remote Writers from Starting Automatically after an IPL

Troubleshooting


Problem

This document discusses how to prevent remote writers from being started automatically after an IPL when using Remote Output Queues (RMTOUTQs) to print from the IBM System i products to LAN attached printers.

Resolving The Problem

This document discusses how to prevent remote writers from being started automatically after an IPL when using Remote Output Queues (RMTOUTQs) to print from the IBM System i products to LAN attached printers.

This document was last updated on 18 April 2014.





Use one of the following options to prevent remote writers from starting automatically after an IPL.

Option 1: If some remote writers should be started automatically after an IPL; however, other remote writers should not be started automatically, then do the following:
1.Use the End Writer (ENDWTR) command to end the writer for each RMTOUTQ that should not be started automatically, for example:

ENDWTR WTR(writer-name)

Note: An alternative is to use the Work with Writers (WRKWTR) command with the WTR (Writer) parameter set to *ALL (in other words, type WRKWTR WTR(*ALL)), then select Option 4 (Delete) next to the RMT writer for each RMTOUTQ that should not be started automatically.
2.Use the Change Output Queue (CHGOUTQ) command on each RMTOUTQ that should not be started automatically, and change the Writers to autostart (AUTOSTRWTR) parameter to *NONE, for example:

CHGOUTQ OUTQ(rmtoutq-name) AUTOSTRWTR(*NONE)
3.Repeat Steps 1 and 2 until all of the Remote Output Queues (RMTOUTQs) that should not be started automatically have been changed to set the AUTOSTRWTR parameter to *NONE.

Option 2: If no remote writers should be started automatically after an IPL, do the following:

1.Use the following Remove Autostart Job Entry (RMVAJE) command to remove the QSTRRMTWTR autostart job entry from the QSPL subsystem description:

RMVAJE SBSD(QSPL) JOB(QSTRRMTWTR)

Press the Enter key.
2.Verify that the source code for the system startup program does not contain the Start Remote Writer (STRRMTWTR) command, such as STRRMTWTR WTR(*ALL). Do the following:
a.Use the following Display System Value (DSPSYSVAL) command to determine the name of the system startup program, which is specified in the QSTRUPPGM (Startup program) system value:

DSPSYSVAL SYSVAL(QSTRUPPGM)

Press the Enter key.
b.Use the Display Object Description (DSPOBJD) command to display the service-related attributes of the system startup program, which shows the name of the source physical file and the member that contains the source code for the startup program, for example:

DSPOBJD OBJ(library-name/startup-program-name) OBJTYPE(*PGM)
        DETAIL(*SERVICE)

Press the Enter key.
c.After the Source file, Library, and Member name have been identified, use the Start Source Entry Utility (STRSEU) command to display the system startup program source code, for example:

STRSEU SRCFILE(library-name/source-file-name) SRCMBR(member-name)
       OPTION(5)

Press the Enter key.
d.Browse or search the system startup program source code for use of the Start Remote Writer (STRRMTWTR) command. If this command is used, then the source code must be changed to remove or to comment out the STRRMTWTR command. This can be done using the Start Source Entry Utility (STRSEU) command, for example:

STRSEU SRCFILE(library-name/source-file-name) SRCMBR(member-name)
       OPTION(2)

Press the Enter key.
e.If the system startup program source code has been changed to remove or comment out the STRRMTWTR command, then the system startup program must be recompiled using the Create CL Program (CRTCLPGM) command, for example:

CRTCLPGM PGM(library-name/startup-program-name)
         SRCFILE(library-name/source-file-name) SRCMBR(member-name)

Press the Enter key.
Notes:
1.For more information on changing the system startup program, refer to documents New, New, and New.
2.The system-supplied QSTRUP program and the system-supplied system startup program source code, which is retrieved using the RTVCLSRC command, use the following Call Program (CALL) command to start the writers:

CALL PGM(QSYS/QWCSWTRS)

The QWCSWTRS program attempts to start any printer writer for a printer device description that is in VARIED ON status, but it will not attempt to start any remote writers.
3.After either option has been taken, the only way to get the affected writers to start is to use the Start Remote Writer (STRRMTWTR) command.

To start a specific remote writer, type the following:

STRRMTWTR WTR(writer-name)

To start a remote writer for every output queue that is configured as a Remote Output Queue (RMTOUTQ), type the following:

STRRMTWTR WTR(*ALL)


References

For more information, you should refer to the following documents:

N1019476: Changing the IPL Start-Up Program - V5R3M0 and Above
N1010213: Solution to Printer Writers Not Starting at IPL
N1018787: Solution to Remote Writers Not Starting at IPL
N1019691: Not All Writers are Started during the IPL

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"6.1.0"}]

Historical Number

671057473

Document Information

Modified date:
18 December 2019

UID

nas8N1010373