A FASTPAM I/O area pool is a virtually contiguous memory area from which appropriate I/O buffers can be retrieved when accessing files. The I/O area pool may be located in the tasklocal address space, in a data space and, for multi-tasking systems, in a common memory pool. In the latter case, however, the memory pool must begin with the same virtual address (ENAMP macro; operand FIXED=YES) for each task.
Attributes
A FASTPAM I/O area pool is defined by the following fixed attributes:
name
scope
address
length
A FASTPAM I/O area pool is uniquely identified by its name and scope. Like the FASTPAM environment, an I/O area pool may be used for any number of files by any number of tasks which lie in the scope of the I/O area pool. The scope of an I/O area pool is determined by its address:
If the address lies in the task-local address space, the I/O area pool is valid for that task only, i.e. no other task may join the I/O area pool even if it has the same parameters.
If the address is in a common memory pool, the scope defined by the area specified in the SCOPE operand of the ENAMP macro (ENAble Memory Pool) is assumed.
If the address is located in a data space, the scope that was defined by the SCOPE operand when creating the data space is assumed.