× 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.



Ganesh,

See the following link, posted earlier in this thread:

http://faq.midrange.com/data/cache/70.html

Or just read the earlier posts in this thread.

Greg

|-----Original Message-----
|From: rpg400-l-bounces@xxxxxxxxxxxx
[mailto:rpg400-l-bounces@xxxxxxxxxxxx]
|On Behalf Of Ganesh Chandrasekaran
|Sent: Tuesday, June 27, 2006 10:42 AM
|To: RPG programming on the AS400 / iSeries
|Subject: RE: Parameters Stepping on each other
|
|Hi Eric,
|              Your suggestion sounds to be new. Can you give more
details
|on this?  How can you make use of *CMD object to over come this
parameter
|issue.
|
|Regards,
|Ganesh.C
|_______________________________________________________________________
____
|______
|C.Ganesh, Sr.Software Engineer, L&T Infotech Ltd., Chennai.
|Ph:044-22535737 (Dir) // Mob: 94444-63300
|
|
|
|"DeLong, Eric" <EDeLong@xxxxxxxxxxxxxxx>
|Sent by: rpg400-l-bounces@xxxxxxxxxxxx
|27-06-06 07:36 PM
|Please respond to
|RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>
|
|
|To
|"RPG programming on the AS400 / iSeries" <rpg400-l@xxxxxxxxxxxx>
|cc
|
|Subject
|RE: Parameters Stepping on each other
|
|
|
|
|
|
|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
||
||--
|
|--
|This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing
list
|To post a message email: RPG400-L@xxxxxxxxxxxx
|To subscribe, unsubscribe, or change list options,
|visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
|or email: RPG400-L-request@xxxxxxxxxxxx
|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@xxxxxxxxxxxx
|To subscribe, unsubscribe, or change list options,
|visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
|or email: RPG400-L-request@xxxxxxxxxxxx
|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@xxxxxxxxxxxx
|To subscribe, unsubscribe, or change list options,
|visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
|or email: RPG400-L-request@xxxxxxxxxxxx
|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 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.