View previous topic :: View next topic
|
Author |
Message |
rahulbank
New User
Joined: 25 Sep 2008 Posts: 66 Location: Bengaluruuuuuu
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
rahulbank
New User
Joined: 25 Sep 2008 Posts: 66 Location: Bengaluruuuuuu
|
|
|
|
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 |
|
|
rahulbank
New User
Joined: 25 Sep 2008 Posts: 66 Location: Bengaluruuuuuu
|
|
|
|
ok I found the answer use Print instead of punch now the o/p looks much better...... |
|
Back to top |
|
|
|