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 enrico-sorichetti » Tue Nov 15, 2011 11:03 pm

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
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: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: Re: JCL to output smf records as generation

 

Re: JCL to output smf records as generation

Postby coldplay1991 » Tue Nov 15, 2011 11:08 pm

Thanks
But I need that as a continuation of my older JCL.
I want this in 1 JCL. Recommend me the PGM
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 steve-myers » Tue Nov 15, 2011 11:10 pm

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.
steve-myers
Global moderator
 
Posts: 1885
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 197 times

Re: JCL to output smf records as generation

Postby coldplay1991 » Tue Nov 15, 2011 11:13 pm

Then what should they be? if i replace &&smftemp with the gdg it works and writes a generation though with same DCB attribs
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 dick scherrer » Tue Nov 15, 2011 11:58 pm

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: JCL to output smf records as generation

Postby coldplay1991 » Wed Nov 16, 2011 12:04 am

Spocks code aint working at all
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 dick scherrer » Wed Nov 16, 2011 12:14 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: JCL to output smf records as generation

Postby enrico-sorichetti » Wed Nov 16, 2011 12:34 am

Hi Dick!
we are at loss here ...
the gentleman started another topic with same horse manure
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: 2643
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: JCL to output smf records as generation

Postby coldplay1991 » Wed Nov 16, 2011 12:36 am

Hahaha No please Enrico. Dick told me to do so:(
Help please. Thanks
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 dick scherrer » Wed Nov 16, 2011 12:50 am

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
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Previous

Return to JCL

 


  • Related topics
    Replies
    Views
    Last post