![]() |
![]() HP OpenVMS Systemsask the wizard |
![]() |
The Question is: I4m working with "RMS" utilities. I4m trying to close and delete a file after to use, but not to be acquainted with the configuration of "FAB$W_IFI" parameter in the "sys$open" services. I would like to know te value o variable type in the FAB$W_IFI parameter. Thank4s a lots Egduin Camejo The Answer is : The FAB$W_IFI (Internal File Identifier) is an opaque word. On a call to sys$open, the FAB$W_IFI word is explicitly required to be set to zero. In FAB$L_FOP, use the FAB$M_DLT bit mask or the FAB$V_DLT bit vector to set the delete-on-close option prior to issuing the sys$close call on the file. Alternatively, close the file using sys$close and then call the C delete() routine or the run-time library lib$delete_file call.
|