ratel@ireq.hydro.qc.ca (Gilles Ratel 8720) (06/14/91)
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