IBM Support

IJ30616: SOFTWARE SCAN ON IBMI FAILS WITH "ERROR IN FILE "S/^<!-- CATALOG VERSION ..."" DUE TO REGULAR EXPRESSION USED

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • If an IBMi partition has QLOCALE system value set to *NONE,
    resulting with the LANG variable not set in QShell, then ILMT
    software scan may fail if job CCSID is different than
    37:
    
    ---
    (2021-01-01 00:00:02) START: run_sw_console (ibm_i
    9.2.22.0)
    (2021-01-01 00:00:02) Starting Software
    Scan
    (2021-01-01 00:00:02) Checking
    prerequisites...
    (2021-01-01 00:00:06) Executing Catalog Based
    Scan (SW)...
    (2021-01-01 00:16:05) Catalog Based Scan was
    successful
    (2021-01-01 00:16:07) Executing ISO-tag Scan
    (SW)...
    (2021-01-01 00:16:15) ISO-tag Scan was
    successful
    (2021-01-01 00:16:16) Executing Package Scan
    (SW)...
    (2021-01-01 00:16:36) Package Scan was
    successful
    (2021-01-01 00:16:41) All scanners of Software Scan
    finished
    (2021-01-01 00:16:41) END: run_sw_console
    (2021-01-01
    00:16:45) START: pack_results (ibm_i 9.2.22.0)
    (2021-01-01
    00:16:45) Starting Scan Results Packaging
    (2021-01-01 00:16:45)
    Preparing the output package with scan results...
    (2021-01-01
    00:16:46) Preparing computer.yml...
    sed: 001-2272 Error in file
    "s/^<!-- Catalog Version ..." on line 1: character 1 not
    defined in the regular expression.
    ---
    
    ILMT software scan
    scripts for IBMi should be reworked to avoid regular
    expressions and dependency on system local
    settings.
    
    TS004754716
    

Local fix

  • No workaround.
    

Problem summary

  • ****************************************************************
    *****************
    ERROR DESCRIPTION:
    
    If an IBMi partition has QLOCALE system value set to *NONE,
    
    resulting with the LANG variable not set in QShell, then ILMT
    
    software scan may fail if job CCSID is different than
    
    37:
    
    
    
    ---
    
    (2021-01-01 00:00:02) START: run_sw_console (ibm_i
    
    9.2.22.0)
    
    (2021-01-01 00:00:02) Starting Software
    
    Scan
    
    (2021-01-01 00:00:02) Checking
    
    prerequisites...
    
    (2021-01-01 00:00:06) Executing Catalog Based
    
    Scan (SW)...
    
    (2021-01-01 00:16:05) Catalog Based Scan was
    
    successful
    
    (2021-01-01 00:16:07) Executing ISO-tag Scan
    
    (SW)...
    
    (2021-01-01 00:16:15) ISO-tag Scan was
    
    successful
    
    (2021-01-01 00:16:16) Executing Package Scan
    
    (SW)...
    
    (2021-01-01 00:16:36) Package Scan was
    
    successful
    
    (2021-01-01 00:16:41) All scanners of Software Scan
    
    finished
    
    (2021-01-01 00:16:41) END: run_sw_console
    
    (2021-01-01
    
    00:16:45) START: pack_results (ibm_i 9.2.22.0)
    
    (2021-01-01
    
    00:16:45) Starting Scan Results Packaging
    
    (2021-01-01 00:16:45)
    
    Preparing the output package with scan results...
    
    (2021-01-01
    
    00:16:46) Preparing computer.yml...
    
    sed: 001-2272 Error in file
    
    "s/¬<!-- Catalog Version ..." on line 1: character 1 not
    
    defined in the regular expression.
    
    ---
    
    
    
    ILMT software scan
    
    scripts for IBMi should be reworked to avoid regular
    
    expressions and dependency on system local
    
    settings.
    
    
    
    TS004754716
    
    ****************************************************************
    *****************
    * EXPECTED RESULTS:
    * The issue does not occur.
    ****************************************************************
    * RECOMMENDATION: Apply appropriate update when available.
    ****************************************************************
    

Problem conclusion

  • The fix for this APAR is contained in the following maintenance
    packages:
     | Update | ILMT 9.2.23.0
    ****************************************************************
    

Temporary fix

Comments

APAR Information

  • APAR number

    IJ30616

  • Reported component name

    LIC METRIC TOOL

  • Reported component ID

    5724LMTEM

  • Reported release

    920

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-02-01

  • Closed date

    2021-02-01

  • Last modified date

    2021-02-01

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    LIC METRIC TOOL

  • Fixed component ID

    5724LMTEM

Applicable component levels

[{"Line of Business":{"code":"LOB45","label":"Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SS8JFY","label":"IBM License Metric Tool"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"920"}]

Document Information

Modified date:
02 February 2021