@Dennis - Good catch Dennis on the write of the format. Yes, the shop
standard is that physical files end in 'P'.
@John - In this case this is the full code of a procedure which does
nothing more than write the record.
On 2011-11-16 6:21 AM, Dennis Lovelady wrote:
Yes. There have been plenty of times I subconsciously or inadvertently
correct the code before sharing. Freud lives on! :)
Dennis Lovelady
[1]
http://www.linkedin.com/in/dennislovelady
--
Life would be so much easier if we could just look at the source code.
On Tue, Nov 15, 2011 at 7:10 PM, Dennis Lovelady [2]<iseries@xxxxxxxxxxxx>
wrote:
I think he said he tends to read a file, write a record
(which is a COBOL requirement, by the way). So it
must be that the file has a P appended to the Record
name.
Ah, you are right. He did say that. Well, it was still worth asking
whether there was something else in the code. Sometimes what we think
is irrelevant hides bugs or performance hogs. We may want to "tidy
up" our example to share with others, with the perfectly good
intention of keeping the post uncluttered, but unwittingly omit
something that has unintended bearing on the problem. Just trying to
cover all bases here.
John
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: [3]RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [4]
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: [5]RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [6]
http://archive.midrange.com/rpg400-l.
References
Visible links
1.
http://www.linkedin.com/in/dennislovelady
2. mailto:iseries@xxxxxxxxxxxx
3. mailto:RPG400-L@xxxxxxxxxxxx
4.
http://lists.midrange.com/mailman/listinfo/rpg400-l
5. mailto:RPG400-L-request@xxxxxxxxxxxx
6.
http://archive.midrange.com/rpg400-l
As an Amazon Associate we earn from qualifying purchases.