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



Steve,

Your question wasn't "what would be easier for my cohorts to read?" Your question was "is it possible..." And, Charles is right. It's possible.

IVALIN DS
I B 1 20VILEN
I 3 242 VIDATA
*
C MOVELVALUE VIDATA
C ' ' CHEKRVALUE VILEN
*
C CALL 'THEPGM'
C PARM VALIN
C PARM VALOUT
C PARM ESIZE
C PARM EDELIM
C PARM DDNAME
C PARM PRERR



sjl wrote:
As I indicated in the OP, from my OPM program I need to call an RPGIV program that expects a varying-length value to be passed in the first parameter. I haven't tried your suggestion yet, but rather than creating a binary field for the length in front of my data field in my OPM program, I think that my idea of a wrapper program will be easier to implement and less confusing to the other programmers that work here.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.