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



I may be misremembering all of the implications of this, but I've seen this
used all the time in a package from a vendor who refuses to update their
code. Most of the time, the usage of the file in the program is for read
only or write only, but it has the full "UF A E" syntax.

The only thing I came up with is that they are doing a "full open" so that
everything will share the same ODP.

Craig Pelkie

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Tuesday, June 06, 2017 9:24 AM
To: Rpg400 Rpg400-L
Subject: Re: Any legitimate reason for 'UF A E' file defn when output only?

Copy/Paste Don't think.

I love the new free-form declarations because when copy/pasting this kind of
definition it would be obvious and hopefully all but the laziest of
programmers would have spotted it and made the adjustments. Most people
can't remember what letter in which column means what and as a result there
are a lot of cloned F-specs out there that make no sense.


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Jun 6, 2017, at 12:14 PM, Dan <dan27649@xxxxxxxxx> wrote:

On Tue, Jun 6, 2017 at 12:01 PM, James H. H. Lampert <
jamesl@xxxxxxxxxxxxxxxxx> wrote:

On 6/6/17, 8:49 AM, Dan wrote:

So, my question here: Is there any legitimate reason that I'm
missing why you would want to force a write to storage for every
single output operation?


Synchronization with something else running concurrently in a
different job?

Nope.


Of course, there's always the possibility that the program evolved
from (or the line was simply cut and pasted from) something that DID
need to read and/or update the file, and nobody gave any thought to
optimization.

This is what I'm thinking as well, but wanted to make sure I wasn't
missing some obscure technique.

- Dan
--
This is the RPG programming on the IBM i (AS/400 and iSeries)
(RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: http://amzn.to/2dEadiD

--
This is the RPG programming on the IBM i (AS/400 and iSeries) (RPG400-L)
mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives at
http://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related questions.

Help support midrange.com by shopping at amazon.com with our affiliate link:
http://amzn.to/2dEadiD


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.