IMSCMD output

The IMS Command function (IMSCMD) output is written to the RPTIMSCM DD.

If you do not specify the RPTIMSCM DD in the JCL, it is dynamically allocated to SYSOUT=*. Report output can be written to SYSOUT or to a data set. The characteristics of the output are RECFM=FBA,LRECL=133. You can also have the report output written to the IMS Tools Knowledge Base if you specify the REPORT(ITKBOUT(YES)) keyword and parameter.

Note: REPORT(ITKBOUT(YES) is the default.

The following figure shows a sample IMSCMD report output.

Figure 1. Sample IMSCMD report output
IMS Recovery Solution Pack V2.1.0 (5655-V86)
IMS DRF Extended Functions IMS COMMAND REPORT         Run Time: 11/06/2021 08:57   
                                                                                   
                                                                                   
                                                                                   
                                                                                   
********************************************************************************   
-> Invocation Parameters                                                           
********************************************************************************   
                                                                                   
  Command: /DIS DB DI21PART                                                        
  Systems: ALL                                                                     
                                                                                   
                                                                                   
                                                                                   
********************************************************************************   
-> IMS Command Output                                                              
********************************************************************************   
                                                                                   
                                                                                   
                                                                                   
-->   IMSID: Q91A  COMMAND: /DIS DB DI21PART                                       
                                                                                   
 D71 DATABASE  TYPE  TOTAL UNUSED  TOTAL UNUSED ACC  CONDITIONS                    
D01 DI21PART                                   UP   STOPPED, NOTOPEN, NOTINIT      
X99 *21310/085729*                                                                 
                                                                                   
                                                                                   
                                                                                   
********************************************************************************   
-> IMS Command Output                                                              
********************************************************************************   
                                                                                   
                                                                                   
                                                                                   
-->   IMSID: Q91B  COMMAND: /DIS DB DI21PART                                       
                                                                                   
 D71 DATABASE  TYPE  TOTAL UNUSED  TOTAL UNUSED ACC  CONDITIONS                    
D01 DI21PART                                   UP   STOPPED, NOTOPEN, NOTINIT      
X99 *21310/085729*                                                               

The major report sections are described under their headings in the following list:

Invocation Parameters
This section of the report shows the IMS command that the IMSCMD function issued and the systems to which the IMS command was issued. This sample report shows that the /DIS DB DI21PART command was issued to all of the active IMS systems.
IMS Command Output
This section of the report is repeated for each IMS system to which the IMS command was issued. This section also contains all of the command output. This sample report shows that the command was issued to IMSIDs, Q91A and Q91B because they were all of the active IMS systems in the Tools Online System Interface XCF group.