On Sat, 23 Feb 2013 15:41:26 -0300, Jose ADAUTO Ribeiro <[email protected]> wrote:
>Hi, > >Could someone give me some help: I would like to know if it is possible to get >in some control block (or via some MACRO/API program) the name of the active >SMF dataset (and the alternates too). I will do this in an assembler program. > >In addition I would like to know the best way to read, after its dynamic >allocation, the SMF file to select some types of records. I did a test program >that read a pre-allocated SMF data set using VSAM macros OPEN/GET with RPL >OPTCD=(CNV,SEQ), but I don't know if there is another better way. > >Thanks for any tips. > You can find the names / active data set from the SMCA - SYS1.MACLIB(IEESMCA). You see what I do in my IPLINFO REXX program available on my web site or CBT file 434 (web site URL is below). Is this for your shop's internal use? What if they want to switch to SMF logger in the future? Regards, Mark -- Mark Zelden - Zelden Consulting Services - z/OS, OS/390 and MVS mailto:[email protected] Mark's MVS Utilities: http://www.mzelden.com/mvsutil.html Systems Programming expert at http://expertanswercenter.techtarget.com/ ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
