IBM Support

PI85359: IDZ / RDZ REAL TIME SYNTAX CHECK SHOWS ERRORS FOR EXCLAMATION POINT CHARACTER

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • IBM / Rational Developer for z Systems real time syntax check
    shows errors for Exclamation point character
    
    This is when there are multiple *PROCESS statements and *PROCESS
    OR('!') is not the first *PROCESS statement
    
    PL/I parser is only handling the first *PROCESS statement in a
    program
    
    Errors shown are:
    Multiple markers at this line
    - Unexpected character Ignored
    - "ERROR TOKEN" unexpected tokens ignored
    and
    - "P1InfixOperators" is invalid
    
    ************* SOURCE START ****************
    *PROCESS MARGINS(1,100) MACRO;
    *PROCESS SOURCE XREF;
    *PROCESS NOT('ªˆ') DFT(BYVALUE)  ;
    *PROCESS OR('!');
    
    INFIX1: PROC() OPTIONS(MAIN);
    
    DCL AA CHAR(10);
    DCL BB CHAR(10);
    DCL CC CHAR(10);
    DCL DD CHAR(10);
    DCL CONCAT3 CHAR(20);
    
    Dcl 1 Test,
        3 Field1 char(10) ;
    AA = ' ';
    BB = ' ';
    CC = ' ';
    DD = ' ';
    
    /* Errors are shown at next 2 statements */
    IF AA > BB ! CC > DD THEN DISPLAY ('Z');
    Concat3 = 'HEL' !! 'LO';
    END INFIX1
    *************  SOURCE END   ***************
    

Local fix

  • Move the following statement *PROCESS OR('!'); to the top of the
    *PROCESS statements);
    

Problem summary

  • If the left margin is set to column 1 by a compiler option or
    *PROCESS statement, the IDz PL/I parser ignores subsequent
    *PROCESS statements.
    

Problem conclusion

  • Modified the PL/I parser to correctly handle *PROCESS
    statements, regardless of MARGINS values.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PI85359

  • Reported component name

    DEV FOR Z SYS

  • Reported component ID

    5724T0700

  • Reported release

    E00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2017-08-02

  • Closed date

    2018-01-25

  • Last modified date

    2018-01-25

  • 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

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

Document Information

Modified date:
27 October 2020