OnDemand User Group

Support Forums => Report Indexing => Topic started by: adamosullivan on October 13, 2020, 11:00:58 AM

Title: Call index exit (written in C) from arsload in Windows using OS/390 indexer?
Post by: adamosullivan on October 13, 2020, 11:00:58 AM
Good afternoon,

We are trying to set up an index exit to be run on Windows via arsload.exe (10.5.0.0), loading to a z/OS CMOD instance (10.1.05).

Is it possible for arsload.exe to call an index exit written in C, using the OS/390 indexer?

(IBM's documentation has info about using ACIF for this purpose, but not OS/390:  https://www.ibm.com/support/knowledgecenter/en/SSEPCD_10.1.0/com.ibm.ondemand.ir.doc/dodim000.htm)
Title: Re: Call index exit (written in C) from arsload in Windows using OS/390 indexer?
Post by: Ed_Arnold on October 13, 2020, 11:51:09 AM
Hello Adam - I believe it can.

If you take a look here:

https://www.ibm.com/support/knowledgecenter/en/SSEPCD_10.5.0/com.ibm.ondemand.ir.doc/dodiz058.htm

That's the doc for the OS/390 Indexer on Multiplatforms.

The OS/390 Indexer is now common code between all platforms, and I also believe it's written in C.

Anyway, in the doc for multiplatforms you can see all of the exits listed as available.

On z/OS there is a sample ANYEXIT in C in SARSINST(ARSECANY).

/*********************************************************************/
/*                                                                   */
/* MODULE NAME: ARSECANY.C                                           */
/*                                                                   */
/*                                                                   */
/* SYNOPSIS:  OnDemand 390 indexer sample anystore exit              */
/*                                                                   */
/*                                                                   */
/* DESCRIPTION:  This module contains the ANYEXIT function           */


I, personally, have never done any exit work for indexers so I'm afraid I can't be of much more assistance.

Ed