OnDemand Users Group

Support Forums => CMOD for z/OS Server => Topic started by: jmimi on June 10, 2016, 09:39:52 AM

Title: msg ARS1196E with Generic Indexing
Post by: jmimi on June 10, 2016, 09:39:52 AM
Hello,
I've just upgraded CMOD from v8.5.0.4 to v9.5.0.5 on ZOS v2.1 Platform.
I have a problem vith a generic indexation during ARSLOAD.

=> msg ARS1196E Invalid generic index file format: >GROUP_OFFSET:0

The .ind file is generated with a REXX.

But when I change the content of the .ind file in "EDIT Mode" under ISH, the ARSLOAD works normally.

Do you have an idea on the problem ? I found some problem between CCSID & CODEPAGE for the .ind file on internet,
since the v.8.5.0.5. But it seems to concern the i server plateform only...

Thanks for your help,
Best regards,
Jean-Michel
Title: Re: msg ARS1196E with Generic Indexing
Post by: jmimi on June 10, 2016, 12:53:15 PM
Hello again... ;-)

The problem came from the REXX coding:
offset = substr(lig.a,1,(pos(' ',lig.a))) <====== here !
choffset = 'GROUP_OFFSET:' !! offset !! esc_n
'write' fd 'choffset' length(choffset)       


The result was 

GROUP_OFFSET:0<blank>

The blank after the 0 is now not supported...

So to solve the problem, I changed the REXX code with:

offset = strip(substr(lig.a,1,(pos(' ',lig.a))))

And the problem is resolved...  :)

Have a nice week-end !
Best regards,
Jean-Michel
Title: Re: msg ARS1196E with Generic Indexing
Post by: Ed_Arnold on June 10, 2016, 03:43:31 PM
Jean-Michel - thank you for posting the resolution for this problem.

Ed