Old versions of system variable evaluation programs can interfere with your current system

Date: 18 May 2009
Product/Release: LANSA for iSeries V11.3
Abstract: Your system may have old versions of the system variable evaluation programs in partition program libraries from previous export/imports
Submitted By: LANSA Technical Support


The following fix was shipped in LANSA V11.3.

CCS#: 0123052 (Defect)
Description: LANSA supplied system variable evaluation programs excluded from import/export
Originator: LANSA USA
EPC Superceded: None
Detailed Description: Standard system variable evaluation programs will not be automatically included in an export and will not be imported.
These standard evaluation programs are LANSA supplied programs.
They should not be imported since they may have been exported from an earlier version.
They do not need to be included in an export since they must exist in any target LANSA system.
These programs are [email protected], [email protected], [email protected], [email protected] and [email protected]

However, this fix does not clean up existing system variable evaluation programs that may exist on your environment and have the potential to cause errors. These may exist from imports prior to 11.3, which, by default, placed the system variable evaluation programs in the partition module library.


The following steps can be used to locate all the extra copies of those system variable evaluation programs and eliminate them (from all but the actual [email protected] or DCXPGMLIB, etc.)

  1. Issue the WRKOBJ command to find all copies of [email protected] *PGM
    WRKOBJ OBJ(*ALL/[email protected]) OBJTYPE(*PGM)
  2. For each extra copy of [email protected] identified above (not in the "real" [email protected] or DCXPGMLIB, etc.), issue
    RNMOBJ OBJ(xxxxxxxxxx/[email protected]) OBJTYPE(*PGM) NEWOBJ([email protected])
    After issuing this command, ensure that your LANSA system and LANSA applications execute as normal.
  3. Later, delete the renamed programs for each program renamed above, e.g.
    DLTPGM PGM(xxxxxxxxxx/[email protected])
  4. You can complete steps 1-3 to clean your environment of each of the extraneous standard evaluation programs.