Article View: comp.sys.dec
Article #4113How to watch open-write-close new files in specific dir. ?
From: Gilles Ratel 8720
Date: Thu, 13 Jun 1991 23:50
Date: Thu, 13 Jun 1991 23:50
48 lines
2150 bytes
2150 bytes
I run a program with submit command:
$ SUBMIT/NOPRINT/KEEP/QUEUE=ACQUEUE ACQ.COM
where ACQ.COM is:
| ...
| ...
| pid = F$GETJPI("","PID")
| ...
| RUN ACQ.EXE
| ...
| ...
ACQ.COM run ACQ.EXE but ACQ.EXE create multiple new files
at time=t1,t2...t3 (t"n" is unknown and not regular)
executable ACQ.EXE create a file, write on and close this new file
in directory [.acq_file]. The name of new file is unknown.
Questions: Can I with other program [FORTRAN,C,MACRO?]
========= 1) get the "name" of new file?
2) know "accessibility" of new file? (i.e. instant where
ACQ.EXE close this file)
3) is it possible with ACP?, RMS?
4) what is necessary privilege?
note: ACQ.EXE is not my program :-(
i.e. imposible use mailbox or event flag in ACQ.EXE
machine: VAX-VMS V.5.4-2
Thanks in advance,
------------------------------------------------------------------------------
Gilles Ratel | Institut de recherche d'Hydro-Quebec
ratelg@ireq.hydro.qc.ca | 1800, Montee Sainte-Julie, Varennes
tel.: +1 514-652-8720 | Quebec, Canada, J3X 1S1
------------------------------------------------------------------------------
nota:
Actually, I have find source code of "Hitchhiker's guide to vms"
episode 9. [get at CompuServe]
Excellent, but I have not necessary privilege...
(i.e. ckrmnl,world,readall)
I search again.
Thank you,
Gilles Ratel
Technical Details
Message-ID:
<7460@s3.ireq.hydro.qc.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!s3!ratelShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!s3!ratel From: ratel@ireq.hydro.qc.ca (Gilles Ratel 8720) Newsgroups: comp.sys.dec Subject: How to watch open-write-close new files in specific dir. ? Message-ID: <7460@s3.ireq.hydro.qc.ca> Date: 13 Jun 91 23:50:27 GMT Sender: usenet@s3.ireq.hydro.qc.ca Reply-To: ratel@ireq.hydro.qc.ca () Organization: IREQ, Hydro-Quebec, QC, Canada Lines: 48