Retrieves information about the native character set in effect for the current run unit. 
                   
               
            
 
            
            Note: When calling this routine, ensure you are using the 1024 calling convention. 
               		
            
 
            
             
               
               The native character set specifies how non-numeric data is encoded in memory and on data files. 
                  
               
 
               
              
            
            
               Syntax:
 
                
               CALL "C$GetNativeCharset" USING charset-name [, codepage-number]
 
                 
            
            
               Parameters:
 
                
               
                
                   
                  
                  - charset-name 
                     
                  
- PIC X(n) 
                     
                  
- codepage-number 
                     
                  
- PIC 9(n) 
                     
                  
  
            
            
               On Exit:
 
                
               
                
                   
                  
                  - charset-name 
                     
                  
- The name of the character set in use for the current run unit after the call. 
                     
                     Note: For Windows, the name will have a value of “ANSI” or “OEM”. On UNIX, the value will be “NONE”. 
                        
                      
- codepage-number 
                     
                  
- The codepage number of the character set in use for the current run unit after the call. 
                     
                     Note: For Windows, the codepage number will be the system ANSI codepage number if 
                        charset-name contains “ANSI” and will be the system OEM codepage number if 
                        charset-name contains “OEM”. On UNIX, the value will be 0. 
                        
                      
  
            
            
               Comments:
 
                
               
               The native character set for a run unit on Windows can be either ANSI or OEM. 
                  
               
 
               
               The native character set for a run unit on UNIX is determined by the locale settings for the system.