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..
As an Amazon Associate we earn from qualifying purchases.