If you used a real language like SAS that knows those formats it's as simple as INPUT SMF70INT RMFDUR4.;
If you can figure out how to separate the MM SS and TTT in whatever language you are coding in, the duration in seconds would be MM*60 + SS + TTT/1000; Herbert W. “Barry” Merrill, PhD President-Programmer MXG Software Merrill Consultants 10717 Cromwell Drive Dallas, TX 75229 ba...@mxg.com http://www.mxg.com - FAQ has Most Answers ad...@mxg.com – invoices/PO/Payment supp...@mxg.com – technical tel: 214 351 1966 - expect slow reply, use email fax: 214 350 3694 – prefer email, still works Barry -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Donald Likens Sent: Thursday, June 13, 2013 3:32 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: SMF70INT format Help! I need to calculate the %busy for our MVS system using the SMF 70 record. I found some calculation but each calculation I found involved the SMF70INT variable and my calculations (a sample calculation is CPU Utilization = Sum(SMF70INT - SMF70WAT) / (SM70CPN x SMF70INT) x 100%) are not working and I am pretty sure it is because SMF70INT is in the MMSSTTT format and the other fields are in another format (CPU wait time, where bit 51 = 1 microsecond.). It seems to me that I need to convert the SMF70INT to the CPU time format but I do not know how to do this. Can someone help me? Can’t use ERBSMFI because my process is running in SRB mode. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN