OnDemand User Group
Support Forums => Report Indexing => Topic started by: jsquizz on December 28, 2017, 12:47:18 PM
-
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?
-
Do you have the same path in your ars.cfg file with the user exit setting.
All user exits need to be the path specified in the user path. It can not be the default path. Found that out the hard way 😩
-
Doesnt like it for some reason
ARS_USER_EXITS_DIR=/tmp
-rwxrwxrwx. 1 root root 8816 Dec 29 10:19 indexexnf
From my app setting-
INDXEXIT=indexexnf
Any more suggestions before i bug IBM?
-
I have to ask. Did you cycle CMOD after updating the cfg file.
😀
I would also try a path other than tmp. I used. ../v9.5/bin/userexits/
-
Yea, same thing
APK415I INDXEXIT=indexexnf
APK425S USER INDEX EXIT indexexnf WAS NOT FOUND.
APK441I ACIF AT PI72113 HAS COMPLETED ABNORMALLY WITH RETURN CODE 16.
jsquier@if21t54od [01:39:05] /opt/ibm/ondemand/V10.1/bin/exits/ ->ls -latr
total 20312
-r--r--r--. 1 root root 6008 Mar 21 2017 arsfterm
-r-xr-xr-x. 1 root root 4341048 Aug 8 16:27 arssmtsm
-r-xr-xr-x. 1 root root 4776344 Aug 8 16:27 arsorcle
-r-xr-xr-x. 1 root root 4772312 Aug 8 16:27 arsdb2
-r-xr-xr-x. 1 root root 6869104 Aug 8 16:27 arscmn64
-rwxrwxrwx. 1 root root 12342 Dec 20 13:19 indexexnf
ARS_USER_EXITS_DIR=/opt/ibm/ondemand/V10.1/bin/exits/
Any thoughts? Wishing you the best in 2018
-
It can’t be the the same as the IBM exits folder. That was a hidden gem not mentioned by IBM!!!
-
Wonderful. Made changes, but-
From the 88 message-
APK425S USER INDEX EXIT /exits/indexexnf WAS NOT FOUND.
From ars.cfg-
admin@server [09:30:20] ~/ ->more /opt/ibm/ondemand/V10.1/config/ars.cfg | grep EXIT
ARS_USER_EXITS_DIR=/exits
From app settings-
INDXEXIT=/exits/indexexnf
-
I am not sure but things to check.
1. You cycled CMOD server
2. Permissions on /exits folder and on indexexnf
3. Are you loading via command line or a daemon? Cycle the daemon as well
4. You are running the arsload on the same server?
-
Okay, this may be totally unrelated, but I'll jump in because we don't seem to be making any headway.
Someone else wrote this - can't take credit, can't answer questions - but maybe it'll give a clue?
Compiling C Language arsuperm Exit for Content Manager OnDemand for z/OS®
http://www-01.ibm.com/support/docview.wss?uid=swg21459509 (http://www-01.ibm.com/support/docview.wss?uid=swg21459509)
Ed