Delete AS/400 printer?

25 pts.
Tags:
AS/400
AS/400 printers
Printing AS/400 performance
I created a printer (not a remote outq) but need to delete it. No jobs are in the outq. Deleted the writer. Varied OFF the printer.  Can't delete the outq or the printer itself.

I followed my hand-me-down list of creation steps and they worked, but I have no instructions for deleting it.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Make sure there are no files in the outq, and that the printer writer is ended…. Try the delete operation, when you get an error such as “Can’t delete …” at the bottom of the screen, F1 that message. It will probably tell you why it can’t.

======================================================================The device needs to be varied off before it can be deleted. Check its status.

Hope this helps,
Bill Poulin

Discuss This Question: 5  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • WilsonAlano
    Do you have any error? Can you post it?
    2,485 pointsBadges:
    report
  • TomLiotta
    Have you tried the DLTDEVD command? Tom
    125,585 pointsBadges:
    report
  • GM2010
    Printer is now started and has an active writer and outq. In what order do I turn things down? Is there a step I'm missing? When I enter DLTDEV I see Confirm Delete of Output Queues. I see Opt = 4; Queue = PRTC2; Library = QUSRSYS; Files = 0; Writer = PRTC2; Status = RLS. Does DELDEVD wipe them all out with one command?
    25 pointsBadges:
    report
  • TomLiotta
    Does DELDEVD wipe them all out with one command? The system won't let you delete devices that are in use. So, for printers for example, you do need to make sure that there are no writers trying to send spooled files to them. One way to do that is to see if you can vary the device off. (The system also won't let you vary off a device that's in use.) For you, the simplest entry point might be the WRKDEVD command. Assume that your printer device is named MYPRTDEV. You could enter the command something like this:
    == >  WRKDEVD  MYPRT*
    That would bring up a list of every device that had a name beginning with the letters "MYPRT". You don't need to use a generic form of the name. If you use the exact name, the list will have only one device in it. The list should be pretty short either way. Once you have the list, there are a number of things you can do. For example, you might press <F21> to change your "assistance level". For this, I usually prefer the Intermediate level. From there, you could press <F14> to see the Status of all of the listed devices. That shows if anything is actively using the device or not. If it's in use, you can access the writer and end it. If it's not in use, you can see if it's varied on. If it's varied on, you can vary it off. When you're done with the Status screen, you can press <Enter> and drop back out to the list of devices again. If there is no writer and the device is varied off, you can delete it right there. Any associated output queue would also be deleted automatically unless there are spooled files on that output queue. Of course, you also need appropriate authority for all of the actions. Tom
    125,585 pointsBadges:
    report
  • GM2010
    Thanks, Tom. I don't know why it didn't work originally. I had admin authority, the queue was empty, the writer was gone and device was varied off. Today it worked! I'm new to the IKE and am not sure how to end this, but the problem is solved. Thanks to everyone who replied.
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following