Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
SMTPNOTE o/p

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: SMTPNOTE o/p
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jul 03, 2009 7:50 pm    Post subject:
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    Post subject: SMTP JCL.
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to send email with Rich Text usin... santhosh5983 JCL & VSAM 4 Fri Apr 08, 2016 2:30 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us