IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Sysprint information write into a flat file


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sakthisiga
Warnings : 1

New User


Joined: 11 Jun 2009
Posts: 60
Location: Chennai

PostPosted: Tue Sep 01, 2009 6:35 pm
Reply with quote

Hi all,



Can anybody tell me is there any posibility to write the spool information into a flat file while running a job.

I mean, is any possibility to write SYSPRINT information to a flat file while running a job.


If possible,

Inform the precedure to do that.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 01, 2009 6:39 pm
Reply with quote

What have you tried yourself, and what were the results.
Back to top
View user's profile Send private message
sakthisiga
Warnings : 1

New User


Joined: 11 Jun 2009
Posts: 60
Location: Chennai

PostPosted: Tue Sep 01, 2009 6:42 pm
Reply with quote

I will try, but if i get any idea means better to do it. Even I am new to this mainframe industry expat.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Tue Sep 01, 2009 6:48 pm
Reply with quote

So give a DD convenient for a new file to your SYSPRINT.

Do not make things complicate.

That will be your try.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Sep 01, 2009 7:07 pm
Reply with quote

sakthisiga wrote:
I will try, but if i get any idea means better to do it. Even I am new to this mainframe industry expat.

Let's be honest here, it is hardly rocket science.

The current SYSPRINT DD routes the output to sysout, so if you want the output in a dataset, then change the DD statement to reflect what you want.
Back to top
View user's profile Send private message
sakthisiga
Warnings : 1

New User


Joined: 11 Jun 2009
Posts: 60
Location: Chennai

PostPosted: Wed Sep 02, 2009 12:43 pm
Reply with quote

i gave one DD statement in sysout, its working.....


Thanks expat.....
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Wed Sep 02, 2009 1:11 pm
Reply with quote

Quote:
i gave one DD statement in sysout, its working.....


in SYSOUT ???

for SYSPRINT
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Sep 02, 2009 1:26 pm
Reply with quote

Ped,

you have been a member of this forum long enough to realize
that most posters use their own vocabulary
- actually their own world view of computers.

as usual, it is a 'not what I said' but 'what I meant' -
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Wed Sep 02, 2009 2:21 pm
Reply with quote

Dick,

You are right, but I am a devil tester ( Test is my main activity on mainframe now since 12 years - and I love that ) so I have to be extremely precise. I just do my job. icon_cool.gif

Have a nice day


Pierre
Back to top
View user's profile Send private message
sakthisiga
Warnings : 1

New User


Joined: 11 Jun 2009
Posts: 60
Location: Chennai

PostPosted: Wed Sep 02, 2009 2:55 pm
Reply with quote

Ya.. i gave one DD statement with DSN and DISP below the SYSOUT DD SYSOUT=*

It wrote spool information into a PS file.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Sep 02, 2009 2:57 pm
Reply with quote

Ped,

sorry, was being sarcastic.

so many of the posters do not use correct terminology,
have little or no knowledge of computers,

I thought I would throw a little sarcasm in, had not meant to insult or attack you.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Sep 02, 2009 3:02 pm
Reply with quote

Quote:
Ya.. i gave one DD statement with DSN and DISP below the SYSOUT DD SYSOUT=*

It wrote spool information into a PS file.


another example of ??

'below the sysout' -- - what does that mean?

'it wrote spool info into a ps file' -- what wrote? spool info? what are we talking about???


the op finally changed the destination from spool to dasd.
Back to top
View user's profile Send private message
PeD

Active User


Joined: 26 Nov 2005
Posts: 459
Location: Belgium

PostPosted: Wed Sep 02, 2009 3:26 pm
Reply with quote

No, no Dick , I was on the same track. I understood the way you talked.

For the rest, I must confess with the last post from the original poster, I am lost.


So I gonna lunch.

Cheers

Pierre
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Wed Sep 02, 2009 5:43 pm
Reply with quote

SYSPRINT is the data set that contains output from the utilities called by SMP/E while SYSOUT is System Output; a data definition (DD) statement used to identify a data set as a system output data set -- so decide what you're looking for.

This
Quote:
SYSOUT DD SYSOUT=*
from your last post in this thread does not seem to be in logical-flow with what you asked in very first post of this thread. Probabaly you meant, you used something like
Code:
//SYSOUT   DD  SYSOUT=some.dsn.here,DISP=(??,??,??)
If this is what you did? If yes, probably you can understand why Dick and Ped were lost with your description.

PS. No offences please... icon_smile.gif
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 1
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
Search our Forums:

Back to Top