Page 2 of 3

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 8:49 pm
by coldplay1991
I want to be able to use DFSORT to filter out records which are associated with my id "john91"

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 8:49 pm
by coldplay1991
How do I use DFSORT to filter out results having my ID only.
There are thousands of results in the JCL print job output I see.

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 8:55 pm
by BillyBoyo
Use INCLUDE.

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 9:49 pm
by enrico-sorichetti
I want to be able to use DFSORT to filter out records which are associated with my id "john91"

and what does this requirement have in common whit the initial question ?

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 9:57 pm
by coldplay1991
enrico-sorichetti see the previous answer by mrspock. that is part of the requirement. are you on IMs?

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 10:36 pm
by enrico-sorichetti
no I'm not on IM

I reread at MrSpock reply and nowhere in there was quoted the requirement for including/omitting anything/something

the suggestions was only to avoid, in case of troubles in the SMF UNLOAD/DUMP, to create a useless generation

normally the SMFDUMP step unloads/dumps the smf data to a gdg in one step.

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 10:45 pm
by coldplay1991
//JON0010S       JOB UNIVER,CLASS=A,MSGCLASS=H,NOTIFY=&SYSUID 
//      JCLLIB ORDER=(UNISHE.PROCLIB)                         
//UNLDSTEP EXEC SMFUNLD                                       
//SMFUNLD.OUTDD DD DISP=(NEW,PASS),DSN=&&SMFTEMP,             
//           SPACE=(CYL,(20,20)),RECFM=VB,LRECL=8192           
//MYDDNAME DD DISP=(OLD,DELETE),DSN=*.UNLDSTEP.SMFUNLD.OUTDD   


So far I have this. I want to use DFSORT to include the records with my ID that is jon0010.
Then, write that on a generation OXF0010.XXXXXLOG(+1).
Help

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 10:45 pm
by coldplay1991
Thanks in advance

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 10:53 pm
by enrico-sorichetti
records with my ID that is jon0010.

the statement does not make any sense... what You call ID appears in many record types.

it would be wise to read the zOS SMF manuals to see the different record types and their layout.

SMF record interpretation is not <simple>, why not talk to your support to see what is already in place ?

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 10:56 pm
by coldplay1991
Ok leave DFSORT. How would I write a temporary dataset to a generation.