IBM Support

PM04428: Serv Flow tool generates illegal COBOL MOVE statement

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Service Flow tool is generating illegal COBOL MOVE
    statement when CAST operations are in Custom Mapping expression
    
    MOVE (WS-FLOAT-CAST(1) * WS-INTEGER-CAST(1)) TO TOTALCOST OF
    
     OUTPLACEORDERRESPONSE OF OUTPLACEORDERRESPONSEMSG.
    
    IGYPS2106-S '(' was found in the 'MOVE' statement.
    
    You can't do arithmetic in a MOVE. That should probably be
    COMPUTE.
    

Local fix

Problem summary

  • When a target field was defined as numeric (either float or
    integer) and a custom mapping expression, with CAST operations
    and arithmatic included, such as the following was used to
    assign a value to that target field, incorrect COBOL code was
    generated by the Service Flow runtime code generator.
    CAST(fieldA AS FLOAT) * CAST(fieldB AS INTEGER)
    

Problem conclusion

  • The Service Flow runtime code generator was modified to
    recognize the data type of the target field as being a numeric
    field and generate the appropriate COMPUTE command.
    The problem listed in this APAR has been resolved with
    IBM Rational Developer for System z V7.6.1 Refresh Pack which
    is available from the Recommended Fixes support download page:
    http://www-1.ibm.com/support/docview.wss?rs=2294&uid=swg27006335
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM04428

  • Reported component name

    RATL DEV FOR SY

  • Reported component ID

    5724T0700

  • Reported release

    760

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-01-05

  • Closed date

    2010-05-22

  • Last modified date

    2010-05-22

  • 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 DEV FOR SY

  • Fixed component ID

    5724T0700

Applicable component levels

  • R761 PSY

       UP

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

Document Information

Modified date:
22 May 2010