Usage of PHDFM in batch
Michel Rioux
mrioux@iline.com
Thu, 25 Feb 1999 11:35:37 -0500
Bob...the blank line has to be between the filenames....i just put the phdfm
to illustrate the need for the blank line....this would work also
$phdfm
filename1
filename2
filename3
$exit
Now as long as the filname is followed by a blank line....this acts as
hitting the return key....
I've just tried it and it works fine for me.....i'm actually using this
extensively in my y2k project when converting from 6 digit date to 8 digits
you are still working on VMS right?
You've lost me when you were talking about indexes...this should have
nothing to do with the creation of a blank file.....yeah, the open statment
will put the file where it's saying it would be....
MiKe
-----Original Message-----
From: Robert J.M. Edis <Robert.Edis@creatcomp.com>
To: 'Michel Rioux' <mrioux@iline.com>
Date: Friday, February 26, 1999 11:21 AM
Subject: RE: Usage of PHDFM in batch
>Hi Mike
>
>If you look at the sample I sent, there IS a blank line at the end of the
>filelist. I shouldn't have to run PHDFM for EACH file though I might have
>to if nothing else works. I suspect the problem has something to do with
>the way the file indexes are declared. I.e. the file open is using the
>logical to put the .DAT file in the right place but the indexes are going
>somewhere else. That 'other' place maybe non-existent, the index file
>already exists or my process doesn't have the required privileges.
>
>Thanks anyway.
>
>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.
>
>
>
> -----Original Message-----
> From: Michel Rioux [SMTP:mrioux@iline.com]
> Sent: Thursday, February 25, 1999 10:52 AM
> To: Robert J.M. Edis
> Subject: Re: Usage of PHDFM in batch
>
> Hey bob!
>
> try putting a blank line after the filename
>
> ie
>
> $phdfm
> filename
>
> $phdfm
> filename
>
> $exit
>
> -----Original Message-----
> From: Robert J.M. Edis <Robert.Edis@creatcomp.com>
> To: 'powerh-l@lists.swau.edu' <powerh-l@lists.swau.edu>
> Date: Friday, February 26, 1999 10:22 AM
> 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.