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