>>>I have SMF type 16, would like to see who is using DFSORT

Salah Balboul,

You mean the Jobnames ? 

Here is a sample JCL which will extract the jobname, date and times.

//STEP0100 EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SORTIN   DD DISP=SHR,DSN=Your.SMF.File
//SORTOUT  DD SYSOUT=*
//SYSIN    DD *
  OPTION COPY,VLSCMP 
  INCLUDE COND=(6,1,BI,EQ,16)         $ TYPE 16 
  OUTFIL VTOF,REMOVECC, 
  HEADER2=(' JOBNAME    START-DATE   START-TIME   END-TIME',/, 
           '--------    ----------   ----------  ---------'), 
 
  BUILD=(019,8,                       $ JOBNAME 
         4X,                          $ SPACES 
         11,4,DT1,EDIT=(TTTT/TT/TT),  $ START-DATE 
         5X,                          $ SPACES 
         27,4,TM1,EDIT=(TT:TT:TT),    $ START-TIME 
         3X,                          $ SPACES 
         07,4,TM1,EDIT=(TT:TT:TT))    $ END-TIME 
//* 

Further if you have any questions please let me know

Thanks,
Kolusu



From:   Salah Balboul <[email protected]>
To:     [email protected]
Date:   05/08/2017 07:54 AM
Subject:        DFSORT Sample JCL
Sent by:        IBM Mainframe Discussion List <[email protected]>



Hi list,

I have SMF type 16, would like to see who is using DFSORT

Wondering if anyone has a sample JCL to extract these records and generate 
a report.

Thx

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN






----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to