Re: Called Module with File Access - where to Close



> I'm considering create a BOPEN and a BCLOSE module

Put a flag File-State PIC X VALUE SPACE in W-S. Test this on each entry
and open the file if this is not set. ie automatically open the file.
If the routine is CANCELed the file will be closed and the flag reset.

Usually I have a 'function' parameter that I pass to the file routines
and the 'X' function is to close the file and unset the file-state
flag.

.



Relevant Pages

  • Re: Called Module with File Access - where to Close
    ... This is the solution offered to allow for "dynamically sized linkage" are ... >> I'm considering create a BOPEN and a BCLOSE module ... > If the routine is CANCELed the file will be closed and the flag reset. ... > Usually I have a 'function' parameter that I pass to the file routines ...
    (comp.lang.cobol)
  • Re: remove zombie MFT entry
    ... File properties box under windows has no security and no fileinfo ... Runtime's NTFS Disk Explorer finds the MFT entry ok, ... Where is the "deleted" flag in the MFT structure? ...
    (microsoft.public.windows.file_system)
  • Re: remove zombie MFT entry
    ... File properties box under windows has no security and no fileinfo tabs. ... I'd like to know what properties of this MFT entry lead to this behaviour. ... Where is the "deleted" flag in the MFT structure? ...
    (microsoft.public.windows.file_system)
  • nftw(3) and FTW_D
    ... nftwfunction is a directory checking the value of flag. ... int flag, struct FTW *s), int depth, int flags); ... It calls fnon each directory entry, and flag is supposed to be FTW_D if the ... "People sometimes ask me if it is a sin in the Church of Emacs to use vi. ...
    (comp.unix.programmer)
  • Re: [discuss] f_ops flag to speed up compatible ioctls in linux kernel
    ... >> Once the infrastructure is there, drivers will be able to be ... You would need two new entry points: ... Compatible ioctls could just ignore the flag. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)