IFASMFDP processing.

How to do Performance analysis and Capacity Planning for a shop. We also talk about Software Cost here.
Post Reply
Dino
Registered Member
Posts: 52
Joined: Tue Jun 18, 2013 12:12 am

IFASMFDP processing.

Post by Dino »

Hi,

I'm using IFASMFDP program to dump a SMF data set to retieve data only for 31 Jan, 2014 and used the below Job: This JOb abends with SB37, which I can resolve - however while reading about IFASMFDP here I got confused about the bold text: http://pic.dhe.ibm.com/infocenter/zos/v ... undump.htm
Figure 12 shows a sample job using the SMF data set dump program to dump and clear an SMF data set (INDD1) and to combine its records with those in an old dumped data set (INDD2) to three data sets.
What does "clear an SMF data set (INDD1)" mean here - I'm an end user not a system programmer but I (might) have access to HLQ of input SMF file, so by "clear" in previous statement mean that once job executed successfully the original dataset will not have the data for 31 Jan and it'll be deleted from it and copied to output dataset? I doubt if that's the meaning but I'm not sure, can you please help.

Code: Select all

//Job accounting info
//*                                                            
//JOBLIB   DD DSN=SYS1.LINKLIB,DISP=SHR                        
//*                                                            
//SMFDMP   EXEC PGM=IFASMFDP                                   
//SYSPRINT DD SYSOUT=*                                         
//SYSUDUMP DD SYSOUT=*                                         
//*                                                            
//SMFDATA  DD DISP=SHR,DSN=xxxx.SMF.D1401.MONTH.xxxx.SMFxxxx 
//SMFOUT   DD DSN=xxxx.abc1234.D140131.xxxx.TYPE30V,           
//         DISP=(NEW,CATLG,CATLG),                             
//         SPACE=(CYL,(50,10),RLSE),UNIT=3390,VOL=SER=xxxxxx,  
//         DCB=(LRECL=32760,RECFM=VBS)                         
//SYSOUT   DD SYSOUT=*                                         
//SMFDMP.SYSIN DD *                                            
  INDD(SMFDATA,OPTIONS(DUMP))                                  
  OUTDD(SMFOUT,TYPE(0:255))                                    
  START(0000)                 
  END(2400)                   
  DATE(2014031,2014031)       
/*                            
User avatar
Robert Sample
Global Moderator
Global Moderator
Posts: 1891
Joined: Fri Jun 28, 2013 1:22 am
Location: Dubuque Iowa
United States of America

Re: IFASMFDP processing.

Post by Robert Sample »

SMF records are continuously being written to a SYS1.MAXx data set (usually x is 1, 2, or 3 but that does depend upon the site). IFASMFDP copies those temporary records to a sequential data set. Clearing the SMF data set is removing the records from the SYS1.MANx data set. SMF will switch from 1 to 2 to 3 as they fill up; once all three are full no SMF records can be captured by the system. Once cleared, SMF can use the data set again. If you use console command D SMF you can see the state of your SMF data sets.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: IFASMFDP processing.

Post by Anuj Dhawan »

In addition to what Robert has said, this parameter INDD(SMFDATA,OPTIONS(DUMP)) should be of your interest. If you'll use INDD(SMFDATA,OPTIONS(CLEAR)) your INDD data-set will be set cleared with DUMP, it's a "copy". But I'm not sure if as an end you'll be allowed to user CLEAR.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Dino
Registered Member
Posts: 52
Joined: Tue Jun 18, 2013 12:12 am

Re: IFASMFDP processing.

Post by Dino »

Thanks Robert and Anuj.

Anuj, your reply has given the insight I was looking forward to.
User avatar
Anuj Dhawan
Founder
Posts: 2801
Joined: Sun Apr 21, 2013 7:40 pm
Location: Mumbai, India
Contact:
India

Re: IFASMFDP processing.

Post by Anuj Dhawan »

Thanks for the feedback - glad that we had been helpful.
Thanks,
Anuj

Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Mainframe Performance, Capacity Planning and Software Cost.”