File resources that must be allocated

 

The file resources that the system must allocate depend on the type of file and the operation.

File resources consist of the following types:

Open

  • For printer and diskette files that are spooled (SPOOL(*YES)), the file resources include the file description, the specified output queue, and the storage on the system for the spooled data. Because the data is spooled, the device does not need to be available.

  • For database files, the file resources consist of the entire file; this includes the file, member, data, and the associated access path.

  • For printer and diskette files that are not spooled (SPOOL(*NO)) as well as for tape files, display files, and some ICF files, the file resources include the file description and the device. For ICF files that use Advanced Program-to-Program Communication (APPC), Advanced Peer-to-Peer Networking® (APPN), or intrasystem communications, the file resources include the file description and the session resources that are associated with the device.

  • For save files, the file resources consist of the entire file, including the file and data.

  • For DDM files, the file resources include the file description and the session resources that are associated with the device.

Acquire

For display files and ICF files that do not use APPC, APPN, or intrasystem communications, the system allocates the device as a resource. For ICF files that use APPC, APPN, or intrasystem communications, resources include the session resources that are associated with the device.

Start a program on a remote system

Session resources that are needed for APPC and APPN.

 

Parent topic:

File resources allocation