BPXYSTAT — Map the response structure for stat

                                                      
            BPXYSTAT   ,                                                        
** BPXYSTAT: stat system call structure                                         
**  Used By: FST LST STA                                                        
STAT                 DSECT ,                                                    
ST_BEGIN             DS    0D                                                   
*                                                                               
ST_EYE               DC    C'STAT'  Eye catcher                                 
ST_LENGTH            DC    AL2(STAT#LENGTH)                            X        
                                  Length of this structure                      
ST_VERSION           DC    AL2(ST#VER)                                 X        
                                  Version of this structure                     
ST_MODE              DS    F      File Mode, mapped by BPXYMODE                 
ST_INO               DS    F      File Serial Number                            
ST_DEV               DS    F      Device ID of the file                         
ST_NLINK             DS    F      Number of links                               
ST_UID               DS    F      User ID of the owner of the file              
ST_GID               DS    F      Group ID of the Group of the file             
ST_SIZE              DS    0D     File Size in bytes, for regular               
*                                 files.  Unspecified, for others               
ST_SIZE_H            DS    F      First word of size                            
ST_SIZE_L            DS    F      Second word of size                           
ST_ATIME             DS    F      Time of last access                           
ST_MTIME             DS    F      Time of last data modification                
ST_CTIME             DS    F      Time of last file status change               
*                                 Time is in seconds since                      
*                                 00:00:00 GMT, Jan. 1, 1970                    
ST_RDEV              DS    0F     Device Information                            
ST_MAJORNUMBER       DS    H      Major number for this file, if it             
*                                    is a character special file.               
ST_MINORNUMBER       DS    H      Minor number for this file, if it             
*                                    is a character special file.               
ST_AUDITORAUDIT      DS    F      Area for auditor audit info                   
ST_USERAUDIT         DS    F      Area for user audit info                      
ST_BLKSIZE           DS    F      File Block size                               
ST_CREATETIME        DS    F      File Creation Time                            
ST_AUDITID           DS    4F     RACF File ID for auditing                     
ST_RES01             DS    F                                                    
ST_CHARSETID         DS    0XL12  Coded Character Set ID (obsolete              
ST_FILETAG           DS    0F     File Tag                                      
FT_CCSID             DS    H      Coded character set ID in binary              
FT_UNTAGGED          EQU   X'0000' File has no tag                              
FT_BINARYTAG         EQU   X'FFFF' File is binary data                          
FT_FLAGS             DS    XL2     File tagging flags                           
FT_TXTFLAG           EQU   X'8000' File is pure text data                       
FT_DEFERTAG          EQU   X'4000' File to be tagged at 1st write               
ST_RES01A            DS    2F     reserved                                      
ST_BLOCKS_D          DS    0D     Double word number - blocks allocated         
ST_RES02             DS    F                                                    
ST_BLOCKS            DS    F      Number of blocks allocated                    
ST_GENVALUE          DS    0XL4   General attribute values                      
ST_OPAQUE            DS    XL3    Opaque attribute flags- Reserved              
ST_VISIBLE           DS    X      Visible attribute flags                       
ST_SHARELIB          EQU   X'10'  Shared Library Flag                           
ST_NOSHAREAS         EQU   X'08'  No shareas flag                               
ST_APFAUTH           EQU   X'04'  APF authorized flag                           
ST_PROGCTL           EQU   X'02'  Program controlled flag                       
ST_EXTLINK           EQU   X'01'  External Symlink                              
ST_REFTIME           DS    F      Reference time                                
ST_FID               DS    2F     File identifier                               
ST_FILEFMT           DS    XL1    File Format                                   
ST_FSPFLAG2          DS    XL1    IFSP_FLAG2 ACL support                        
ST_ACCESSACL         EQU   X'80'  Access Acl exists                             
ST_FMODELACL         EQU   X'40'  File Model Acl exists                         
ST_DMODELACL         EQU   X'20'  Directory Model Acl exists                    
ST_RES03             DS    CL2    reserved                                      
ST_CTIMEMSEC         DS    F      Micro-Sec of full Ctime                       
ST_SECLABEL          DS    CL8    Security Label                                
ST_RES04             DS    CL4    Reserved for future                           
ST_ENDVER1          EQU    *      End of Ver 1 Stat                             
*                                                                               
                     DS    F      Reserved                                      
ST_ATIME64           DS    D      Access Time                                   
ST_MTIME64           DS    D      Data Modification Time                        
ST_CTIME64           DS    D      Meda-data Change Time                         
ST_CREATETIME64      DS    D      File Creation Time                            
ST_REFTIME64         DS    D      Reference Time                                
                     DS    D      Reserved                                      
ST_RES05             DS    CL16   Reserved                                      
ST_ENDVER2          EQU    *      End of Ver 2 Stat                             
*                                                                               
*   Constants                                                                   
*                                                                               
STAT#LENGTH          EQU   *-STAT   Length of STAT                              
ST#VER01             EQU   1        Version 1 of this structure                 
ST#VER02             EQU   2        Version 1 of this structure                 
ST#VER               EQU   ST#VER02 Current version                             
ST#LEN               EQU   STAT#LENGTH Length of STAT                           
ST#VER01LEN          EQU   ST_ENDVER1-ST_BEGIN                                  
ST#VER02LEN          EQU   ST_ENDVER2-ST_BEGIN                                  
** BPXYSTAT End