Page 3 of 3

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 11:03 pm
by enrico-sorichetti
the <creation> of GDG generation is not related in any way to the process used
for Your foggy request
//stepnm  EXEC PGM=somepgm
//input     DD ......
//output    DD DISP=(NEW,CATLG),DSN=somegdgbasename(+1),
//             all the other DD parameters

where
input is the input dataset ( irrelevant if it is temporary or not )
somepgm is a program capable of copying the input to the output
output will be the newly created gdg generation

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 11:08 pm
by coldplay1991
Thanks
But I need that as a continuation of my older JCL.
I want this in 1 JCL. Recommend me the PGM

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 11:10 pm
by steve-myers
coldplay1991 wrote:...
//SMFUNLD.OUTDD DD DISP=(NEW,PASS),DSN=&&SMFTEMP,             
//           SPACE=(CYL,(20,20)),RECFM=VB,LRECL=8192
...
The DCB attributes are invalid for SMF data.

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 11:13 pm
by coldplay1991
Then what should they be? if i replace &&smftemp with the gdg it works and writes a generation though with same DCB attribs

Re: JCL to output smf records as generation

PostPosted: Tue Nov 15, 2011 11:58 pm
by dick scherrer
Hello,

It appears you are needlessly tying yourself up in knots. . .

Recommend me the PGM
I believe MrSpock has already given you several options.

if i replace &&smftemp with the gdg it works and writes a generation though with same DCB attribs
Why is this a problem? You have to specify correct dcb atributes for smf data - you cannot make up something that you want. . .

As suggested earlier, check with your support as there may already be something in place that does nearly what you want.

Re: JCL to output smf records as generation

PostPosted: Wed Nov 16, 2011 12:04 am
by coldplay1991
Spocks code aint working at all

Re: JCL to output smf records as generation

PostPosted: Wed Nov 16, 2011 12:14 am
by dick scherrer
Hello,

Spocks code aint working at all
What utter nonsense. . . It also appears that you will have a long cold time in IT. . . The name is MrSpock and you have multiple typos (just lazy i geuss).

What MrSpock provided was guidance, not executable code. It required a bit of thought and effort from the user.

Now, take yourself over to the support people and they can show just what you need.

Re: JCL to output smf records as generation

PostPosted: Wed Nov 16, 2011 12:34 am
by enrico-sorichetti
Hi Dick!
we are at loss here ...
the gentleman started another topic with same horse manure

Re: JCL to output smf records as generation

PostPosted: Wed Nov 16, 2011 12:36 am
by coldplay1991
Hahaha No please Enrico. Dick told me to do so:(
Help please. Thanks

Re: JCL to output smf records as generation

PostPosted: Wed Nov 16, 2011 12:50 am
by dick scherrer
Hi Enrico,

This topic had gotten completely out of hand, so i suggested that a new topic be started.

Maybe we'll get proper details and not go onto 3 pages of dialog that was basically going nowhere. . .

We'll see.

I'll lock this one.

d