Operating System - OpenVMS
1824484 Members
11542 Online
109671 Solutions
New Discussion юеВ

recover print queue forms

 
SOLVED
Go to solution
TMcB
Super Advisor

recover print queue forms

hello

does anyone know if the print queue form definitions are stored in a file.

We deleted print forms which we thought were unused - it turns out we need them.
I was hoping I would be able to recover a file to see how they were defined

Thanks
8 REPLIES 8
John Abbott_2
Esteemed Contributor
Solution

Re: recover print queue forms

They're held in the queue manager master file

Issue a

$ show queue/manager/full

Master file: xxx

I'd restore to another location a backup of this file. It's an index file with a couple of keys, but if you simply dump the file you should be able to work out what you've lost $ define/form wise.

Regards
John.
Don't do what Donny Dont does
Jan van den Ende
Honored Contributor

Re: recover print queue forms

TMcB,

John gave good advise,

_IF_ you have a "playing" system, then restore the file there. STOP/QUE/MANAGER and DEFINE/SYSTEM/EXEC QMAN$MASTER to the directory where you placed the restored file. START/QUE/MANAGER; and capture the output of SHOW QUE/FORM.
.. and reboot your play box :-) to regain consistency.

hth

Proost.

Have one on me.

jpe
Proost.
Don't rust yours pelled jacker to fine doll missed aches.
TMcB
Super Advisor

Re: recover print queue forms

thanks very much for the solutions.
Much appreciated
John Abbott_2
Esteemed Contributor

Re: recover print queue forms

Ahh yes, good idea Jan :-)

If you're able to, include the /FULL/OUTPUT=file qualifiers to the SHOW/QUEUE/FORM output and you'll have it all in clear text for a nice edit massage session ! much neater than dump/rec !

John.
Don't do what Donny Dont does
Wim Van den Wyngaert
Honored Contributor

Re: recover print queue forms

We use this enclosure to keep our queues and form setups in a readable file. Also used it for moving queues from one cluster to another.

It just generates a .com with all re-creation commands in it.

Wim
Wim
Jess Goodman
Esteemed Contributor

Re: recover print queue forms

I've attached my DISPLAY_FORMS.COM which can be used to save off all the current form definitions in a command file as the full set of DEFINE/FORM commands.

It is a companion procedure to my DISPLAY_JOBS.COM (latest version available at http://dcl.openvms.org) and uses some of the same techniques for handling quoted strings and too-long lines.

Wim, your command procedure looks like it could be very useful, but I think there was some formatting issues in the attachment, perhaps caused by WORD. A bunch of lines end with:
+ "├В┬е"

Also it runs a program called GET_SPEED.
I have one, but it's personal.
Wim Van den Wyngaert
Honored Contributor

Re: recover print queue forms

Jess,

Very good you tested it. The rabbit heads are used as separator and are normal (I opened it with notepad).

The get_speed is missing here too. I'm going to remove it. Just ignore it unless you still use terminal speeds (we don't). Or put 9600 in it.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: recover print queue forms

BTW : I only get + "├В┬е".

Wim
Wim