View previous topic :: View next topic
|
Author |
Message |
Saurabh Pune
New User
Joined: 26 May 2009 Posts: 23 Location: USA
|
|
|
|
Hi,
I have tried searching through out the forum and got so far and just hung up at last step, Thanks in advace for your help:
I have to do some checks on ESP which get into a DS of LRECL of 133 and then has to send it as an attachment ( rqrmts are pretty same)
If I do it with SYSUT DD * as below
Code: |
//JS015 EXEC PGM=IEBGENER,
// COND=(0,LT)
//SYSUT1 DD *
HELO CS01
MAIL FROM:<SAURABH.XXXXXX@XXXXX.COM>
RCPT TO:<SAURABH.XXXXXX@XXXXX.COM>
DATA
FROM: SAURABH.XXXXXX@XXXXX.COM
TO: SAURABH.XXXXXX@XXXXX.COM
SUBJECT: CS01 ESP JOBS THAT HAVE FAILED OR ARE IN PREDWAIT STATE.
MIME-VERSION: 1.0
CONTENT-TYPE: TEXT/PLAIN
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=IDWJOBS.TXT
===================================================
FOLLOWING ARE CS01 ESP JOBS THAT HAVE FAILED OR ARE IN PREDWAIT STATE.
(CREATED BY PRNDXXXX)
// DD DSN=XXXXXX.PRND.PRNDDES3.ESPRPT4,DISP=SHR
// DD DSN=OFFSAC.CTLLIB.EXIT,DISP=SHR
//SYSUT2 DD SYSOUT=B,DEST=(CS01,SMTP),
// DCB=(RECFM=FB,LRECL=133)
|
Spool says " DATA SET UTILITY - GENERATE
IEB311I CONFLICTING DCB PARAMETERS " and MAXCC 12
I get an MAXCC 12 and If I put the same with in a DS of 133 LRECL , I t gives MAX CC 0 gives the result in spool but no email.
BLKSIZE of all the three DS are same as below.
Code: |
//JS015 EXEC PGM=IEBGENER,
// COND=(0,LT)
//SYSUT1 DD DSN=XXXXXX.CTLLIB.TOOL,DISP=SHR
// DD DSN=XXXXXX.PRND.PRNDDES3.ESPRPT3,DISP=SHR
// DD DSN=XXXXXX.CTLLIB.EXIT,DISP=SHR
//SYSUT2 DD SYSOUT=B,DEST=(CS01,SMTP),
// DCB=(RECFM=FB,LRECL=133)
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//*****************************************************************
|
Let me know if anything else is needed.
I have searched thruout the forum. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
This needs to be put into a file with LRECL 133 and not kept instream:
Code: |
HELO CS01
MAIL FROM:<SAURABH.XXXXXX@XXXXX.COM>
RCPT TO:<SAURABH.XXXXXX@XXXXX.COM>
DATA
FROM: SAURABH.XXXXXX@XXXXX.COM
TO: SAURABH.XXXXXX@XXXXX.COM
SUBJECT: CS01 ESP JOBS THAT HAVE FAILED OR ARE IN PREDWAIT STATE.
MIME-VERSION: 1.0
CONTENT-TYPE: TEXT/PLAIN
CONTENT-DISPOSITION: ATTACHMENT; FILENAME=IDWJOBS.TXT
===================================================
FOLLOWING ARE CS01 ESP JOBS THAT HAVE FAILED OR ARE IN PREDWAIT STATE.
(CREATED BY PRNDXXXX) |
|
|
Back to top |
|
|
Saurabh Pune
New User
Joined: 26 May 2009 Posts: 23 Location: USA
|
|
|
|
When I keep the code Instream the job goes good with MAX CC 0 but no email id being received while I received the mail when the lrecl was 80 ??? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
You would be best off contacting your site support group, who can look at your actual job output to determine what happened. They can also turn on debugging in the SMTP started task and look at more details about what SMTP gets for your job.
Without actual job output to look at, we cannot do much. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
I won't be able to contact somebody else.... |
Why not?
Schwab has quite a few excellent technical people. . . |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
Schwab has quite a few excellent technical people. . .
|
very true, but I doubt that is the problem.
probably, the TS's firm, has very few, and don't want the client to know that fact. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Quote: |
probably, the TS's firm, has very few, and don't want the client to know that fact. |
And the post i quoted has magically disappeared. . .
d |
|
Back to top |
|
|
|