Jim - the issue is that if you pass in a character parameter to a variable that is longer than 32, you will likely have junk after position 32. The command line parser makes an assumption and pads string shorter than 32 out to that length with blanks and puts it at some address. But what the program sees is that address - not the actual value - so whatever is at that address is what is read - those first 32, plus the next 18, whatever they are.

There are knowledge base articles at IBM on this, as well as the FAQ links pointed to here at midrange.com

HTH
Vern
-------------- Original message --------------
From: "Jim Waymire" <jwaymire@xxxxxxxxxxxxxxxxxx>

Michael,
What is the issue on this? I am sending a parm that can be up to 50
characters long.
Jim

from: "Michael Ryan"
Are you sending the parms into the CL via a command? Beware of the >32
character issue with parms.

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

This thread ...


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

This mailing list archive is Copyright 1997-2019 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].