10 2 5 The Listener IBM i sub system starts and a job starts and then stops There are no jobs running

Installing LANSA on IBM i

10.2.5 The Listener IBM i sub-system starts and a job starts and then stops. There are no jobs running.

When you start the LANLISTEN subsystem, you may see jobs start and then stop.

Look in the QEZJOBLOG for the job logs of the programs that ran and failed. These transaction jobs will have a prefix of TP (unless you have changed the default prefix). Check for any authority problems. If no job logs are generated, you should change the jobs message logging level to LOG (4 00 *SECLVL) to get full details in the job log.

Also check the library lists being used for the jobs. Make sure that the proper libraries such as QTEMP, QGPL and the LANSA program library are included - in that sequence. (QOTHPRDOWN is used in the instructions for setting up the LANLISTEN Subsystem. QOTHPRDOWN by default has a job description QDFTJOBD. This usually does not have DCXPGMLIB in its library list.)

For multiple systems, ensure that there are separate names for the User Queue for Session Jobs otherwise you may receive errors such as  "Message . . . . : Lock operation for object LCOTPJOBS not satisfied" in the job logs.