Using the REPORT Command


Use the REPORT command to enter the IMSID and report type criteria.

The IMSID parameter is required. The OUTDSN, TYPE, and SORT parameters are optional.

The following figure shows the REPORT command syntax.

Batch Log/List Utility REPORT Command

GUID-BE2540E0-23B4-40F3-896A-C74021455B0F-low.png

When coding the SELECT command, the parameters can be either completely spelled out or abbreviated.

A plus sign (+) continuation mark is required for both SELECT and REPORT when the commands are continued to another line.

You can use the following keywords with the REPORT command:

TYPE

Select one of the following report types:

  • TERSE - The terse report consists of a one-line description of each update to IMS. For commands executed through DELTA IMS, only the first part of the command is given. TERSE is the report type default.
  • COMPLETE – The complete report consists of a detailed description of each update. The attributes for each element will be listed along with a short explanation. For commands, the entire command is given.
  • CHANGED – The changed report is similar to the complete report; however, only those attributes that have been changed are given.
  • USER – Select the user report by indicating the suffix of the appropriate user report module (DLAXALUn).
  • STAGE1 – Updates for the IMS Stage-1 system definition are produced from the DELTA Logs. Sort criteria are ignored for this report type. The Stage-1 macro statements are output in the same order as the Stage-1 job stream. Elements are sorted alphanumerically within element type.

SORT

Select one of the following sort sequences:

  • LIFO – The records are sorted in last in, first out (descending) order.
  • FIFO – The records are sorted in first in, first out (ascending) order. This is the sort default.
  • TYPE – The records are sorted by element type.
  • NAME – The records are sorted by element name.
  • USERID – The records are sorted by updating user ID.

OUTDSN

By specifying a data set name with the OUTDSN parameter, you can write the report to a preallocated data set.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*

DELTA IMS products 6.8