gtpo1mekOperations

ZRTCU-Record Type Conversion Utility

Use this command to convert a fixed record ID to and from its SYSEQ character representation and its corresponding numeric value. You can also produce a list of extents for a record type.

Requirements and Restrictions

None.

Format




Cton
converts the character representation of the SYSEQ fixed record type to the corresponding numeric values.

Ntoc
converts the numeric value of the SYSEQ fixed record type to the corresponding character representation.

Extents
produces a list of MMCCHHR extent limits for the fixed record type.

string
is the 2- to 8-byte character representation of the SYSEQ fixed record that begins with a number sign (#).
Note:
You can substitute the ./. characters for the # if you are using a display device that does not have the # character on the keyboard.

decnbr
is a decimal number from 0-2 147 483 647 

Xhexnbr
is a hexadecimal number from X'00'-X'7FFFFFFFF'.

hexnbrX
is a hexadecimal number from X'00'-X'7FFFFFFFF'.

Additional Information

Online help information is available for this command. To display the help information, enter one of the following:

ZRTCU HELP

ZRTCU ?

Examples

The character representation of the #KEYPT SYSEQ fixed record type is converted to the corresponding numeric values in the following example.

+---------------------------------------------------------------------------------------------+
|User:   ZRTCU CTON #KEYPT                                                                    |
|                                                                                             |
|System: RTCU0001I 09.40.59 RECORD TYPE #KEYPT CONVERTS TO DECIMAL 60, HEX 0000003C           |
+---------------------------------------------------------------------------------------------+

The hexadecimal value of the SYSEQ fixed record type is converted back to its corresponding character representation in the following example.

+---------------------------------------------------------------------------------------------+
|User:   ZRTCU NTOC X3C                                                                       |
|                                                                                             |
|System: RTCU0003I 16.17.11 RECORD TYPE DECIMAL 60, HEX 0000003C CONVERTS TO #KEYPT           |
+---------------------------------------------------------------------------------------------+

A list of extent limits for the specified fixed record is displayed in the following example.

+--------------------------------------------------------------------------------+
|User:   ZRTCU EXTENTS 60                                                        |
|                                                                                |
|System: RTCU0005I 16.18.29 RECORD TYPE DECIMAL 60, HEX 0000003C SPANS 2 EXTENTS |
|        MMCCHHR 0047 002F 0000 01 TO MMCCHHR 0047 0030 000E 0A                  |
|        MMCCHHR 0048 002F 0000 01 TO MMCCHHR 0048 0030 000E 0A                  |
+--------------------------------------------------------------------------------+

Related Information

See TPF Database Reference for more information about file address formats.