I am working with the imexit.c, which is included in cmod.
Started off by doing gcc indexexnf imexit.c to compile. Then I send a file through. Without the exit being referenced in the index params, it works fine.
: APK415I INDEX16=X'C4D3C2C1D9',FIELD16,(TYPE=GROUP,BREAK=YES)
: APK415I DCFPAGENAMES=NO
: APK415I UNIQUEBNGS=YES
: APK415I IMAGEOUT=ASIS
: APK415I INDEXOBJ=ALL
: APK415I INDEXSTARTBY=1
: APK415I INSERTIMM=NO
: APK415I RESTYPE=ALL
: APK415I CHARS=GT15
: APK415I FDEFLIB=/home/archive/reslib/
: APK415I PDEFLIB=/home/archive/reslib/
: APK415I PSEGLIB=/home/archive/reslib/
: APK415I FONTLIB=/home/archive/reslib/
: APK415I OVLYLIB=/home/archive/reslib/
: APK415I INDXEXIT=/opt/ibm/ondemand/V10.1/exits/acif/indexexnf
: APK415I INPUTDD=/home/jsquier/SY91.CCM40D1.APP.AG.20171009.101654.ARD
: APK415I OUTPUTDD=/home/jsquier/SY91.CCM40D1.APP.AG.20171009.101654.ARD.out
: APK415I INDEXDD=/home/jsquier/SY91.CCM40D1.APP.AG.20171009.101654.ARD.ind
: APK415I RESOBJDD=/home/jsquier/SY91.CCM40D1.APP.AG.20171009.101654.ARD.res
: APK425S USER INDEX EXIT /opt/ibm/ondemand/V10.1/exits/acif/indexexnf WAS NOT FOUND.
: APK441I ACIF AT PI72113 HAS COMPLETED ABNORMALLY WITH RETURN CODE 16.
2017-12-28 14:33:20.403303: ARS4309E Indexing failed
But..
jsquier@server [02:33:33] /opt/ibm/ondemand/V10.1/exits/acif/ ->ls -l | grep indexexnf
-rwxrwxrwx. 1 root root 8816 Dec 28 14:22 indexexnf
any ideas?