HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Move files with a queue

 
SOLVED
Go to solution

Move files with a queue

Does anyone know if it is possible to set up a queue that would copy files to a remote location (disk) rather than send them to a printer? If it is possible, are there any examples out there to look at?
10 REPLIES
Jim_McKinney
Honored Contributor
Solution

Re: Move files with a queue

You could either create a custom print symbiont (MAILSYM might be a good example) or perhaps use John Osudar's EXECSYMB. Each can be found at http://vms.process.com/ftp/vms-freeware/fileserv/ .
labadie_1
Honored Contributor

Re: Move files with a queue

On Dsn its (now dead) there was a command procedure doing decnet copy from one node to another using a batch queue, with submit/remote. The same procedure was acting as server on a side, as client on another side. I have been unable to find it on askq.compaq.com :-(

may be I have it somewhere, I will dig in my archives.
Wim Van den Wyngaert
Honored Contributor

Re: Move files with a queue

If you don't like installing extra stuff :

Create a stopped queue. Let them print stuff and use a (permanently running) dcl procedure to extract the file name of the file to be printed and copy it to the remote node. Then delete the entry.

Should be possible in about 20 lines of dcl.

Wim
Wim
Ian Miller.
Honored Contributor

Re: Move files with a queue

Whats the purpose behind the queueing?
____________________
Purely Personal Opinion
Phillip Thayer
Esteemed Contributor

Re: Move files with a queue

If all you want is to move files from one node to another when they are "ready" then why not create a holding directory and use a DCL procedure that runs on the system as a detached process to look at the holding directory and copy the files then delete them from the holding dorectory.

Phil
Once it's in production it's all bugs after that.
Ian Miller.
Honored Contributor

Re: Move files with a queue

or (more wild speculation :-) you can use FTSV/FTSO to delay the sending.
____________________
Purely Personal Opinion
Jiri_5
Frequent Advisor

Re: Move files with a queue

we use DQS (DEC Distributed Queuing Service for OpenVMS AXP) for this.
Wim Van den Wyngaert
Honored Contributor

Re: Move files with a queue

Here is something you can use directly.

Wim
Wim
Verne Britton
Regular Advisor

Re: Move files with a queue

I too read about EXECSYMB but have never actually tried it (does sound very good).

I had a need to capture text output originally sent to a printer, and modified a program in C from someone else to do this (within the Multinet TCP/IP stack). We needed to capture LPD output from a remote system rather than just printing it locally.

My version is called DRAIN and is on the v7 Freeware distribution and also at http://vaxa.wvnet.edu/vmswww/drain.html

Verne

Re: Move files with a queue

Thank you all. I will most likely go with a DCL script for this. This seems to be the easiest route.