| Previous | Contents | Index | 
The SYNCHRONIZED clause specifies elementary item alignment on word boundary offsets relative to a record's beginning. These offsets are related to the size and usage of the item being stored.
| Data Type | Boundary | 
|---|---|
| COMP (1 to 4 digits) | 2-byte | 
| COMP (5 to 9 digits) | 4-byte | 
| COMP (10 to 18 digits) | 8-byte | 
| COMP (19 to 31 digits) | 16-byte | 
| COMP-1 | 4-byte | 
| COMP-2 | 8-byte | 
| INDEX | 4-byte | 
| POINTER | 4-byte (OpenVMS) | 
| POINTER | 8-byte (Tru64 UNIX) | 
Section 5.2.3, Additional Alignment Rules for Record Allocation
The TYPE clause identifies the report group type and indicates when the Report Writer Control System (RWCS) is to process it.
control-head-name
names a control-name in the CONTROL clause.control-foot-name
names a control-name in the CONTROL clause.
The UNDERLINE clause specifies that each character of the field is underlined when it is displayed on the screen.
The UNDERLINE clause may be specified only for elementary screen items.
5.3.52 USAGE 
The USAGE clause specifies the internal format of a data item or screen item.
The default USAGE for a data item is DISPLAY. Therefore, you do not need to specify the USAGE clause for display numeric, alphabetic, and alphanumeric data items.  | 
  
| PICTURE  Clause  | 
    USAGE Clause | SIGN Clause | Allocated Storage  in Bytes  | 
    Standard  Data Type  | 
  
|---|---|---|---|---|
| 
PIC S9(n)
 [n <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | n | Right (trailing) overpunch | |
| 
PIC S9(n)
 [n <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | TRAILING | n | Right (trailing) overpunch | 
| 
PIC S9(n)
 [n <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | LEADING | n | Left (leading) overpunch | 
| 
PIC S9(n)
 [n <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | 
 TRAILING
       SEPARATE  | 
    n+1 | Right (trailing) separate | 
| 
PIC S9(n)
 [n <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | 
 LEADING
       SEPARATE  | 
    n+1 | Left (leading) separate | 
| 
PIC 9(n)
 [n <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | n | Unsigned numeric | |
| 
PIC 9(n)
       [n <= 4]  | 
    
 COMP
 COMP-5 (Alpha) COMP-X (Alpha)  | 
    2 | Word integer 1 | |
| 
PIC 9(n)
       [5 <= n <= 9]  | 
    
 COMP
 COMP-5 (Alpha) COMP-X (Alpha)  | 
    4 | Longword integer 1 | |
| 
PIC 9(n)
       [10 <= n <= 18]  | 
    
 COMP
 COMP-5 (Alpha) COMP-X (Alpha)  | 
    8 | Quadword integer 1 | |
| 
PIC 9(n)
       [19 <= n <= 31] (Alpha)  | 
    
 COMP
 COMP-5 COMP-X  | 
    16 | Octaword integer 1 (Alpha) | |
| 
PIC S9(n)
       [n <= 4]  | 
    
 COMP
 COMP-5 (Alpha) COMP-X (Alpha)  | 
    2 | Word integer | |
| 
PIC S9(n)
       [5 <= n <= 9]  | 
    
 COMP
 COMP-5 (Alpha) COMP-X (Alpha)  | 
    4 | Longword integer | |
| 
PIC S9(n)
       [10 <= n <= 18]  | 
    
 COMP
 COMP-5 (Alpha) COMP-X (Alpha)  | 
    8 | Quadword integer | |
| 
PIC S9(n)
       [19 <= n <= 31] (Alpha)  | 
    
 COMP
 COMP-5 COMP-X  | 
    16 | Octaword integer (Alpha) | |
| 
PIC X(n)
       [n <= 2] (Alpha)  | 
    
 COMP-5
       COMP-X  | 
    2 | Word integer 1 (Alpha) | |
| 
PIC X(n)
       [3 <= n <= 4] (Alpha)  | 
    
 COMP-5
       COMP-X  | 
    4 | Longword integer 1 (Alpha) | |
| 
PIC X(n)
       [5 <= n <= 8] (Alpha)  | 
    
 COMP-5
       COMP-X  | 
    8 | Quadword integer 1 (Alpha) | |
| Not applicable | INDEX | 4 | Longword integer | |
| Not applicable | POINTER | 4 | Longword integer (OpenVMS) | |
| POINTER | 8 | Quadword integer (Tru64 UNIX) | ||
| POINTER-64 (Alpha) | 8 | Quadword integer (OpenVMS Alpha) | ||
| Not applicable | BINARY-CHAR UNSIGNED (Alpha) | 2 | Word integer 1 (Alpha) | |
| Not applicable | BINARY-SHORT UNSIGNED (Alpha) | 2 | Word integer 1 (Alpha) | |
| Not applicable | BINARY-LONG UNSIGNED (Alpha) | 4 | Longword integer 1 (Alpha) | |
| Not applicable | BINARY-DOUBLE UNSIGNED (Alpha) | 8 | Quadword integer 1 (Alpha) | |
| Not applicable | 
 BINARY-CHAR SIGNED (Alpha)
       BINARY-CHAR (Alpha)  | 
    2 | Word integer (Alpha) | |
| Not applicable | 
 BINARY-SHORT SIGNED (Alpha)
       BINARY-SHORT (Alpha)  | 
    2 | Word integer (Alpha) | |
| Not applicable | 
 BINARY-LONG SIGNED (Alpha)
       BINARY-LONG (Alpha)  | 
    4 | Longword integer (Alpha) | |
| Not applicable | 
 BINARY-DOUBLE SIGNED (Alpha)
       BINARY-DOUBLE (Alpha)  | 
    8 | Quadword integer (Alpha) | |
| Not applicable | COMP-1 | 4 | 
F_floating
 S_format 2 (Alpha)  | 
  |
| Not applicable | COMP-2 | 8 | 
D_floating
 G_floating (Alpha) T_format 2 (Alpha)  | 
  |
| 
PIC 9(n)
 [n <= 31 (Alpha) or 18 (VAX)]  | 
    COMP-3 | 
(n+1)/2
       rounded up  | 
    Packed decimal 1 | |
| 
PIC S9(n)
 [n <= 31 (Alpha) or 18 (VAX)]  | 
    COMP-3 | 
(n+1)/2
       rounded up  | 
    Packed decimal | |
| 
PIC X(n)
       [n <= 268,435,455]  | 
    DISPLAY | n | 
       ASCII text  | 
  |
| 
PIC A(n)
       [n <= 268,435,455]  | 
    DISPLAY | n | 
       ASCII text  | 
  |
| PICTURE  Clause  | 
    USAGE Clause | SIGN Clause | Allocated Storage  in Bytes  | 
    Standard  Data Type  | 
  
|---|---|---|---|---|
| 
PIC S9(n)V9(s)
 [(n+s) <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | n+s | 
Right (trailing)
       overpunch  | 
  |
| 
PIC S9(n)V9(s)
 [(n+s) <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | TRAILING | n+s | 
Right (trailing)
       overpunch  | 
  
| 
PIC S9(n)V9(s)
 [(n+s) <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | LEADING | n+s | 
Left (leading)
       overpunch  | 
  
| 
PIC S9(n)V9(s)
 [(n+s) <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | 
 TRAILING
       SEPARATE  | 
    n+s+1 | 
Right (trailing)
       separate  | 
  
| 
PIC S9(n)V9(s)
 [(n+s) <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | 
 LEADING
       SEPARATE  | 
    n+s+1 | 
Left (leading)
       separate  | 
  
| 
PIC 9(n)V9(s)
 [(n+s) <= 31 (Alpha) or 18 (VAX)]  | 
    DISPLAY | n+s | Unsigned numeric | |
| 
PIC 9(n)V9(s)
       [(n+s) <= 4]  | 
    COMP | 2 | Word integer 1 | |
| 
PIC 9(n)V9(s)
       [5 <= (n+s) <= 9]  | 
    COMP | 4 | Longword integer 1 | |
| 
PIC 9(n)V9(s)
       [10 <= (n+s) <= 18]  | 
    COMP | 8 | Quadword integer 1 | |
| 
PIC 9(n)V9(s)
       [19<= (n+s) <= 31] (Alpha)  | 
    COMP | 16 | Octaword integer 1 (Alpha) | |
| 
PIC S9(n)V9(s)
       [(n+s) <= 4]  | 
    COMP | 2 | Word integer | |
| 
PIC S9(n)V9(s)
       [5 <= (n+s) <= 9]  | 
    COMP | 4 | Longword integer | |
| 
PIC S9(n)V9(s)
       [10 <= (n+s) <= 18]  | 
    COMP | 8 | Quadword integer | |
| 
PIC S9(n)V9(s)
       [19 <= (n+s) <= 31]  | 
    COMP | 16 | Octaword integer (Alpha) | |
| 
PIC 9(n)V9(s)
 [(n+s) <= 31 (Alpha) or 18 (VAX)]  | 
    COMP-3 | 
(n+s+1)/2
       rounded up  | 
    Packed decimal 1 | |
| 
PIC S9(n)V9(s)
 [(n+s) <= 31 (Alpha) or 18 (VAX)]  | 
    COMP-3 | 
(n+s+1)/2
       rounded up  | 
    Packed decimal | |
| Previous | Next | Contents | Index |