|
Create a command for submitting the CL, which describes the parameters, and submit the command - it will work perfectly. Regards Rick -----Original Message----- From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com]On Behalf Of Robert Upshall Sent: Thursday, September 20, 2001 10:56 AM To: rpg400-l@midrange.com Subject: parameter passing I am experienceing a weird problem I hope somebody can help me with. I have an RPGILE program that calls a CLLE program, this CLLE pgm submits a second CLLE program which in turn calls a RPGLE program: RPG--(call)-->CL--(submit)-->CL--(call)-->RPG The problem is on the submit the parms get messed up, if I change the submit in the second CL to be a call it all works fine. The parms I am passing a char(1),char(1),char(5000),char(5000). The 2 char(5000) get really messed up on the submit, the data in the field is duplicated, escape chars are add, just plain messed up. Does anybody know why this happens on a submit and not on the call. And how can I fix this? Robert Upshall Professional Software of Amarillo (806) 358-8928 rupshall@psasoft.com _______________________________________________ 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-2025 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.