Usage of PHDFM in batch
Robert J.M. Edis
Robert.Edis@creatcomp.com
Fri, 26 Feb 1999 12:30:11 -0500
My thanks to all those who responded to my questions. I have a solution
that works, at least for the most part ;-). Here is an extract from the DCL
script:
$ set ver
$ @sys$login:set_test_logicals.com
$ write sys$output " "
$ def sys$output device:[workdir]create_files.log
$ def sys$error sys$output
$ set def device:[datadir]
$ write sys$output "Deleting old files now ..."
$ write sys$output " "
$ del/nolog/noconfirm *.*;*
$ write sys$output "Now starting PHDFM creates ..."
$ write sys$output " "
$ set noon
$ phdfm create filename1
$ phdfm create filename2
$ ...
$ phdfm create filename425
$!
$ set on
$ write sys$output " "
$ write sys$output "File create completed; new list follows:"
$ write sys$output " "
$ dir
$ write sys$output " "
$ write sys$output "File create process completed; end of run."
$ write sys$output " "
$ deass sys$error
$ deass sys$output
$ set def device:[workdir]
$ set nover
$ exit
Two files (out of 425) still bombed though. It has something to do with the
way the open name logicals have been defined. These I can do manually I
guess as when in interactive mode the logicals work fine.
Blue
PowerHouse consultant
Rhode Island, USA
Disclaimer:
The opinions and ideas expressed in this message are my own and have no
relationship to my current employer, Initial Technical Staffing, its client
CCI, or any of CCI's clients.
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.