View previous topic :: View next topic |
Author |
Message |
m.vinay kumar Beginner
Joined: 02 Jun 2015 Posts: 7 Topics: 2
|
Posted: Wed Jun 03, 2015 1:43 am Post subject: LRECL of PS to be sent is >80 ??? |
|
|
Can you please post the JCL if LRECL of PS is Greater than 80. ?? _________________ Vinay Kumar |
|
Back to top |
|
|
m.vinay kumar Beginner
Joined: 02 Jun 2015 Posts: 7 Topics: 2
|
Posted: Wed Jun 03, 2015 1:46 am Post subject: |
|
|
If the report generated is having RECFM=FB and LRECL>80 ..this is not working.
Please give me another JCL for LRECL>80 .. _________________ Vinay Kumar |
|
Back to top |
|
|
m.vinay kumar Beginner
Joined: 02 Jun 2015 Posts: 7 Topics: 2
|
Posted: Wed Jun 03, 2015 1:51 am Post subject: JCL for Sending PS as Mail content |
|
|
What would be the JCl if RECFM =FB and LRECL>80 for PS content to be sent as a Mail ?? _________________ Vinay Kumar |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12359 Topics: 75 Location: San Jose
|
Posted: Wed Jun 03, 2015 10:58 am Post subject: |
|
|
m.vinay kumar,
Please do NOT send in emails seeking help. We will respond to your queries on the helpboards itself as and when we get to it.
Show us the JCL that you tried with LRECL > 80. it should like this assuming that you have 133 byte report.
Code: |
/SYSUT1 DD DISP=SHR,DSN=Your 133 byte mail address list file
// DD DISP=SHR,DSN=Your 133 byte Report file
|
_________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
m.vinay kumar Beginner
Joined: 02 Jun 2015 Posts: 7 Topics: 2
|
Posted: Thu Jun 04, 2015 1:14 am Post subject: |
|
|
Now I am getting CC0000 without DCB parameters conflict error log.
But I'm receiving mail without any attachment as below.
Unable to deliver mail to some/all recipients. Code: |
050 DATA 00000400
501 Syntax Error. No Args after 'DATA' command
050 SUBJECT:TEST MESSAGE FROM MVS USING SMTP 00000500
500 Unknown command, 'SUBJECT'
050 VINAY KUMAR KUMARVI.IEFBER14.JCL
500 Unknown command, 'VINAY'
050
500 Unknown command, ''
** Text of Mail follows **
HELO MVSHOST 00000100
MAIL FROM:<VINAY.KUMAR***.COM> 00000200
RCPT TO:<VINAY.KUMAR3***.COM> 00000300
DATA 00000400
SUBJECT:TEST MESSAGE FROM MVS USING SMTP 00000500
VINAY KUMAR KUMARVI.IEFBER14.JCL
|
jcl: Code: |
//SMTPTEST JOB ACCT,'VINAY',MSGCLASS=X,CLASS=B,NOTIFY=&SYSUID
//SENDNOTE EXEC PGM=IEBGENER
//SYSIN DD DUMMY
//SYSPRINT DD SYSOUT=*
//SYSUT2 DD SYSOUT=(B,SMTP)
//SYSUT1 DD DSN=KUMARVI.TEST.TEST,DISP=SHR
// DD DSN=KUMARVI.IEFBER14.JCL,DISP=SHR
KUMARVI.TEST.TEST content :
000100 HELO MVSHOST
000200 MAIL FROM:<VINAY.KUMAR3**.COM>
000300 RCPT TO:<VINAY.KUMAR3**.COM>
000400 DATA
000500 SUBJECT:TEST MESSAGE FROM MVS USING SMTP
KUMARVI.IEFBER14.JCL Content:
VINAY KUMAR KUMARVI.IEFBER14.JCL
Please check and correct my error |
_________________ Vinay Kumar |
|
Back to top |
|
|
Terry_Heinze Supermod
Joined: 31 May 2004 Posts: 391 Topics: 4 Location: Richfield, MN, USA
|
Posted: Thu Jun 04, 2015 8:16 am Post subject: |
|
|
Vinay,
Please learn how to use the Code tags. I see that you've tried but weren't completely successful.
Code: | Click Code, paste your code, then click Code again, and your code should end up in the correct place. Click Preview before hitting Submit. |
_________________ ....Terry |
|
Back to top |
|
|
m.vinay kumar Beginner
Joined: 02 Jun 2015 Posts: 7 Topics: 2
|
Posted: Thu Jun 04, 2015 9:30 am Post subject: |
|
|
Yes Terry, Thanks for your advice.
Please help me for my above query and guide me to overcome that. _________________ Vinay Kumar |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12359 Topics: 75 Location: San Jose
|
Posted: Thu Jun 04, 2015 10:02 am Post subject: |
|
|
m.vinay kumar,
You first need to understand the rules.
1. Do NOT post links from other helpboards. You need to pick one board of your choice (I don't care if it is a competitor board) and if you do not get the answer within reasonable time (8 hours min) then only you can post on this board.
2. As for your problem, try getting rid off the Line numbers in columns 72 thru 80 and rerun your job. _________________ Kolusu - DFSORT Development Team (IBM)
DFSORT is on the Web at:
www.ibm.com/storage/dfsort
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
Vinay Kumar M Beginner
Joined: 02 Jun 2015 Posts: 12 Topics: 6
|
Posted: Wed Jun 24, 2015 2:48 am Post subject: |
|
|
Hi Kolusu
Thanks a lot. Its working |
|
Back to top |
|
|
|
|