×
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.
On 8/5/2011 6:39 AM, Eric Lee wrote:
I'm trying to call an RPG program with a Data structure as a program
parameter, but the data doesn't come in formatted as I have defined
them.
Use PCML to call the program ... VERY easy to define data structures.
<pcml version="3.0">
<program name="SymbolicProgramEntryPointName"
path="/QSYS.LIB/%LIBL%.LIB/SRVORPGM.srvpgm"
entrypoint="HOST_PROGRAM_ENTRYPOINT">
<struct name="parms" usage="output">
<data name="subfield1" type="char" length="120" />
<data name="subfield2" type="int" length="4" precision="31" />
<data name="subfield3" type="char" length="10" />
<data name="subfield4" type="char" length="32" />
<data name="subfield5" type="char" length="32" />
<data name="subfield6" type="char" length="10" />
<data name="subfield7" type="char" length="1" />
</struct>
</program>
</pcml>
david
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.