|
My solution to this problem was to place the parameter in an on-the-fly data area and picking it back up in the called program - worked well then... Capt.j -----Original Message----- From: Fordham, Ken (MAN-Corporate) [mailto:Ken.Fordham@cox.com] Sent: Thursday, October 10, 2002 10:00 AM To: 'rpg400-l@midrange.com' Subject: RE: Length limit on passed parms I had that problem years ago. I would have thought IBM had fixed that by now. My solution then was to convert the blanks to some other character (that would not normally occur in the data passed) in the sending program and then to convert those characters back to blanks in the receiving program. It seemed that this problem would occur whenever sending a char field that was more than about 20 bytes long. Ken -----Original Message----- From: Richard Carpenter [mailto:rich1865@operamail.com] Sent: Thursday, October 10, 2002 12:47 PM To: rpg400-l@midrange.com Subject: Length limit on passed parms I'm trying to setup a procedure using passed 50 character parameter, but I can't get it to work. I keep getting garbage, as seen here: 'This is a test NE 1234567890' >From 'NE' on, it is garbage. Any one have any suggestions, other than making the parameter smaller? Thanks in advance Richard -- __________________________________________________________ Download the FREE Opera browser at www.opera.com/download/ Free OperaMail at http://www.operamail.com/ Powered by Outblaze _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l.
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.