IBM Support

PM91241: The modulo arithmetic expression used against a character variable produces compiler errors'

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • IGYPS0027-S Non-COBOL character(s) were found starting with '%'
    in column 34. The modulo arithmetic expression used against a
    character variable produces compiler errors
    

Local fix

Problem summary

  • A COBOL compiler error is produced when trying to do a modulo
    (%) expression against a character variable instead of a numeric
     variable. EGL cobolGen allows character variables to be used as
     numeric variables. The logic in the generator was incorrect for
     modulo when using it this way. It should be noted at using
    character variables as numeric ones, has significant CPU
    overhead and should be avoided when performance is a
    consideration.
    

Problem conclusion

  • The software has been updated to produce correct COBOL source
    when using modulo against a character variable.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM91241

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-06-17

  • Closed date

    2013-10-28

  • Last modified date

    2013-10-28

  • 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

    RATL BUS DEV

  • Fixed component ID

    5724S5000

Applicable component levels

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSMQ79","label":"Rational Business Developer"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
28 October 2013