After invoking the Problem Analyzer Dialog, Select Option 10 fromthe Primary Menu.This starts the customization of the Report to be generated. Start of IMS Froms set up
If you wish to modify a current Report Form entering a / on thecommand line will pop up the menu options for that report form. Enter “/” to Edit an existing Report Form
In order to create a new report form:On the Command Line – Type NEW for a new report to format. Enter NEW to Start a new Report Form
Create New report form be entering theReport Name, Type and Fields to be used The Name the report will be saved as The TYPE or Report will be a SUMMARY Fields to be reported will be from the IMS SLDS The Report From storage Repository Press ENTER to start the report formatting
In the “Possible Report on Fields” screen we see a list of the fields available.This panel may be treated as regular TSO panel in regard to line commands.M for move, B for Before A for After, D for Delete, etc are all valid. Here I have used B as a target of moving another field above this line
In the “Possible Report on Fields” screen we see a list of the fields available.There are 3 screens worth of Fields, so scroll to find the Field you want to work with.This panel may be treated as regular TSO panel in regard to line commands.M for move, B for Before A for After, D for Delete, etc are all valid.
After scrolling the Field I want to move I identify it to be moved and press ENTERNote:The first Field in the column MUST be sortable field as specified by the K Here I specify the Field name I want moved to the previous identified position
Additional Fields being moved to the top of the report format No I start moving the additional Fields
Now I have the Fields needed and in the order required for the report to be generated Ordered Report Fields of an IMS transaction
Here I fill in the FUNCTION of how I want the information be displayed in the report The RANGE is expressed in Seconds The FUNCTION is expressed as Greater Than 0.5 The operation FUNCTION is a RANGE
Use the ISPF line commands to limit the use andreporting of the fields Position the End of the Reported Fields Position the End or the Extracted Fields
Once saved from the previous screen, The report information is saved intothe Report Forms dataset fro future reference and use. Short name of CHARGE is saved to identify the report set just completedSelect 6 to generate the Job Select option 6
The Dialog Generated PA JCL and Control Cards//JCHCBACK JOB ,CLASS=A,NOTIFY=&SYSUID//IMSPA EXEC PGM=IPIMAIN,PARM=V101//STEPLIB DD DISP=SHR,DSN=IPI420.TEST.SIPILINK//SYSPRINT DD SYSOUT=*//LOGIN DD DISP=SHR,DSN=IMS.SLDS//IPICMD DD * IMSPALOG SUMMARY(DDNAME(CBACK), DESC(Charge back), SECGROUP,PRECISION(6),TOTAL(1), FIELDS(USERID(ASCEND), Here we have the TRANCODE(ASCEND), fields to be extracted TRANCNT, in order as from the TOTALTM(AVE), TOTALTM(TOTAL), dialog. The function is TOTALTM(RNGPERC(>0.5)), entered and the range CPUTIME(AVE), values supplied. CPUTIME(TOTAL), CPUTIME(RNGPERC(>0.2)))) IMSPALOG EXECUTE/*
Generated Report Output Avg Tot >0.5 Avg Tot >0.2 Tran Total Total Total CPU CPU CPUUserid Trancode Count IMS Time IMS Time IMS Time Time Time TimeJOHN TRAN1 49 0.031420 1.539583 0.00% 0.011583 5.567588 0.00%JOHN TRAN2 22 0.032561 0.716348 0.00% 0.012347 2.271640 0.00%JOHN 71 0.027435 0.027435 0.00% 0.009861 7.839861 0.00%SHIRLEY TRAN2 22 0.416327 9.159190 4.55% 0.030148 0.663247 7.80%SHIRLEY TRAN3 131 0.342836 0.685671 47.23% 0.036546 7.073092 2.12%SHIRLEY 153 0.100275 15.34205 1.31% 0.013212 8.735712 5.28%Total 224 0.027435 0.027435 25.24% 0.009861 16.59861 3.76% Here we see the report generated using the previous job. Notice the report columns are in the same order as the controls are sequenced.