|
I did in the original post as a part of the subject line. RNF7701.
Compile time error.
Please provide us with the "error" that you are receiving? Is it a
compile time error or run time error?
On 2/20/2015 8:17 AM, RPG List wrote:
Ok so I changed the x = y to eval-Corr ToDs = Tds and still gives me the
same error.
A data structure defined with LIKEREC is a QUALIFIED data structure.
The
names of the subfields will be qualified with the new data structure
name, DS1.SUBF1.
You will need to map (move) the fields from tDs to the fields in toDs.
The EVAL-CORR is a convenient opcode for doing so if you are on a newer
release or if the data structures are identical you may then move tDS
to
toDs before the write.
On 2/20/2015 7:57 AM, RPG List wrote:
I am baffled by this error, aside from not telling me much of anything--
I
have not been able to figure out how to get around it.
I have two files (one is a temp file in qtemp and the other a
permanent
table)
FtpoDtl1 if a e Disk Qualified
FpoDtl if a e Disk Qualified
DS's declared:
D tDs ds LikeRec(tpoDtl1.rPoDtl:*Input)
D toDs ds LikeRec(tpoDtl1.rPoDtl:*Output)
Now I'm reading the qtemp file into the DS:
Read tPoDtl1 tDs;
Write it out to the permanent file:
Write poDtl.rPoDtl toDs;
That's all there is to this particular problem.
Any help would be appreciated, even if its with the end of a Thompson
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.
--
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.
As an Amazon Associate we earn from qualifying purchases.
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.