× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Any call with parameters will be affected by this parsing issue.  Again, I'll 
reiterate that with a *CMD object, there is never any confusion by the system 
as to the size and type of parameter data.  I can't understand why this remedy 
is never adopted, but whenever this topic comes up, the solution taken is 
nearly always one of the workarounds.  Is there some problem with *CMD objects 
that I don't know about?

Eric DeLong
Sally Beauty Company
MIS-Project Manager (BSG)
940-297-2863 or ext. 1863



-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Fleming, Greg (ED)
Sent: Tuesday, June 27, 2006 6:46 AM
To: RPG programming on the AS400 / iSeries
Subject: RE: Parameters Stepping on each other


Thanks Tom,

I think we'll be OK, since the last field is a single character, and
will always have a value.  

Another thought was to skip the CL altogether and use QCMDEXC to submit
the job from the RPG service program that normally calls the CL.  I
wasn't sure if that might not have the same problem as the CL.  I'll
probably test that when I get a spare moment.  

Greg

|-----Original Message-----
|From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
|On Behalf Of qsrvbas@xxxxxxxxxxxx
|Sent: Monday, June 26, 2006 7:13 PM
|To: rpg400-l@xxxxxxxxxxxx
|Subject: RE: Parameters Stepping on each other
|
|rpg400-l-request@xxxxxxxxxxxx wrote:
|
|>   4. RE: Parameters Stepping on each other (Fleming, Greg (ED))
|>
|>And thanks to all who responded, as well.  Since, in this case, the CL
|>program is being called from another RPG procedure, I think we'll just
|>put the parms in a datastructure and pass it through the CL to the
final
|>RPG program.  I think that should avoid the problem...
|
|Greg:
|
|Be aware that, if you continue to use the CMD() parm, this will still
|exhibit the same problem although it will be isolated to trailing
blanks
|for the structure itself rather than trailing blanks for individual
*CHAR
|parms.
|
|If the last field in the struct _never_ has trailing blanks, all will
be
|fine. But...
|
|Tom Liotta
|
|--


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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

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.