IBM Support

PM55948: EGL COBOL error IGYDS1160-S Character(s) '-' were found as 'PICTURE' string character

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • APAR Error Description:
    Abstract: In Rational Business Developer (RBD) version 8.0.1.2,
    attempts to compile a generated EGL COBOL program result in
    error
    IGYDS1160-S Character(s) '-' were found as 'PICTURE' string
    character
    Problem: Problem is caused by an incorrect usage of substring
    like for example:
    
    program MyProg type BasicProgram {}
    
     function main()
      str1 char(20)='hello world';
      str2 char(9);
    
      str2=str1[13:3];
     end
    end
    
    Local fix:
    Correct the substring to use valid begin and end offsets.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    EGL validation was not validating the integer literal
    indeces used on a substring access. No validation error is
    thrown for and index that is less than 1, or if the first
    index is greater than the second index.
    

Problem conclusion

  • This validaiton has been added.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM55948

  • Reported component name

    RATL BUS DEV

  • Reported component ID

    5724S5000

  • Reported release

    801

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-01-13

  • Closed date

    2012-10-08

  • Last modified date

    2012-10-08

  • 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

  • R801 PSN

       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.0.1","Edition":"","Line of Business":{"code":"LOB35","label":"Mainframe SW"}}]

Document Information

Modified date:
08 October 2012