Restriction: This topic applies to Windows environments only. 
               		  
            
 
            	 
            You specify the residency mode of a program and of any programs that the main program calls using the Residency mode field.
               Residency mode appears in two places: 
               	 
            
            	 
            Specify the residency mode for each Assembler program that does not need a separate link file to control the production of
               an executable code file, including any programs that the main program calls, using the 
               		Residency mode field, set on the 
               		Link page of the 
               		Property Pages for the program. 
               	 
            
 
            	 
            The valid combinations of AMODE and RMODE are: 
               	 
            
 
            	 
             
               		
               - AMODE(24) and RMODE(24) 
                  		
               
- AMODE(31) and RMODE(31) 
                  		
               
- AMODE(31) and RMODE(24): use this combination where the Assembler program contains 24-bit address constants but needs to be
                  executed in 31-bit addressing mode so that it can handle 31-bit addresses passed as parameters by calling COBOL programs.
                  
                  		
               
Note: If you set AMODE to 31 and RMODE to 31, but the Assembler module contains 24-bit addresses, the Linker overrides your RMODE
               setting and loads the module below the line, and displays a warning message.