There are commands that can be issued to the SYSMAIN utility to perform functions related to the operation of the utility itself or to define the security for Natural system files.
| Command | Function | ||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|  
                                   
                             
                                         |  
                               
                         Activate (ADAON) or deactivate
                                   (NOADA or ADAOFF) error
                                   trapping. 
                                   
                           Trap abnormal database errors (only applicable online with programming objects) for debugging purposes.  |  
                              
                     ||||||||||||||||||||||
|  
                                   
                             
                                         |  
                               
                        Switch the SYSMAIN utility into batch mode
                                   (BATCH), whereby all processing is done as if
                                   SYSMAIN was running in batch. If online automated processing is used, a batch
                                   report is then displayed: see also
                                   Online
                                      Report Mode. 
                                   
                              |  
                              
                     ||||||||||||||||||||||
 CLEAR 
                         |  
                               
                        Clear the current work area. This function can be useful if the
                                   source code of a large object is contained in the work area and the SYSMAIN
                                   utility therefore requires a larger ESIZE.
                         |  
                              
                     ||||||||||||||||||||||
 DISPLAY
                                   
                         |  
                               
                        Display the extended (long) message text for the error which has occurred. | ||||||||||||||||||||||
 FINDFIRST
                                   
                         |  
                               
                        Stop the FIND command for programming
                                   objects when the first library is found that contains the specified
                                   object.
                         |  
                              
                     ||||||||||||||||||||||
 FINDALL
                                   
                         |  
                               
                        Cause the FIND command for programming
                                   objects to search in all libraries.
                         |  
                              
                     ||||||||||||||||||||||
|  
                                   
                             
                                         |  
                               
                        Activate (MON) or deactivate
                                   (NOMON or MONOFF) tracing
                                   of the current activity in SYSMAIN. See also
                                   MON in
                                   Keywords and Variables in Direct Commands.
                         |  
                              
                     ||||||||||||||||||||||
|  
                                   
                             
                                         |  
                               
                         Enable (PROMPT) or disable
                                   (NOPROMPT) the SYSMAIN prompts. See also
                                   PROMPT
                                   in Keywords and Variables in Direct Commands. 
                         |  
                              
                     ||||||||||||||||||||||
 SET 
                         |  
                               
                        Invoke the Command Help window where all special SYSMAIN commands are explained. | ||||||||||||||||||||||
 SET FDIC 
                         |  
                               
                         Invoke a window to specify Adabas security information for the
                                   Predict system file. This refers to the profile parameter FDIC
                                   (see FDIC - Predict System
                                      File in the Parameter Reference
                                   documentation). In batch mode, you can specify security information by using
                                   the keyword DIC in a where-clause as
                                   indicated in the direct command syntax in the object-type specific sections of
                                   the SYSMAIN Utility documentation. 
                                   
                            
                         |  
                              
                     ||||||||||||||||||||||
 SET FNAT 
                         |  
                               
                         Invoke a window to specify Adabas security information for the
                                   SYSMAIN source and target system files. In batch mode, you can specify security
                                   information by using the keyword SEC in a
                                   where-clause as indicated in the direct command
                                   syntax in the object-type specific sections of the SYSMAIN
                                      Utility documentation. 
                                   
                            
                         |  
                              
                     ||||||||||||||||||||||
 SET FSEC 
                         |  
                               
                        Invoke a window to specify Adabas security information of the
                                   FSEC system file if Natural Security is installed. This refers to the profile
                                   parameter FSEC (see FSEC - Natural Security System
                                      File in the Parameter Reference
                                   documentation). 
                                   
                           
                         |  
                              
                     ||||||||||||||||||||||
 SET PC 
                         |  
                               
                         Only applies if Natural Connection and Entire Connection are
                                   installed. 
                                   
                            Activate the PC connection. This setting can be intermittently
                                       changed with the   |  
                              
                     ||||||||||||||||||||||
 STATUS 
                         |  
                               
                        Display the current values of SYSMAIN variables that are important for Software AG technical support. | ||||||||||||||||||||||
 
                                   TOTAL  
                         |  
                               
                        
                           
  |  
                              
                     ||||||||||||||||||||||
. 
                                   
                           or END 
                                   
                           or QUIT |  
                               
                        Terminate SYSMAIN. | ||||||||||||||||||||||