Empty Files
Empty files, that is, files
with no records, can be created in an SFS directory. (The directory
must be in a file pool managed by an SFS server at the z/VM® Release
1.1 level or higher.) They can be created using any of the following:
- CREATE FILE command
- ERASE command with the DATAONLY option
- FFILE and SSAVE subcommands of XEDIT
- DMSCRFIL CSL routine
- DMSOPEN CSL routine with the ALLOWEMPTY parameter
- DMSERASE CSL routine with the DATAONLY parameter
- DMSOPDBK CSL routine with the ALLOWEMPTY parameter.
Such empty files retain all aliases, SFS authorizations, and other file attributes they have been assigned.