MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

where is the data displayed in the spool stored.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
durgamallesh
Beginner


Joined: 16 Aug 2004
Posts: 12
Topics: 6
Location: United Kingdom

PostPosted: Mon Aug 16, 2004 11:03 pm    Post subject: where is the data displayed in the spool stored. Reply with quote

Hi all,

Theres an application program which generates reports and these data is sent to a printer dynamically without storing in any dataset.
We have a JCL thats runs this application by using certain procedures and these procedures they write the data into spool.
Once the printing job is done the only way in which we can see the report is in spool other than in a printout.
I want to send this data to a mail ID using SMTP note command.
Is their anyway in which I can retrieve the data in the spool and mail the same.
Note: I neither want to change the application program nor I want to change the procedures.
Thanks for ur help in advance....
_________________
S.Durga Mallesh,
Project engineer.
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12381
Topics: 75
Location: San Jose

PostPosted: Tue Aug 17, 2004 7:24 am    Post subject: Reply with quote

Durga Mallesh,

You can run batch sdsf and copy the contents from the spool to a dataset and then mail that dataset.

Check this link which discusses about running SDSF in batch

http://www.mvsforums.com/helpboards/viewtopic.php?t=332&highlight=pgm+sdsf


Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
slade
Intermediate


Joined: 07 Feb 2003
Posts: 266
Topics: 1
Location: Edison, NJ USA

PostPosted: Wed Aug 18, 2004 1:58 pm    Post subject: Reply with quote

Hi,

An alternate approach is to change the report DD stmt to point to a PS dataset or a PDS member, e.g.:

//rptddnm DD DSN=your.dsname,other params
or
//rptddnm DD DSN=your.dsname(memname),other params

If you also want to keep a hardcopy version of the report add a utility step that copies your.dsname to a SYSOUT queue.

Regards, Jack.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group