RDi SOA 7.5 will generate the appropriate code for you if you right-click
on the RPG program in the Remote Systems view and select EGL Services >
Create EGL: External Type, Interface, and records.

Will Smythe
Product Line Manager
Host Integration, HATS, Rational Business Developer, and EGL
IBM Rational Software, RTP, NC
919.254.8771
smythew@xxxxxxxxxx

Visit the EGL Cafe - http://www.ibm.com/rational/eglcafe




|------------>
| From: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|"tim" <tim2006@xxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|"'EGL on and around the IBM i'" <egl-i@xxxxxxxxxxxx> |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|01/09/2009 09:11 AM |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|[EGL-i] externalType type HostProgram to access an iseries program |
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Sent by: |
|------------>
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|egl-i-bounces@xxxxxxxxxxxx |
>--------------------------------------------------------------------------------------------------------------------------------------------------|





Has anyone used the following code to access an iseries program? I have not
been able to get it to work.

externalType GETREC type HostProgram{

platformData =[@i5OSProgram{programName = "GETREC",

programType = NATIVE,

isServiceProgram = false,

libraryName = "PRODLIB"} ]}



function GETREC(CUST filefmt, EOF char(1), COUNT decimal(2,0)){
hostName="GETREC"};

end



--
This is the EGL on and around the IBM i (EGL-i) mailing list
To post a message email: EGL-i@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/egl-i
or email: EGL-i-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/egl-i..

This thread ...

Follow-Ups:
Replies:

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

This mailing list archive is Copyright 1997-2020 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].