BPXYINHE — Spawn Inheritance Structure

AMODE 64 callers use BPXYINHE — Spawn inheritance structure.

                                                      
            BPXYINHE   ,                                                        
** BPXYINHE: Inheritance Area                                                   
**  Used By: spawn() callable service                                           
INHE                 DSECT ,                                                    
INHEBEGIN            DS    0D                                                   
*                                                                               
INHEEYE              DC    C'INHE'  Eye catcher                                 
INHELENGTH           DC    AL2(INHE#LENGTH)                            X        
                                  Length of this structure                      
INHEVERSION          DC    AL2(INHE#VER)                                        
INHE#VER             EQU   3     Version of this structure                      
INHEFLAGS            DS    0BL4  Flags indicating contents of structure         
INHEFLAGS0           DS    XL1   1st byte                                       
INHESETPGROUP        EQU   X'80' Set Process Group using INHEPGROUP             
INHESETSIGMASK       EQU   X'40' Set Signal Mask using INHESIGMASK              
INHESETSIGDEF        EQU   X'20' Set Signal Defaults using INHESIGDEF           
INHESETTCPGRP        EQU   X'10' Set TTY Pgrp using INHECTLTTYFD                
INHESETCWD           EQU   X'08' Set CWD using INHECWDPTR                       
INHESETUMASK         EQU   X'04' Set UMASK using INHEUMASK                      
INHESETUSERID        EQU   X'02' Set Userid using INHEUSERID                    
INHESETREGIONSZ      EQU   X'01' Set Region using INHEREGIONSZ                  
INHEFLAGS1           DS    XL1   2nd byte                                       
INHESETTIMELIMIT     EQU   X'80' Set Timelimit with INHETIMELIMIT               
INHESETACCTDATA      EQU   X'40' SET ACCTDATA using INHEACCTDATA                
INHESETJOBNAME       EQU   X'20' SET JOBNAME using INHEJOBNAME                  
INHEMUSTBELOCAL      EQU   X'10' Spawn locally or else fail                     
INHESETDEBUGENV      EQU   X'08' Setup Debug Environment                        
INHESETMEMLIMIT      EQU   X'04' Set MemLimit with INHEMEMLIMIT                 
INHEFLAGS2           DS    XL1   3rd byte                                       
INHEFLAGS3           DS    XL1   4th byte                                       
INHEPGROUP           DS    F     Process Group for child                        
INHE#NEWPGROUP       EQU   0     Put child in a new proc grp of its own         
INHESIGMASK          DS    BL8   Signal Mask for child                          
INHESIGDEF           DS    BL8   Set of default signals for child               
INHECTLTTYFD         DS    F     Cntl TTY FD for tcsetgrp() in child            
                     DS    0F    31-Bit Addressing Version                      
INHECWDPTR           DS    F     Pointer to the users CWD                       
INHECWDLEN           DS    H     Length of the users CWD                        
INHEACCTDATALEN      DS    H     LENGTH OF THE USERS ACCTDATA                   
INHEACCTDATAPTR      DS    F     POINTER TO THE USERS ACCTDATA                  
INHEUMASK            DS    XL4   Users Umask                                    
INHEUSERID           DS    CL8   New A.S. user identity                         
INHEJOBNAME          DS    CL8   New A.S. jobname                               
INHEREGIONSZ         DS    F     New A.S. region size                           
INHETIMELIMIT        DS    F     New A.S. Time limit                            
                     DS    CL20  reserved                                       
INHEMEMLIMIT         DS    D     New A.S. Memlimit #bytes                       
INHE#LENGTH          EQU   *-INHE                                               
** BPXYINHE End