JCL to output smf records as generation



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

Re: JCL to output smf records as generation

Postby coldplay1991 » Tue Nov 15, 2011 8:49 pm

I want to be able to use DFSORT to filter out records which are associated with my id "john91"
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to output smf records as generation

Postby coldplay1991 » Tue Nov 15, 2011 8:49 pm

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.
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to output smf records as generation

Postby BillyBoyo » Tue Nov 15, 2011 8:55 pm

Use INCLUDE.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Re: JCL to output smf records as generation

Postby enrico-sorichetti » Tue Nov 15, 2011 9:49 pm

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 ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: JCL to output smf records as generation

Postby coldplay1991 » Tue Nov 15, 2011 9:57 pm

enrico-sorichetti see the previous answer by mrspock. that is part of the requirement. are you on IMs?
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to output smf records as generation

Postby enrico-sorichetti » Tue Nov 15, 2011 10:36 pm

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.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: JCL to output smf records as generation

Postby coldplay1991 » Tue Nov 15, 2011 10:45 pm

//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
Last edited by coldplay1991 on Tue Nov 15, 2011 10:46 pm, edited 1 time in total.
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to output smf records as generation

Postby coldplay1991 » Tue Nov 15, 2011 10:45 pm

Thanks in advance
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

Re: JCL to output smf records as generation

Postby enrico-sorichetti » Tue Nov 15, 2011 10:53 pm

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 ?
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: JCL to output smf records as generation

Postby coldplay1991 » Tue Nov 15, 2011 10:56 pm

Ok leave DFSORT. How would I write a temporary dataset to a generation.
coldplay1991
 
Posts: 59
Joined: Tue Nov 15, 2011 5:47 am
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post