old question : same problem

Joe Boyle atla38 at dsl.pipex.com
Mon Jan 8 18:09:08 CST 2007


Would'nt they all have a different version number e.g fnam.ext;1, fnam.ext;2
fnam.ext;3 etc ( I seem to recall that ;0 refers to the most recent version)
if you then copy them all to another directory e.g.
Create/dir dirtimestamp, you could then do a copy fnam.ext;* [.dirtimestamp]
and rename each file including a time stamp, you could then set up a user
level logical and process each file in turn - put all of the above into a
.com file that resubmits itself every x minutes and Bob ( if only ) would
then be your uncle e.g. 'the man from U.N.C.L.E' :)).

-----Original Message-----
From: powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com
[mailto:powerh-l-bounces+atla38=dsl.pipex.com at lists.sowder.com] On Behalf Of
Etienne Rompré
Sent: 08 January 2007 20:20
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