Active User Checks

  • Make sure that LANSA for i is not in use.
  • Make sure that LANSA for i libraries are not in any user library list.
  • Make sure HTTP server for that LANSA for i system is not in use.
  • Make sure JSM server for that LANSA for i system is not in use.
  • Make sure that LANSA for i's listener and listener subsystem is not in use.

You can find the library names and subsystem names required by the following commands by running LANSA command <xxxPGMLIB>/LANSA ABOUT.

It is very important that if you run the LANSA ABOUT command that you must sign off and sign on again.

  • To stop any HTTP server that LANSA is using:

          ENDTCPSVR SERVER(*HTTP) HTTPSVR(<instance>)

     where <instance> is the Web Details' HTTP Instance name from the LANSA ABOUT screen.

  • To stop the JSM server that LANSA is using:

          ENDSBS SBS(<jsmlib>) OPTION(*IMMED)

     where <jsmlib> is the Integrator's Library name from the LANSA ABOUT screen.

  • To stop the LANSA listener that LANSA is using:

          ENDSBS SBS(<pgmlib>) OPTION(*IMMED)

     where <pgmlib> is the Listener Details' Subsystem name from the LANSA ABOUT screen.

  • To check if the LANSA for i to be upgraded is in use:
          WRKOBJLCK OBJ(<pgmlib>) OBJTYPE(*LIB)
WRKOBJLCK OBJ(<datalib>) OBJTYPE(*LIB)
WRKOBJLCK OBJ(<comlib>) OBJTYPE(*LIB)
WRKOBJLCK OBJ(<datalib>/DC@F02) OBJTYPE(*FILE) MBR(*FIRST)
WRKOBJLCK OBJ(<pgmlib>/DC@A01) OBJTYPE(*DTAARA)
  • It is recommended to clear the JSM server trace folder before performing an upgrade.

          <jsmlib>/CLRJSM INSTANCE('/LANSA_<pgmlib>/jsm/instance')

     where <jsmlib> is the Integrator's Library name from the LANSA ABOUT screen.

Job Queue Check

You will need the Job Queue and the Library to use for the upgrade. The default job queue is QBATCH from the library QGPL. You can use any job queue but it must be single thread.
 

  • No labels