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




Didn't someone once publish a method to use SPECIAL files for stream file
I/O?

Rob Berendt
--
Group Dekko Services, LLC
Dept 01.073
PO Box 2000
Dock 108
6928N 400E
Kendallville, IN 46755
http://www.dekko.com


|-----------------------------+-------------------------------------------|
|   "Keith Carpenter"         |                                           |
|   <CarpCon@xxxxxxx>         |                                           |
|   Sent by:                  |                                         To|
|   midrange-l-bounces@midrang|                                    "Midran|
|   e.com                     |                                    ge     |
|                             |                                    Systems|
|   08/12/2004 12:14 PM       |                                    Technic|
|                             |                                    al     |
|         Please respond to   |                                    Discuss|
|         Midrange Systems    |                                    ion"   |
|       Technical Discussion  |                                    <midran|
|      <midrange-l@xxxxxxxxxxx|                                    ge-l@mi|
|                m>           |                                    drange.|
|                             |                                    com>   |
|                             |                                         cc|
|                             |                                           |
|                             |                                     Fax to|
|                             |                                           |
|                             |                                    Subject|
|                             |                                    Re: IBM|
|                             |                                    overhau|
|                             |                                    ls     |
|                             |                                    iSeries|
|                             |                                    for the|
|                             |                                    long   |
|                             |                                    haul   |
|                             |                                           |
|                             |                                           |
|                             |                                           |
|                             |                                           |
|                             |                                           |
|                             |                                           |
|-----------------------------+-------------------------------------------|






Steve wrote:
> which explains why rpgIII had all that useless stuff in it. SPECIAL
files,
> matching records, ...

I'm no fan of the cycle, but matching record logic was quite useful.  I saw
many of these programs on the S/38.  Better database design has obsoleted
it
today.  But there are people that still code cycle programs today for use
with OPNQRYF.

SPECIAL files had a use in RPGIII.  Before all the nice ILE built-ins, it
was very nasty to code string formatting functions.  Mostly this involved
using loops and arrays.   The SPECIAL file is really just an API interface
for RPG I/O.   By coding a simple SPECIAL file program to return the
excepted output buffer on the next read,  you could use the output spec
edit
codes and edit words to format numerics into character fields.  I used this
for technique to for subfile records that required conditional formatting.


Keith

--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
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-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.