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

SMTPNOTE o/p


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

New User


Joined: 25 Sep 2008
Posts: 66
Location: Bengaluruuuuuu

PostPosted: Fri Jul 03, 2009 7:39 pm
Reply with quote

I tried using this code:

//IEBPTPCH EXEC PGM=IEBPTPCH
//SYSUT1 DD DSN=your.pds,DISP=SHR
//SYSUT2 DD DSN=your.ps.file,DISP=(,CATLG,DELETE),UNIT=SYSDA,
// SPACE=(CYL,(pri,sec),RLSE)
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
PUNCH TYPORG=PO
/*

The input has

Organization . . . : PO
Record format . . . : FBA
Record length . . . : 121
Block size . . . . : 27951

and o/p ps has the same with

Organization . . . : PS
Record format . . . : FBA
Record length . . . : 121
Block size . . . . : 27951

And then the o/p comes like this...


VMEMBER NAME HC1A01
V1Health Check for 1 Jul 2009 09:04:19 on System 1A01
V
V
V
V SMG* JOBS ABEND(RC,NO. OF TIMES ABENDED)
V
V None
V
V STORAGE GROUPS IN WARNING
V

I tried sending this as an smtpnote and it comes in a diff format


VMEMBER NAME HC1C
V1Health Check for 1 Jul 2009 10:07:38 on System 1C01 V V V V SMG JOBS ABENDED(RC,no. of times abended) V V SMGDCAON(04,1) V V SMGDWRKM(04,1) V V V V STORAGE GROUPS IN WARNING V V DBHIST1(88.4) V V User Catalogs Extents > 1 V
V SYS8C.UCAT1C.DB201 ( 3 )


How can we correct that. Suggestions please.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jul 03, 2009 7:50 pm
Reply with quote

If you provided the actual SMTP commands or batch job that you used, maybe we could help a little ... with what you've provided, though, there's not a lot anybody can say.
Back to top
View user's profile Send private message
rahulbank

New User


Joined: 25 Sep 2008
Posts: 66
Location: Bengaluruuuuuu

PostPosted: Fri Jul 03, 2009 7:53 pm
Reply with quote

Apologies....this is the code....

//MAILIT EXEC PGM=IKJEFT01 SMTP ZEE MESSAGE
//SYSPROC DD DISP=SHR,DSN=SYS7.GLOBAL.CLIST
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
SMTPNOTE TO(something.somebody@something.com) -
SUBJECT(Report) -
DATASET('SMGT.TRY') -
BATCH
END
/*


Shoudl the o/p ps be in some other format?
Back to top
View user's profile Send private message
rahulbank

New User


Joined: 25 Sep 2008
Posts: 66
Location: Bengaluruuuuuu

PostPosted: Thu Jul 09, 2009 5:14 pm
Reply with quote

ok I found the answer use Print instead of punch now the o/p looks much better......
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 How to send email with Rich Text usin... JCL & VSAM 4
Search our Forums:

Back to Top