IBM Support

PI92220: REAL-TIME SYNTAX ERROR IN COBOL SOURCE WHEN USING SPECIAL REGISTER LENGTH WITHOUT PARAMETERS IN OR OF

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • In Rational Developer for z Systems (RDz) v9.5.1.6, in a COBOL
    source when the optional "IN" or "OF" of special register
    "LENGTH" is omitted, a real-time syntax error is issued. Here is
    an example of the LENGTH special register LENGTH statement where
    OF is omitted:
    
    MOVE LENGTH A TO B
    

Local fix

  • Add "IN" or "OF" to  LENGTH special register statement
    

Problem summary

  • The compiler considers IN/OF following LENGTH to be optional.
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PI92220

  • Reported component name

    ID/Z UTILITIES

  • Reported component ID

    5724T0733

  • Reported release

    951

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2018-01-09

  • Closed date

    2018-01-30

  • Last modified date

    2018-01-30

  • 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

    DEV FOR Z SYS

  • Fixed component ID

    5724T0700

Applicable component levels

  • R951 PSY

       UP



Document information

More support for: Rational Developer for System z

Software version: 951

Reference #: PI92220

Modified date: 30 January 2018