-
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 #685 from smeup/feature/LS24005347/missing-found
Feature/ls24005347/missing found
- Loading branch information
Showing
7 changed files
with
83 additions
and
2 deletions.
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
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
29 changes: 29 additions & 0 deletions
29
rpgJavaInterpreter-core/src/test/resources/smeup/MUDRNRAPU00279.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,29 @@ | ||
V* ============================================================== | ||
V* 11/12/2024 APU002 Creation | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * SCAN followed by %FOUND | ||
V* ============================================================== | ||
O * JARIKO ANOMALY | ||
O * Before the fix, jariko did not consider SCAN accountable for %FOUND | ||
V* ============================================================== | ||
D RESULT S 1 0 | ||
D BASE S 6 INZ('XCABCD') | ||
|
||
C 'ABC' SCAN BASE RESULT | ||
C RESULT DSPLY | ||
C IF %FOUND | ||
C 'FOUND' DSPLY | ||
C ELSE | ||
C 'NOT FOUND' DSPLY | ||
C ENDIF | ||
|
||
C 'FOO' SCAN BASE RESULT | ||
C RESULT DSPLY | ||
C IF %FOUND | ||
C 'FOUND' DSPLY | ||
C ELSE | ||
C 'NOT FOUND' DSPLY | ||
C ENDIF | ||
|
||
C SETON RT |
23 changes: 23 additions & 0 deletions
23
rpgJavaInterpreter-core/src/test/resources/smeup/MUDRNRAPU00280.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,23 @@ | ||
V* ============================================================== | ||
V* 11/12/2024 APU002 Creation | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * LOOKUP followed by %FOUND | ||
V* ============================================================== | ||
O * JARIKO ANOMALY | ||
O * Before the fix, jariko did not consider LOOKUP accountable for %FOUND | ||
V* ============================================================== | ||
D RESULT S 1 0 | ||
D FND S N | ||
D ARY S 3 DIM(10) | ||
C EVAL ARY(1)='ABC' | ||
C* Lookup opcode found | ||
C 'ABC' LOOKUP ARY 26 | ||
C EVAL FND=%FOUND | ||
C FND DSPLY | ||
C* Lookup opcode not found | ||
C 'FOO' LOOKUP ARY 26 | ||
C EVAL FND=%FOUND | ||
C FND DSPLY | ||
|
||
C SETON RT |