If the source type is RPG36, the record length on the F-spec must agree with
the record length on disk. There is no LevelCheck=*No in this scenario.
Been there, done that.
Jerry C. Adams
Science is what we do to keep from lying to ourselves. -Richard Feynman
IBM i Programmer/Analyst
--
NMM&D
615-832-2730
-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxxxxxxxx] On Behalf Of
Justin Taylor
Sent: Friday, July 19, 2019 9:24 AM
To: RPG programming on IBM i
Subject: RE: Flat file & update length
True about RPG36. I forgot to mention the source types in question are all
RPG and RPGLE.
-----Original Message-----
From: mlazarus [mailto:mlazarus@xxxxxxxxxxxx]
Sent: Friday, July 19, 2019 8:17 AM
To: RPG programming on IBM i <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: Re: Flat file & update length
Justin,
That is correct. On the i you shouldn't even have to change the F spec.
On the /36 the program blew up if the recl did not match.
-mark
On 7/19/2019 8:55 AM, Justin Taylor wrote:
Given an S/36 flat file 100 long and an RPG program with F-specs defined
for update with O-specs. If the flat file is lengthened to 120, what if
anything will happen with existing programs? I believe that since positions
101-120 aren't defined, they'll be untouched. I'm looking for a second
opinion. What do you guys think?
TIA
--
This is the RPG programming on IBM i (RPG400-L) mailing list To post a
message email: RPG400-L@xxxxxxxxxxxxxxxxxx To subscribe, unsubscribe, or
change list options,
visit:
https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://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:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.