-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #705 from smeup/bugfix/LS24003795/incongruou-defin…
…ifion-between-two-ds-by-using-api Bugfix/LS24003795/Incongruous definifion between two DS by using API
- Loading branch information
Showing
9 changed files
with
107 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/COPY QILEGEN,£PDS | ||
/COPY QILEGEN,£C5PDS | ||
|
||
/API QILEGEN,ERROR53_API | ||
|
||
C EVAL £UDO2F = 'FOO' | ||
C EVAL U$FUW2 = 'BAR' | ||
C £UDO2F DSPLY | ||
C U$FUW2 DSPLY |
2 changes: 2 additions & 0 deletions
2
rpgJavaInterpreter-core/src/test/resources/QILEGEN/ERROR53_API.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
D/COPY QILEGEN,£PDS | ||
D £UDO2I 1025 1025 |
21 changes: 21 additions & 0 deletions
21
rpgJavaInterpreter-core/src/test/resources/QILEGEN/£C5PDS.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
D U$FUW2 1 400 | ||
D U$AMBI 1 2 | ||
D U$FUNZ 3 4 | ||
D U$METO 5 6 | ||
D U$TPOG 7 18 | ||
D U$CDOG 19 33 | ||
D U$PERT 34 35 | ||
D U$COND 36 37 | ||
D U$SCHE 38 38 | ||
D U$MODA 39 39 | ||
D U$51AZ 40 41 | ||
D U$51DV 42 44 | ||
D U$51ES 45 48 | ||
D U$LOGI 49 50 | ||
D U$STRP 51 51 | ||
D U$SANA 52 53 | ||
D U$TRPC 54 61 | ||
D U$COD$ 101 250 DIM(10) | ||
D U$IMPO 251 400 | ||
D U$PRZA 401 401 | ||
D U$PARM 402 901 |
27 changes: 27 additions & 0 deletions
27
rpgJavaInterpreter-core/src/test/resources/smeup/MUDRNRAPU001101.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
V* ============================================================== | ||
V* 22/08/2024 APU001 Creation | ||
V* 06/02/2025 API001 Changed name | ||
V* 06/02/2025 API001 Improved description | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * Strict inclusions, by `API` directive, of a DS already | ||
O * from caller program. | ||
O * This one declares `£UDLDA`, by using `/COPY QILEGEN,£PDS`, | ||
O * and appends to it other fields by using | ||
O * `/COPY QILEGEN,£C5PDS`. | ||
O * `MUDRNRAPU001101_API`, imported by `API` directive, | ||
O * imports only `£UDLDA`, without any addition. | ||
V* ============================================================== | ||
O * JARIKO ANOMALY | ||
O * Before the fix, the error occurred was | ||
O * `Incongruous definitions of £UDLDA`. | ||
V* ============================================================== | ||
/COPY QILEGEN,£PDS | ||
/COPY QILEGEN,£C5PDS | ||
|
||
/API QILEGEN,MUDRNRAPU001101_API Jariko Runtime Error: `Incongruous definitions of £UDLDA` | ||
|
||
C EVAL £UDO2F = 'FOO' | ||
C EVAL U$FUW2 = 'BAR' | ||
C £UDO2F DSPLY | ||
C U$FUW2 DSPLY |
1 change: 1 addition & 0 deletions
1
rpgJavaInterpreter-core/src/test/resources/smeup/QILEGEN/MUDRNRAPU001101_API.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
D/COPY QILEGEN,£PDS |
21 changes: 21 additions & 0 deletions
21
rpgJavaInterpreter-core/src/test/resources/smeup/QILEGEN/£C5PDS.rpgle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
D U$FUW2 1 400 | ||
D U$AMBI 1 2 | ||
D U$FUNZ 3 4 | ||
D U$METO 5 6 | ||
D U$TPOG 7 18 | ||
D U$CDOG 19 33 | ||
D U$PERT 34 35 | ||
D U$COND 36 37 | ||
D U$SCHE 38 38 | ||
D U$MODA 39 39 | ||
D U$51AZ 40 41 | ||
D U$51DV 42 44 | ||
D U$51ES 45 48 | ||
D U$LOGI 49 50 | ||
D U$STRP 51 51 | ||
D U$SANA 52 53 | ||
D U$TRPC 54 61 | ||
D U$COD$ 101 250 DIM(10) | ||
D U$IMPO 251 400 | ||
D U$PRZA 401 401 | ||
D U$PARM 402 901 |