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



Hi Peter -

On Fri, 4 Jan 2013 09:49:08 -0500, "Vidal, Peter"
<Peter.Vidal@xxxxxxxxxxxxxxx> wrote:

I know. I just want to learn this technique using a CL and this small service desk request will help me visualize it.

Support was added to CL for based fields. I've never used it so maybe
I'm out to lunch on this, but it seems to me that if all of the fields
are the same size, you could define a big field that is the size of
all of the fields combine, then overlay all of the 60 fields on it.
Then you could calculate a offset from the counter and %SST the
specific chunk of the big field which contains that specific one of
the 60 fields.

Basically you would be trading a whole bunch of CHGVAR statements for
a whole bunch of DCL statements.

You would have to do something similiar in RPG also, although there
you could overlay on to an array so you could use an array index
instead of having to calculate an offset.

Ken
Opinions expressed are my own and do not necessarily represent the views
of my employer or anyone in their right mind.

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.