-
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.
Moved and renamed
SETGT_READ02
to MUDRNRAPU001103
- Loading branch information
1 parent
f404c5f
commit 05714dc
Showing
3 changed files
with
44 additions
and
24 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
26 changes: 26 additions & 0 deletions
26
rpgJavaInterpreter-core/src/test/resources/smeup/MUDRNRAPU001103.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,26 @@ | ||
V* ============================================================== | ||
V* 18/02/2025 APU001 Creation | ||
V* ============================================================== | ||
O * PROGRAM GOAL | ||
O * Using `SETGT` and `READ` in a cycle. | ||
V* ============================================================== | ||
FST02 IF E K DISK RENAME(ST02:ST02R) | ||
D KST02F1 S LIKE(ST02F1) | ||
D KST02F2 S LIKE(ST02F2) | ||
D I S 1 0 | ||
|
||
C KRIS12 KLIST | ||
C KFLD KST02F1 | ||
C KFLD KST02F2 | ||
|
||
C EVAL KST02F1='CN' | ||
|
||
C FOR I=1 TO 3 | ||
C KRIS12 SETGT ST02 | ||
C READ ST02 35 | ||
C ST02F2 DSPLY | ||
C EVAL KST02F1=ST02F1 | ||
C EVAL KST02F2=ST02F2 | ||
C ENDFOR | ||
|
||
C SETON LR |