JCL to pass string greater than 80

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
Abdul Lateef
Member
Posts: 4
Joined: Wed Nov 23, 2011 10:49 am

JCL to pass string greater than 80

Post by Abdul Lateef » Thu Feb 23, 2012 5:39 pm

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

MrSpock
Active Member
Posts: 273
Joined: Wed Jun 27, 2007 5:37 pm

Post by MrSpock » Thu Feb 23, 2012 6:05 pm

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?

Abdul Lateef
Member
Posts: 4
Joined: Wed Nov 23, 2011 10:49 am

Post by Abdul Lateef » Thu Feb 23, 2012 6:24 pm

the problem is with e-mail address, if the length is greater than 80 then how can i pass it in JCL.

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Thu Feb 23, 2012 7:44 pm

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???
Regards
Nic

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Fri Feb 24, 2012 6:51 pm

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)
Regards,
Anuj

alijamal
Member
Posts: 4
Joined: Mon May 21, 2012 10:40 am

Post by alijamal » Tue May 22, 2012 4:02 pm

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.
Last edited by alijamal on Sat May 26, 2012 3:02 pm, edited 1 time in total.

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Tue May 22, 2012 8:53 pm

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.
Regards
Nic

User avatar
dbzTHEdinosauer
Moderator
Posts: 981
Joined: Mon Oct 02, 2006 8:31 pm

Post by dbzTHEdinosauer » Tue May 22, 2012 9:04 pm

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.
Dick Brenholtz
JCL, SQL and code in programs have an irritating habit of doing what you say,
not what you meant.

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others