Page 1 of 1

JCL to pass string greater than 80

Posted: Thu Feb 23, 2012 5:39 pm
by Abdul Lateef
Hi Team,

I have a job which uses IEBGENER utility to send email to the recipient.
This job work fine if the email id is lessthan 80 characters.

My question is it possible to send email which is having length greater than 80 characters in jcl. If so then what would be the syntax for it.

Thanks in advance.

Thanks,
Lateef

Posted: Thu Feb 23, 2012 6:05 pm
by MrSpock
huh??

There's not a length restriction in SMTP (at least up to about 1K) so your topic doesn't make much sense. What happens when your message (I presume you're talking about the SMTP message here) is over 80 characters?

Posted: Thu Feb 23, 2012 6:24 pm
by Abdul Lateef
the problem is with e-mail address, if the length is greater than 80 then how can i pass it in JCL.

Posted: Thu Feb 23, 2012 7:44 pm
by NicC
As far as I am aware IEBGENER does not take parameters so you cannot pass one from JCL. If you mean your record in SYSUT1 is greater than 80 bytes then use a dataset with the necessary LRECL.

What has this to do with DB2???

Posted: Fri Feb 24, 2012 6:51 pm
by Anuj Dhawan
NicC wrote:What has this to do with DB2???
Ignorance...:)
the problem is with e-mail address, if the length is greater than 80 then how can i pass it in JCL.
Possibly continue in second line! (only if I understood what you mean)

Posted: Tue May 22, 2012 4:02 pm
by alijamal
If you are familiar with MVS and JCL, you will probably notice some similarity between command job control cards and JCL. This similarity is purposeful and was intended to make CJLI easier to understand for JCL adepts and to make MVS users more comfortable with CJLI (MVS users who do not have any mailing system such as UCLA mail and have difficulties sending/receiving messages are often forced to use (basic) CJLI control cards to send commands to LISTSERV). However, like mainframe testing there are a number of differences between CJLI and JCL and you should not assume that a given JCL card has the same meaning and syntax as its CJLI counterpart. Some JCL features which were deemed to be unnecessary (e.g. dataset concatenation with a blank DD card) have not been implemented, and new features have been implemented whenever required.

Posted: Tue May 22, 2012 8:53 pm
by NicC
alijamal

I see no relevance between your post and the topic. So far you have made 6 posts - none of them relevant. If you wish to continue here then please make relevant posts.

Posted: Tue May 22, 2012 9:04 pm
by dbzTHEdinosauer
Nic,

he was up to 16 earlier today before I came thru with the delete.
but, as i am not a moderator in this forum,
his garbage is safe - but not where I am a moderator.