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



Francois,

That is not real DS support.

1) That method brings in the individual fields, but you can't use it as a DS. IOW, CHGVAR &yourExtDS &yourExtDS1 will not work.

2) It takes up a DCLF slot, which is undesirable.

-mark

On 1/21/2020 8:39 AM, Francois Lavoie wrote:
David,

There is already Data Structure support in a CLP/CLLE with DCLF FILE(yourExtDS) // All DSs should be externally defined, but that's another debate...

What is missing is the possibility to IMPORT(myExportedDS) parameter on the DCLF to have the fields initialized with the values of the exported DS


-----Original Message-----
From: RPG400-L<rpg400-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of David G via RPG400-L
Sent: Monday, January 20, 2020 17:40
To: RPG programming on IBM i<rpg400-l@xxxxxxxxxxxxxxxxxx>
Cc: David G<david@xxxxxxxxxxxx>
Subject: Re: Import a DS in a CLLE ?

On Mon, Jan 20, 2020 at 3:42 PM Vernon Hamberg<vhamberg@xxxxxxxxxxxxxxx>
wrote:

I think an RFE would be good, not sure it would be prioritized, but if
you get lots of votes from all your relatives and everyone in your
hometown... :)

I logged an RFE for CL data structure support.

https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=134466

David


As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.