Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* How to watch open-write-close new files in specific dir. ?
@ 1991-06-13 23:50 Gilles Ratel 8720
  0 siblings, 0 replies; only message in thread
From: Gilles Ratel 8720 @ 1991-06-13 23:50 UTC (permalink / 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1991-06-13 23:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-06-13 23:50 How to watch open-write-close new files in specific dir. ? Gilles Ratel 8720

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox