The direct decimal numeric value for the number of the first logical block to be transferred can be specified in the BLOCK operand of the FPAMACC macro.
This value is limited depending on the maximum size of a file (specified in the FPAMSRV macro).
Operation | Operands |
|
|
BLOCK
Specifies the number of the first logical FASTPAM block within the file to be transferred. The block size is determined with the BLKSIZE operand in the the OPEN function of the FPAMSRV macro. Only integer values are permitted.
With the form MF=L, only direct specification is permitted.
= number
Direct entry of a decimal numeric value for the number of the first logical block to be transferred. The value is limited to the maximum size of a file in 4 KB pages minus 1:
1 <=
number <=
8388606 for LARGE_FILE=*FORBIDDEN (see FPAMSRV macro)
1 <=
number <=
1073741823 for LARGE_FILE=*ALLOWED (see FPAMSRV macro)
= adr / (r)
Symbolic address of a 4-byte field containing the numeric value (binary) or the register which contains this address.
An additional return code displays information about the execution of the macro with regard to large files:
X'cc' | X'bb' | X'aaaa' | Explanation |
X'00' | X'40' | X'0145' | When a file was accessed in the mode SHARUPD=YES, it was determined that the file size exceeded 32 GB; exceeding 32 GB was not permitted for this file in OPEN. |