gtpo1m6wOperations

ZGAFI-Get File Pool Address by ID

Use this command to retrieve a record ID attribute table (RIAT) record. This function calls the GETFC macro to obtain a file address from the specified pool, sets the record to zero, and files the record to the designated address.

Requirements and Restrictions

Do not enter this command while the TPF system is in 1052 or UTIL state because the get file storage (GFS) facility is not active in these states.

Format




recid
is a 2-character alphanumeric record ID or a 4-digit hexadecimal record ID.

riat
is the RIAT type from 0-9.

P
corresponds to RIAT type 0.

O
corresponds to RIAT type 1.

Additional Information

Examples

In the following example, a character record ID is specified to retrieve a RIAT record.

+--------------------------------------------------------------------------------+
|User:   ZGAFI OM 1                                                              |
|                                                                                |
|System: GAFI0008I 09.06.50 GAFI C OM 1 FILE ADDRESS - 00000000001004BC          |
+--------------------------------------------------------------------------------+

In the following example, a hexadecimal record ID is specified to retrieve a RIAT record.

+--------------------------------------------------------------------------------+
|User:   ZGAFI 00F3 0                                                            |
|                                                                                |
|System: GAFI0008I 09.07.31 X 00F3 0 FILE ADDRESS-00000000001819C9               |
+--------------------------------------------------------------------------------+

Related Information

See TPF Database Reference for more information about file pool support.