The file resources that the server 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 storage
in the server for the spooled data. Because the data is spooled, the device
need not 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 APPC, 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 operation
For display files and ICF files that do not use APPC/APPN
or intrasystem communications, the server 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.
- Starting a program on a remote server
Session resources that are needed
for APPC and APPN.