Usage of PHDFM in batch

Robert J.M. Edis Robert.Edis@creatcomp.com
Fri, 26 Feb 1999 10:28:04 -0500


Thanks for the reply Allison

All the files use a VMS logical as the open name.  This behaves as expected
on virtually all the files except 1 which refuses to translate the logical!
All the logicals have been redefined at the process level to point to a
clean build area.  Existing files are purged from this area first before
trying to recreate them in batch.  It could be that the indexes are pointing
somewhere else.  I check on that.

Blue



	-----Original Message-----
	From:	Hamilton, Allison [SMTP:Allison.Hamilton@Cognos.COM]
	Sent:	Friday, February 26, 1999 10:26 AM
	To:	'powerh-l@lists.swau.edu'; 'Robert J.M. Edis'
	Subject:	RE: Usage of PHDFM in batch

	Do the files you are trying to create already exist?  If so, then
you will
	get the confirmation prompt when trying to create the file - if you
don't
	say yes, it doesn't create the file.  That could be why some get
created and
	some don't.  Perhaps if you were to create all the files in an empty
area to
	ensure that they don't already exist (repointing a logical(s) to
that area
	if included in your PHD for the file open name) then it would work
better???
	Allison Hamilton

	> ----------
	> From: 	Robert J.M. Edis[SMTP:Robert.Edis@creatcomp.com]
	> Sent: 	Friday, February 26, 1999 10:03 AM
	> To: 	'powerh-l@lists.swau.edu'
	> Subject: 	Usage of PHDFM in batch
	> 
	> G'day all
	> 
	> I am trying to construct a batch process to re/create all the RMS
files in
	> a
	> PHD (Alpha, OVMS 7.1, PH7.10G1).  I have tried the following
methods but
	> none seem to be reliable.
	> 
	> 1.	$!
	> $PHDFM filename1
	> $PHDFM filename2
	> $etc
	> $exit
	> 
	> 2.	$!
	> $PHDFM
	> filename1
	> filename2
	> etc
	> 
	> $!
	> $exit
	> 
	> 3.	$def qkin create_files.com !script built from using a QKECHO
define
	> and manually CREATing a couple of files.
	> $POW
	> $deass qkin
	> $exit
	> 
	> In the first case I couldn't pass the filename as a parameter to
PHDFM.
	> In
	> the second, some files get created but then PHDFM ignores a bunch,
builds
	> some more and exits on the blank line.  In the third, sometimes
the input
	> stream wants a <Return> and sometimes it doesn't causing some
'unknown
	> entry' type messages.
	> 
	> Has anybody had better results?  What am I doing wrong?  There are
over
	> 400
	> file creates in all.
	> 
	> TIA
	> 
	> 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.
	> 
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
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.