Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow standalone node without pic clause for the supported usage… #2420

Conversation

ap891843
Copy link
Contributor

@ap891843 ap891843 commented Aug 5, 2024

… clause

allow standalone node without pic clause for the following usage clause:
INDEX, POINTER, POINTER_32, PROCEDURE_POINTER, FUNCTION_POINTER, OBJECT_REFERENCE, COMPUTATIONAL_1, COMPUTATIONAL_2, COMP_1, COMP_2

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test below code do not throw diagnostics as it compiles fine ( also IBM doc says the same)
       IDENTIFICATION DIVISION.
       PROGRAM-ID. TEST1.
       DATA DIVISION.
       WORKING-STORAGE SECTION.
       01  PARENT USAGE POINTER-32.
       01  PARENT2 USAGE POINTER.
       01  PARENT3 USAGE INDEX.
       01  PARENT4 USAGE COMP-1.
       01  PARENT5 USAGE COMPUTATIONAL-1.
       01  PARENT6 USAGE COMPUTATIONAL-2.
       01  PARENT7 USAGE COMP-2.
       01  PARENT8 USAGE PROCEDURE-POINTER.
       01  PARENT9 USAGE FUNCTION-POINTER.
       01  PARENT10 USAGE OBJECT REFERENCE.
       PROCEDURE DIVISION.

Checklist:

  • Each of my commits contains one meaningful change
  • I have performed rebase of my branch on top of the development
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • I have checked my code and corrected any misspellings

… clause

allow standalone node without pic clause for the following usage clause:
INDEX, POINTER, POINTER_32, PROCEDURE_POINTER, FUNCTION_POINTER, OBJECT_REFERENCE, COMPUTATIONAL_1, COMPUTATIONAL_2, COMP_1, COMP_2

Signed-off-by: ap891843 <aman.prashant@broadcom.com>
@ap891843 ap891843 force-pushed the fix/data_item1_without_pic_cluase branch from b5d86de to a2e6616 Compare August 5, 2024 15:10
@ap891843 ap891843 marked this pull request as ready for review August 5, 2024 15:45
@ap891843 ap891843 merged commit bf85ebd into eclipse-che4z:development Aug 8, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants