× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



> From: DeLong, Eric
>
> When you are building AS400CMD, you are exceeding the max length
> of AS400CMD
> because none of the component strings are VARYING.  Either add VARYING to
> some of the sub-fields (namely EMAILBODY, which is 450 of your total 500
> bytes) or make you AS400CMD field bigger.

Actually, do both.  It looks like your command should be at least 600
characters long; make it 1000, it won't hurt anything.  Second, add the
VARYING keyword to the EMAILBODY and EMAILSUBJ fields.  This will
automatically truncate any unused space.  Also, from what I can tell, your
EMAILBODY is well over 245 characters.  I'd make that one 500 (but VARYING).

I also agree with Bob that you can't pass a VARYING field to QCMDEXC.  I'd
take the VARYING off of AS400CMD (but make the field 1000 long).  That will
probably do what you need.

Joe


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.