- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: Moving forms from one VMS server to another VM...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 05:36 AM
06-13-2007 05:36 AM
I have tons of forms from one VMS server that I would like to migrate them over to another VMS server. I would like to know how I can do this?
Thank you in advance.
Jorge
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 06:12 AM
06-13-2007 06:12 AM
Re: Moving forms from one VMS server to another VMS server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 06:19 AM
06-13-2007 06:19 AM
Re: Moving forms from one VMS server to another VMS server
~ Many thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 08:19 AM
06-13-2007 08:19 AM
SolutionI have attached a DCL procedure that I got off of DSNlink many years ago. I believe it should work for you.
Remember, the procedure will only generate a procedure to replicate your form definitions. You will have to merge the form definitions and form numbers on the new system yourself. You will also have to move any device control libraries and/or the individual setup modules your forms require.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2007 11:36 AM
06-13-2007 11:36 AM
Re: Moving forms from one VMS server to another VMS server
This is a text library, you can extract the definitions as .txt using the LIB command,
then copy to the target system and reload again using LIB
You have to restart print symbionts or services for them to access new forms.
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 01:05 AM
06-14-2007 01:05 AM
Re: Moving forms from one VMS server to another VMS server
$ define/form name number /all_the_characteristics
a thousand times.
My only suggestion would be to show all your forms to a file and then use keyboard macros in your favorite editor to create a command procedure which will do the defining. The form displays are fairly uniform and a keyboard learn sequence on one, should be able to do the rest.
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 01:44 AM
06-14-2007 01:44 AM
Re: Moving forms from one VMS server to another VMS server
Form name Number Description
--------- ------ -----------
A 2 GREEN BAR
/LENGTH=66 /MARGIN=(BOTTOM=6) /STOCK=A /TRUNCATE /WIDTH=180
How I go about setting it up the old fashion manual way?
Thank you everyone -
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 01:59 AM
06-14-2007 01:59 AM
Re: Moving forms from one VMS server to another VMS server
$ help define /form ;-)
$ define/form A 2 /DESCRIPTION="GREEN BAR" /LENGTH=66 /MARGIN=(BOTTOM=6) /STOCK=A /TRUNCATE /WIDTH=180
Have a look at the DCL command procedure provided by Bill, looks like it will do all this for you ... I just tried it on a test system and it all looks correct. Redirect the output to a file and your done. Thanks Bill, this will come in handy!
And as Bill mentioned, don't forget to move all the libraries over. If you show your queues/full, the files referenced by /LIBRARY= should all be in SYS$LIBRARY by default unless otherwise noted.
Cheers,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 03:41 AM
06-14-2007 03:41 AM
Re: Moving forms from one VMS server to another VMS server
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 04:04 AM
06-14-2007 04:04 AM
Re: Moving forms from one VMS server to another VMS server
Run the command procedure Bill provided. It creates a command procedure which will do all the forms definitions. Either copy/paste the output into an empty file and call it whatever you like or execute Bill's procedure with /out=define_forms.com (or whatever you want to call it). Copy this command procedure to your new system and execute it. Done (with the exception of copying over your libraries).
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 07:46 AM
06-14-2007 07:46 AM
Re: Moving forms from one VMS server to another VMS server
%DCL-W-EXPSYN, invalid expression syntax - check operators and operands
%DCL-W-IVVERB, unrecognized command verb - check validity and spelling
\"freeze_context"\
Any ideas?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 08:02 AM
06-14-2007 08:02 AM
Re: Moving forms from one VMS server to another VMS server
Perhaps you made some sort of copy/paste error, or the paste wrapped a line when it shouldn't have. There are no lines that are wrapped in the original so look for lines in you new procedure that don't start with a $ sign.
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-14-2007 08:59 AM
06-14-2007 08:59 AM
Re: Moving forms from one VMS server to another VMS server
Sorry I haven't had time to follow this thread very closely today, I do have a real job with challenges of my own ;-).
Art is probably correct in his assumption that a line wrapped when you transferred the dcl. I tend to work in 132 column mode no matter what terminal or emulator I'm using. Actually, I rather dislike 80 column mode, even in dcl procedures.
Bill
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2007 03:39 PM
06-15-2007 03:39 PM
Re: Moving forms from one VMS server to another VMS server
Thanks guys for all your time.
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-16-2007 01:15 AM
06-16-2007 01:15 AM
Re: Moving forms from one VMS server to another VMS server
A few followup suggestions:
- if one finds a list file in a directory, it may be of historical interest, but I would never recommend that it be trusted as a true reflection of the current state
- on a related note, I always recommend that clients DO maintain a .COM file that creates all of their forms from scratch. In the rare event that it become necessary to recreate the queue files from scratch, such a file is a vital part of the process.
One important cultural strength of OpenVMS is that the culture is to create the command files, and then (frequently) run them at system startup. This practice forces a minimum level of documentation, and also ensures that it is possible to recreate system state in the event of a problem.
- Bob Gezelter, http://www.rlgsc.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 03:54 AM
06-18-2007 03:54 AM
Re: Moving forms from one VMS server to another VMS server
Thank you.
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 05:21 AM
06-18-2007 05:21 AM
Re: Moving forms from one VMS server to another VMS server
trying saving bills procedure instead
of cut and paste. I just did that and ftp'd
it to my alpha and it runs beautifully. (nice tool to have bill!)
Dean
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2007 08:35 AM
06-18-2007 08:35 AM
Re: Moving forms from one VMS server to another VMS server
Bill's procedure was one of four that generates DCL for queue characteristics, definitions, forms, and jobs.
I use a concatenation of all four to save the queue database.
cu,
Martin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 07:54 AM
06-20-2007 07:54 AM
Re: Moving forms from one VMS server to another VMS server
I am having a little trouble with the characters a bit bigger than I would like. I have managed to set the bottom=6, right=3, left=3 - The report prints just fine, but I wish the character more condensed or truncate a bit more.
Here's the info on the form type that I setup:
Form name Number Description
--------- ------ -----------
HP9W (stock=SIDEWAYS) 1255 Landscape HP9050 Acct
/LENGTH=66 /MARGIN=(BOTTOM=6,RIGHT=3) /SETUP=(HP9W) /STOCK=SIDEWAYS
/TRUNCATE /WIDTH=180
Where did I go wrong??
Thanks,
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 11:37 AM
06-20-2007 11:37 AM
Re: Moving forms from one VMS server to another VMS server
this is probably in sysdevctl.tlb
it will contain PCL code that is sent to the printer at the start of the print job
this may include page orientation, and symbol set, spacing and pitch
just change it to what you want, then you can use print /setup to test
Phil
see
http://h20000.www2.hp.com/bc/docs/support/SupportManual/bpl13205/bpl13205.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 12:48 PM
06-20-2007 12:48 PM
Re: Moving forms from one VMS server to another VMS server
STOP/QUEUE/RESET the new queue and then START it.
Should be good.
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 02:20 PM
06-20-2007 02:20 PM
Re: Moving forms from one VMS server to another VMS server
Here's the info on the print queue:
Printer queue HP9000_ACC, idle, on RAVEN::"HP9000_ACC:9100", mounted form A
/BASE_PRIORITY=4 /DEFAULT=(FLAG=ONE,FORM=DEFAULT,TRAILER) /LIBRARY=HP
Lowercase /OWNER=[SYSTEM] /PROCESSOR=TCPIP$TELNETSYM
/PROTECTION=(S:M,O:D,G:R,W:S) /SEPARATE=(RESET=(HP_RESET))
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 02:23 PM
06-20-2007 02:23 PM
Re: Moving forms from one VMS server to another VMS server
Thanks,
Jorge
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 05:41 PM
06-20-2007 05:41 PM
Re: Moving forms from one VMS server to another VMS server
you will have to read the pcl guide mentioned earlier for more details of what each line does
use LIB /EXTRACT to extract the module to a .txt file
use your favourite text editor to change it
use the LIB /REPLACE to replace the module
shutdown and startup telnetsym
Phil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-20-2007 05:55 PM
06-20-2007 05:55 PM
Re: Moving forms from one VMS server to another VMS server
>>>
How do I go about changing the PCL codes to the way that I want for this new form??
<<<
1. Extract the module from the library:
$ LIBRARY/EXTRACT=(HP9W)/OUTPUT=HP9W.TXT SYS$LIBRARY:HP.TLB
2. Edit HP9W.TXT. IMHO, EDT is better suited for such a task than TPU.
3. Put the module back into the library:
$ LIBRARY/REPLACE SYS$LIBRARY:HP.TLB HP9W.TXT
HTH,
Martin