HP 3000 Manuals

Column 8 C, P, U, or V [ HP RPG/XL Utilities-Part 1 XSORT ] MPE/iX 5.0 Documentation


HP RPG/XL Utilities-Part 1 XSORT

Column 8 
C, P, U, or V 

Column 8 entries tell XSORT what type of data is to be used in the work
records.

-----------------------------------------------------------------------------------------------
|                   |                                    |                                    |
|  Column 8 Entry   |           Data Type Used           |        Maximum Field Length        |
|                   |                                    |                                    |
-----------------------------------------------------------------------------------------------
|                   |                                    |                                    |
|         C         | Character equals one byte (8 bits) | 256 characters                     |
|                   | of data.                           |                                    |
|                   |                                    |                                    |
-----------------------------------------------------------------------------------------------
|                   |                                    |                                    |
|         P         | Packed decimal data.               | 14 bytes (27 packed digits and     |
|                   |                                    | sign)                              |
|                   |                                    |                                    |
-----------------------------------------------------------------------------------------------
|                   |                                    |                                    |
|         U         | Unpacked decimal data.             | 28 characters (unpacked digits)    |
|                   |                                    |                                    |
-----------------------------------------------------------------------------------------------
|                   |                                    |                                    |
|         V         | Force a data character into the    | 1 character                        |
|                   | record.                            |                                    |
|                   |                                    |                                    |
-----------------------------------------------------------------------------------------------

You can force characters into your data field by placing a V in column 8
and specifying the character you want forced into that position in column
18.  The character will then be placed in the next available data field
position of the work record.


NOTE Column 8 entries in the Field Description Specifications may seem similar to the column 8 entries you entered as Record Type descriptions. They should not be confused. Column 8 of the Record Type specifications helps select the records you wish to sort. Column 8 of the Field Description tells how you want data used in sorting and outputting your work records.


MPE/iX 5.0 Documentation