From: ratel@ireq.hydro.qc.ca (Gilles Ratel 8720)
Subject: How to watch open-write-close new files in specific dir. ?
Date: 13 Jun 91 23:50:27 GMT [thread overview]
Message-ID: <7460@s3.ireq.hydro.qc.ca> (raw)
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
reply other threads:[~1991-06-13 23:50 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox