BPXYTCCP — Map the terminal control code page structure

                                                      
            BPXYTCCP   ,                                                        
** BPXYTCCP: terminal control code page structure                               
**  Used By: TGC TSC TST                                                        
TCCP                 DSECT ,                                                    
TCCPFLAG             DS    0BL.32 Bit mask of __tccp_flags                      
TCCPFLAGB1           DS    XL1    byte 1                                        
TCCPFLAGB2           DS    XL1    byte 2                                        
TCCPFLAGB3           DS    XL1    byte 3                                        
TCCPFLAGB4           DS    XL1    byte 4                                        
TCCPFASTP            EQU   X'02'  If set, indicates that the           X        
                                  application can optionally           X        
                                  use iconv() services to              X        
                                  build the translation tables         X        
                                  once and perform all                 X        
                                  subsequent translation locally.      X        
                                  (_TCCP_FASTP)                                 
TCCPBINARY           EQU   X'01'  If set, indicates that binary        X        
                                  mode is desired.                     X        
                                  The code pages are ignored.          X        
                                  (_TCCP_BINARY)                                
TCCPSRCNAME          DS    CL32   Source code page name                X        
                                  The code page name is case sensitive X        
                                  and must be null (X'00') terminated. X        
                                  (__tccp_fromname)                             
TCCPTRGNAME          DS    CL32   Target code page name                X        
                                  The code page name is case sensitive X        
                                  and must be null (X'00') terminated. X        
                                  (__tccp_toname)                               
TCCPEND              EQU   *      End of TCCP                                   
*                                                                               
*   Constants                                                                   
*                                                                               
TCCP#LENGTH          EQU   *-TCCP Length of this structure                      
*                                                                               
*   CPCN capability constants                                                   
*                                                                               
TCCP#CPNAMESONLY     EQU   1     Code page names only (_CPCN_NAMES)             
TCCP#CPNAMESANDTBLS  EQU   2     Code page names and conversion tables X        
                                 (_CPCN_TABLES)                                 
TCCP#CPNAMEMAX       EQU  32     Maximum length of code page name      X        
                                 including terminating null            X        
                                 (_TCCP_CPNAMEMAX)                              
** BPXYTCCP End