Example: MWP for IMS using transaction-level accounting - IBM

文章推薦指數: 80 %
投票人數:10人

In this example, the tags (COND statements) select workloads from dependent regions whose job name matches the pattern "WEBMOB*" or "WWWMOB*". Example:MobileWorkloadPricingforIMSusingtransaction-levelaccounting ThisexampleJCLusesIMS™log recordstogenerateaCSVfilefortheMobileWorkloadReportingTool (MWRT). ForIMS,youcan useeitherIMStype56FAtransaction-level accountinglogrecordsorIMStype 07applicationterminationlogrecords. Inthisexample,the tags(CONDstatements)selectworkloadsfromdependent regionswhosejobnamematchesthepattern"WEBMOB*"or"WWWMOB*". UsingIMStype 56FAlogrecords//UIDFUWJOBNOTIFY=&SYSUID //FUWBATCHEXECPGM=FUWBATCH //STEPLIBDDDISP=SHR,DSN=.SFUWLINK //SYSPRINTDDSYSOUT=* //LOGINDDDISP=SHR,DSN=IMSP.SLDS1 //MWPIMSDDDSN=MWP.IMS.CSV, //DISP=(NEW,CATLG),UNIT=SYSDA,SPACE=(CYL,(1,1)) //SYSINDD* IMSVRM111 MWPIMS:56FAPID(5635-A04)LPAR(2827-0F4D7:PR01)OUTPUT(MWPIMS) CODE(IMS:56FA) CONDTPJOBNEQ'WEBMOB*' CONDTPJOBNEQ'WWWMOB*' /* UsingIMStype 07logrecordsAsforIMStype 56FAlogrecords,butwiththefollowingdetails: MWPIMS:07PID(5635-A04)LPAR(2827-0F4D7:PR01)OUTPUT(MWPIMS) CODE(IMS:07) CONDDLRNJOBEQ'WEBMOB*' CONDDLRNJOBEQ'WWWMOB*' Notes:ThelogtypeandcodespecifiedbytheCODEcommand matchestheIMS:07parameteroftheMWPcommand. ThefieldvaluesspecifiedbytheCONDstatements arethesameasthoseforIMS:56FA,butthefieldnamesare different,reflectingthedifferentfieldnamesineachrecordtype. Parenttopic:CreatingCSVandSMFfilesforMWRT Relatedreference: MWPcommand



請為這篇文章評分?