Skip to main content

JES user exit cannot be found when the MFJUXIT environment variable is not set

  • April 26, 2016
  • 0 replies
  • 0 views

Problem:

At runtime, the JES user exit could not be found.  In general, JES user exits can be compiled to .gnt, and the full path to a JES user exit can be specified by the MFJUXIT environment variable, but the customer did not want to set this environment variable because it introduced other problems.

Resolution:

For a JES user exit to be found on Linux/UNIX without setting the MFJUXIT environment variable, the JES user exit must be named exactly MFJUXIT.  It will not be found if compiled to .gnt; instead it must be compiled to .so using "cob -zU", then placed in one of the directories within $LD_LIBRARY_PATH, in order to be found.

This customer's MFJUXIT also needed to be compiled with INITCALL"rtsora_t.so". In order for the INITCALL to work at runtime, rtsora_t.so also had to be placed in one of the directories within $LD_LIBRARY_PATH.

(original support incident 2831730)


#MFDS
#EnterpriseDeveloper

0 replies

Be the first to reply!