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



That said, it'd be nice to be able to extend such a data structure. Can't say I've needed that functionality a lot, but here and there it would have been nice.

Kurt Anderson
Sr. Programmer/Analyst - Application Development, Service Delivery Platform

-----Original Message-----
From: RPG400-L [mailto:rpg400-l-bounces@xxxxxxxxxxxx] On Behalf Of Jon Paris
Sent: Friday, October 31, 2014 4:36 PM
To: Rpg400 Rpg400-L
Subject: Re: Adding field to data structure

You cannot add to the end of a LikeRec structure Jim - if you could it wouldn't be "like" the record.

Not exactly sure what you are trying to do - but if you ultimately want a DS array then maybe something like this?

D* store data from file and formatted part for each part
D vcdataArr ds Dim(99)
D vcdata likerec(inmvcross1)
D vfmtpart like(inmvpart)
D vfmtcpart like(inmvcpart)


Jon Paris

www.partner400.com
www.SystemiDeveloper.com

On Oct 31, 2014, at 4:22 PM, Horn, Jim <jim.horn@xxxxxxxxxxxxxx> wrote:

Friday afternoon. Trying to add fields to the end of a data structure
to later use in a data structure array. Can't remember how. Thought
it was like this.


D* store data from file and formatted part for each part
D vcdata ds likerec(inmvcross1)
D vfmtpart like(inmvpart)
D vfmtcpart like(inmvcpart)

D* data structure array to store a part/vmrs group for processing
D vc ds likeds(vcdata) dim(200)

Get this error
*RNF3703 20 2 The subfield or parameter definition is not specified
within a group.
on vfmtpart and vfmtcpart

Thanks

Jim

--


**********************************************************************
* The information transmitted is intended solely for the individual or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, retransmission, dissemination or
other use of or taking action in reliance upon this information by
persons or entities other than the intended recipient is prohibited.
If you have received this email in error please contact the sender and
delete the material from any computer. As a recipient of this email,
you are responsible for screening its contents and the contents of any
attachments for the presence of viruses. No liability is accepted for
any damages caused by any virus transmitted by this email.

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

Follow-Ups:

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.