Topic
  • 2 replies
  • Latest Post - ‏2019-02-14T11:37:26Z by JSQ5_Piotr_Sroczynski
JSQ5_Piotr_Sroczynski
2 Posts

Pinned topic Incomplete outline view

‏2018-11-21T10:23:49Z | /if defined directive outlineview

In RDi 9.6.0.4 the outline view does not contain definitions enclosed with /IF DEFINED ... /END directive. Any suggestions how to solve or avoind this problem?

  • EdmundReinhardt
    EdmundReinhardt
    274 Posts
    ACCEPTED ANSWER

    Re: Incomplete outline view

    ‏2018-11-21T14:26:49Z  

    The RPG parser uses the preferences for the program verifier to determine what is defined and therefore what source to parse/verify.

    Type in the word "Defines" in the preferences to see the appropriate preference page

    Hope this helps,

    Edmund

  • EdmundReinhardt
    EdmundReinhardt
    274 Posts

    Re: Incomplete outline view

    ‏2018-11-21T14:26:49Z  

    The RPG parser uses the preferences for the program verifier to determine what is defined and therefore what source to parse/verify.

    Type in the word "Defines" in the preferences to see the appropriate preference page

    Hope this helps,

    Edmund

  • JSQ5_Piotr_Sroczynski
    2 Posts

    Re: Incomplete outline view

    ‏2019-02-14T11:37:26Z  

    The RPG parser uses the preferences for the program verifier to determine what is defined and therefore what source to parse/verify.

    Type in the word "Defines" in the preferences to see the appropriate preference page

    Hope this helps,

    Edmund

    Hi Edmund,

    Thank you for your answer. But the problem I described appears in outline view for the copy book code which has /IF DEFINED directive.

    In the code to which copybook is includeed I can see all definitions because the code contains appropriate  /DEFINE directive.

    For example:

    In the copybook file MYSOURCE/MAININCL you have the following specification:

     

           /IF DEFINED (CustIncludes)

         D CustAddrDs      DS     410       Qualified

         D  AddrLine1             100A

         D  AddrLine2             100A

         D  AddrLine3             100A

         D  City                   50A

         D  District               50A

         D  ZipCode                10A

          /ENDIF

    In the main code we add specification:

          /DEFINE CustIncludes

                 /INCLUDE MYSOURCE, MAININCL

    When you open copybook in LPEX editor in the outline view you can't see the CustAddrDs.

    In main code where definitione is included the outline view shows CustAddrDs definitione with all subfields.

     

    Piotr