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



Rob,

There has been some good information provided describing ILE so I won't try
to duplicate that.

As to your example, don't overcomplicate it with ILE.  Presuming you are
moving from RPG/400 to RPG/IV (ILE) writing a Q&D program as described below
would be essentially the same.  Probably the only difference would be a
change in the F spec layout and the use of D specs for arrays, tables and
miscellaneous field definitions.  You can write the calculations just as you
would in RPG/400.  In simple terms, where the ILE features of the language
come into play is when you are building more involved applications and would
want to modularize the code.

Rick

 -----Original Message-----
From:   Rob Phillips [mailto:niceguy420l@yahoo.com] 
Sent:   Thursday, January 16, 2003 9:29 PM
To:     Midrange Systems Technical Discussion
Subject:        RE: New to ILE


I have been reading the IBM online manuals. Is there some way to explain it
in laymens terms? 
For example. (I don't work in a perfect world). I want to write a simple Q&D
program, to inspect a file that comes from the warehouse management system,
PKMS. Sometimes the guys in the warehouse enter an incorrect volume amount,
or a file there had bad data in it. When the shipment info comes up to EDI,
I visually can see that there are some problems with the data that the
customer will reject, or worse, we would be telling the customer to being 3
trucks instead of 1.  (For those familiar with EDI I am referring to the
753). Anyhow, I would write a final check program to make sure that the
volumes make sense to the weight of an item. This is done by looking up the
weight of the style, multiplying by qty, cartons, etc...
In traditional RPG, this is a very simple program. You are reading the file
that contains shipment info that will go into the EDI process. You are
taking the style number and for aguments sake, chaining against a logical
that has the style number as the key. When there is a problem encountered,
you produce an error warning listing, but you also go ahead and correct the
data as described above regarding the weight. 
In ILE, how would this simple program be accomplished?
 "Hall, Philip" <phall@spss.com> wrote:Rob,

> I am reading about ILE and I cannot get a handle on it.

What source(s) are you reading about ILE from ? Perhaps we could suggest
other material to you.

--phil

_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



---------------------------------
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
_______________________________________________
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo.cgi/midrange-l
or email: MIDRANGE-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.