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



OK I think I figured it out. That server error threw me. If I'm right, it seems that if the connection name is an ip-address, the periods are interpreted as delimiters for a directory structure, which EGL doesn't seem to like too much. I could be way off, but that's what I 'think' is happening. When I changed the name to a host name, it's peachy..
________________________________________
From: egl-i-bounces@xxxxxxxxxxxx [egl-i-bounces@xxxxxxxxxxxx] On Behalf Of David Baugh [davidb@xxxxxxxxxxxxxx]
Sent: Wednesday, March 21, 2012 12:05 PM
To: EGL on and around the IBM i
Subject: Re: [EGL-i] EDT article by Joe Pluta

Mike and Joe,

I'm a newbie to EGL and Eclipse and also following Joe's tutorial (thanks Joe !!). I'm at the same page as Mike on fig 7.

I hooked into to a DB2 connection on my IBM-I. When I created the record, the list of files was built as expected and I was able to select what I need and get through that part unhindered. Then I tried adding a library, it created the code, but then I get a bunch of errors. The base error appear to be that I don't have a server.. Does this error indicate that I need to set it up as an http server on my IBM-i?


-David

-----Original Message-----
From: egl-i-bounces@xxxxxxxxxxxx [mailto:egl-i-bounces@xxxxxxxxxxxx] On Behalf Of Smith, Mike
Sent: Tuesday, March 20, 2012 11:07 AM
To: 'egl-i@xxxxxxxxxxxx'
Subject: [EGL-i] EDT article by Joe Pluta

Ok, I'm working through the tutorial from http://www.ibmsystemsmag.com/ibmi/developer/general/egl_developement_tooling

I have a couple of issues

On page 3 figure 7 I'm trying to create the library(could you give a simple explanation of library,record, service) package server; import common.*; // basic library library CustomerLib

// Use Declarations
//use usePartReference;

// Constant Declarations
const constantName string = "literalString";

// Variable Declarations
variableName string;

// Function Declarations
function getCustomer(custnumber decimal(7,0) in) returns(CUSMAS)
RGT SQLDataSource?{@resource {}};
CUSMAS CUSMAS{ CUSTNO = custnumber};
get CUSMAS from RGT;

return (CUSMAS);
end

end

on the 'get CUSMAS from RGT;' statement it tells me "No such method"


So I moved on, hoping I would get that cleared up and started working on the RUI Handler.
I can't tell from the images, how I add the variable CUSMAS and when I bring up the designer, I don't see a CUSMAS to drag on to the designer.

That's it for now.

Mike
NOTICE: This message, including any attachment, is intended as a confidential and privileged communication. If you have received this message in error, or are not the named recipient(s), please immediately notify the sender and delete this message.
--
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 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.

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