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



Try reversing it:
D DSName          DS
     D   Part1                      3A
     D   Part2                      3A
     D   Part3                      3A
     D   Field                      3A    Dim(3) overlay(part1)


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





Michael Jacobsen <MJacobsen@xxxxxxxxxxxxxxxx> 
Sent by: rpg400-l-bounces+rob=dekko.com@xxxxxxxxxxxx
05/18/2005 04:00 PM
Please respond to
RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx>


To
rpg400-l@xxxxxxxxxxxx
cc

Subject
DS / Overlay keyword






I have a question about using Overlay(Fieldname: *Next). 

This (simplied example) works: 

D DSName          DS
     D   Field                        3A    Dim(3)
     D   Part1             1        3 
     D   Part2             4        6 
     D   Part3             7        9 


But I want to do this without using positions to define the fields. 


I tried this:

D DSName          DS
     D   Field                      3A    Dim(3) 
     D   Part1                      3A   Overlay(Field: *Next)
     D   Part2                      3A   Overlay(Field: *Next)
     D   Part3                      3A   Overlay(Field: *Next) 

And I get this error:

RNF7303S Subfield PART2 defined with keyword OVERLAY is too big; 
specification ignored.
RNF7303S Subfield PART3 defined with keyword OVERLAY is too big; 
specification ignored.

I want Field(1) = Part1,  Field(2) = Part2,  and Field(3) = Part3

Is there any way to do this using Overlay or without defining the fields 
using positions?  The fields Part1, Part2, Part3, are also already defined 

in an external file.  I don't know if that will make a difference or not. 



Thanks!

Mike

-- 
This is the RPG programming on the AS400 / 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 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.