MIDRANGE dot COM Mailing List Archive



Home » MIDRANGE-L » April 2014

Re: CLP pgm with 2 paramters intermittently getting garbage whencalled from AJS



fixed

Roger -
*not* a bug. This is expected behavior when you you pass a value shorter than the defined parameter length [when the parameter is defined as having length > 32].
- sjl


"Roger Harman" wrote in message news:mailman.70.1397078240.2655.midrange-l@xxxxxxxxxxxx...

I had to laugh at this discussion. Just this morning I got bit by the 32 character >>> bug <<< when testing something from a command line. Once I dumped the CL, the problem/resolution pretty much jumped off the screen. Passed 33 chars to a 35 long parm and ended up with two nulls that some vendor software did not like.

It's been years since I ran across this but funny that, after resolving my issue, I logon and see this whole thread.







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact