View previous topic :: View next topic |
Author |
Message |
durgamallesh Beginner

Joined: 16 Aug 2004 Posts: 12 Topics: 6 Location: United Kingdom
|
Posted: Mon Aug 16, 2004 11:03 pm Post subject: where is the data displayed in the spool stored. |
|
|
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 |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12381 Topics: 75 Location: San Jose
|
|
Back to top |
|
 |
slade Intermediate
Joined: 07 Feb 2003 Posts: 266 Topics: 1 Location: Edison, NJ USA
|
Posted: Wed Aug 18, 2004 1:58 pm Post subject: |
|
|
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 |
|
 |
|
|