Kind of curious: When you used WRKWTR, did you change the default for the
writer parameter from *PRT to *ALL?

John McKee

Quoting Jerry Adams <Jerry@xxxxxxxxxxxxxxx>:

Here's one that I do not recall seeing before but, then, I usually don't go looking for trouble.

User called an said that she could not get anything to print on her emulated printer (attached to her PC).

I ran the WRKWTR command with *All.
The printer was *not* in the list.

So I ran WRKCFGSTS *Dev.
The printer was there, but with a status of *Varied Off.
So I varied it on and the status went to *Vary On Pending.
Ran the STRPRTWTR command. No messages other than "Submitted to job queue QSPL in QGPL." But went to the output queue QEZJOBLOG and found several entries for the printer, indicating that the command failed (i.e., the writer couldn't be started). Nothing really helpful as to "Why?".

I went to the user's office (fortunately just down the hall, but I need the exercise, anyway). My thought was that she simply had not started the printer emulation.
But she had. So I killed it and restarted it. Nada. Zilch.

Then went to her terminal session and noticed a 'MW' indicator. When I displayed her messages, there was one for a 'Change form to xxx on printer PK.' Did that and it's working now.

My (personal) problem is trying to understand why the printer did not show up in the WRKWTR list. I go there day in-day out to respond to forms change messages.
I just tested a couple of other printers, and sending a different forms type to them does not remove them from the WRKWTR list.

Now it just occurred to me that I did apply the 8057 Cume (V5R4) to the system this weekend. But I checked with three other users with identical set-ups, and none of them had an issue, except that they had a message about the printer being stopped so they started it. The user with the issue said she had a message about the printer being stopped, but replying to it didn't do any good. I cannot verify what responses she took to these and other messages before she called me, but I don't think that would have removed the printer from the WRKWTR list, but I'm just a silly programmer, not operations.

I hate printers but, personal animosity aside, how would a printer get removed from the WRKWTR list?

Jerry C. Adams
IBM System i Programmer/Analyst
B&W Wholesale
office: 615-995-7024
email: jerry@xxxxxxxxxxxxxxx

This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives

This thread ...


Return to Archive home page | Return to MIDRANGE.COM home page