IBM Support

PH23381: Invalid SQL criteria generated for SEARCH in BATCH

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Customer is generating BATCH SEARCH JCL for ARCHIVE using SQL
    criteria.
    
    The generated JCL includes malformed SQL and causes the job to
    abort with:
    *** ERROR *** SEARCH EXPRESSION IS INVALID
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED: Optim users performing generating JCL for    *
    *                 ARCHIVE file SEARCH and using SQL criteria.  *
    ****************************************************************
    * PROBLEM DESCRIPTION: Mal-formed SEARCH control statements    *
    *                      may be generated and cause              *
    *                      "*** ERROR *** SEARCH EXPRESSION IS     *
    *                      INVALID" error.                         *
    ****************************************************************
    Customer is generating BATCH SEARCH JCL for ARCHIVE using SQL
    criteria.
    The generated JCL includes malformed SQL and causes the job to
    abort with:
    *** ERROR *** SEARCH EXPRESSION IS INVALID
    

Problem conclusion

  • Optim processing logic will be corrected.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH23381

  • Reported component name

    OPTIM MOVE FOR

  • Reported component ID

    5655V0700

  • Reported release

    B70

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-03-17

  • Closed date

    2020-04-15

  • Last modified date

    2020-05-02

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

    PH23380

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

Modules/Macros

  • FOP01B   FOP05B   FOP4PMMN FOP9APIM FOPCFPMN FOPCXLIB FOPHSTM
    FOPMAIN  FOPMARCN FOPMCMAI FOPMCOLA FOPMCOLP FOPMDMAI FOPMDPRC
    FOPMDXTR FOPMECMN FOPMIXMM FOPMMCMN FOPMMCMR FOPMMJBS FOPMMUNU
    FOPMMUTL FOPMSELM FOPMUXIM FOPOMN   FOPRS10  FOPRS2   FOPRS3
    FOPZFMMN
    

Fix information

  • Fixed component name

    OPTIM MOVE FOR

  • Fixed component ID

    5655V0700

Applicable component levels

  • RB70 PSY UI69023

       UP20/04/17 P F004

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SG19M","label":"APARs - z\/OS environment"},"Platform":[{"code":"PF054","label":"z Systems"}],"Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
04 May 2020