old question : same problem

Ken Langendock Ken at Langendock.com
Mon Jan 8 14:35:35 CST 2007


Along time ago in a magazine far far away we found an article call CRON
for VAX in VaxProfessional Magazine.
I think this was 1987 if memory serves me correctly

We manually entered that program in and created a CRON process to do
just what you asked.
It would wake up every minute and check if anything existed in a
directory, if there was something it submitted a batch job with the file
name it found.
Sorry I do not have that utility around anymore, but somebody might have
it.

Ken


-----Original Message-----
From: powerh-l-bounces+ken.langendock=rogers.com at lists.sowder.com
[mailto:powerh-l-bounces+ken.langendock=rogers.com at lists.sowder.com] On
Behalf Of Etienne Rompré
Sent: January 8, 2007 3:20 PM
To: powerh-l at sowder.com
Subject: old question : same problem


Hi to all!

It might be related to Powerhouse or not but I give it a shot!
Tools availables
PH 8.4 VMS
Cobol on VMS
OpenVms 7.3
RMS file
flat Text file

The problem:
A client send one or more text file via ftp. 
The name will always be different. 
I can't process the file 2 time.
The FTP process can't rename the file to NATWRRN.TXT since there might 
be 2 files at the same time.

Question:
Is there a way in powerhouse or in VMS to know automaticaly when a file 
is written in a directory and be able to process that file by name?  Or 
start a COM that could rename the file automaticaly when the file is 
written and then start a QTP to import the file with a fixed name?

Thanks!

Etienne Rompré
Koala-Tech

-- 
= = = = = = = = = = = = = = = = = = = = = = = = = = = =
Mailing list: powerh-l at lists.sowder.com
Subscribe: "subscribe" in message body to
powerh-l-request at lists.sowder.com
Unsubscribe: "unsubscribe <password>" in message body to
powerh-l-request at lists.sowder.com
http://lists.sowder.com/mailman/listinfo/powerh-l
This list is closed, thus to post to the list you must be a subscriber.
Add 'site:lists.sowder.com powerh-l' to your search terms to search the
list archive at Google.




More information about the powerh-l mailing list