|
> -----Original Message----- > From: rpg400-l-bounces@xxxxxxxxxxxx / Bob Cozzi > > Ah... you can't pass binary data as a parm to a CALL on a submit > job command > and expect it to "behave". > Meaning, if you embed "binary" data in the middle of "text" the > binary data > will be treated as the character equivalent of the binary data. Hence if > B'0125' is a QUOTE you will have a QUOTE in your parameter string. > What can you do about it? Not much short of wrapping the call in something > that can read the data structure and then call the program; > passing the data > as a parm via compiled-call will work, of course. > -Bob Cozzi Wow. Heckuva good catch, Bob! Binary 0125 = hex '7D' = quote character I'd have pulled a few hairs before coming up with that one! db
As an Amazon Associate we earn from qualifying purchases.
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.