View previous topic :: View next topic
|
Author |
Message |
meetsrk
New User
Joined: 13 Jun 2004 Posts: 85
|
|
|
|
Im tryin to send a mail with attachment thru JCL. And i get the below error ..
Code: |
DATA SET UTILITY - GENERATE
WER276B SYSDIAG= 442548, 908245, 908245, 457954
WER164B 6,896K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B 256K BYTES RESERVE REQUESTED, 1,000K BYTES USED
WER146B 24K BYTES OF EMERGENCY SPACE ALLOCATED
WER108I SYSUT1 : RECFM=FB ; LRECL= 80; BLKSIZE= 80
WER171A CONCAT DS, LRECLS NE OR RECFMS DIFF
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
SYNCSORT COPY FEATURE CALLED - RC = 12
|
The file which im attaching is of Record length . . . : 7832 ..
But when i send a file of RL as 80 .. it is succesfully sent ..
Pls advice ..
Thanks in advance. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Code: |
WER171A CONCAT DS, LRECLS NE OR RECFMS DIFF |
The message is clear,
You are trying to concatenate files with different dcb' s atttributes and that's
nowhere allowed
in Your "code" there is nothing related to "send Mail" it is just
a sort/syncsort sysout |
|
Back to top |
|
|
stodolas
Active Member
Joined: 13 Jun 2007 Posts: 632 Location: Wisconsin
|
|
|
|
You can't send line lengths over 1000 through email. See previous discussions on this. |
|
Back to top |
|
|
meetsrk
New User
Joined: 13 Jun 2004 Posts: 85
|
|
|
|
Thanks for pointing out .. but i dont use any other files in concatenation ..
Code: |
//SYSUT1 dd *
<mail instruct>
/*
// dd dsn=<attachment of file RL = 7832>, disp=shr
// dd *
<mail instruc>
/*
|
pls advice. |
|
Back to top |
|
|
meetsrk
New User
Joined: 13 Jun 2004 Posts: 85
|
|
|
|
Oh thanks Steve .. didnt see ur message ..
Is there anyway .. i can send this file as attachement? |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
YES YOU DO !!
in Your jcl stub there is a ..
Code: |
//sysut1 dd ...
folllowed by
// dd ...
followed by
// dd ...
|
if that is not a dataset concatenation...
how would You call it
remeber that, as per MVS device independence,
a DD statement defines a dataset, even if it is made up of inline
data as in the case of a ...DD * |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Another remark ( I hit submit too fast )
the message You got is not related at all to mail processing
it' s just a CONCATENATION related issue
the fact that mail might have other issues is not part of this thread |
|
Back to top |
|
|
meetsrk
New User
Joined: 13 Jun 2004 Posts: 85
|
|
|
|
e.s ... thanks a lot .. found the issue ....
The member where is wrote my pgm is off 80 bytes ..
so when i used sysut1 dd * .. it took 80 bytes and another was 7832 ..
...
well i now i have given mail instr in a file which of length 7832 and it work fine ..
Thank u all again!!! |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Good to hear it is now working
If you post the jcl and control statements you used to run successfully, it may help someone with a similar question later. |
|
Back to top |
|
|
|