-
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 #600 from smeup/bugfix/LS24003807/s-to-ds
Bugfix/ls24003807/S to DS with positive number
- Loading branch information
Showing
14 changed files
with
358 additions
and
12 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
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,26 @@ | ||
V* ============================================================== | ||
D* 26/08/24 | ||
D* Purpose: Must fire the following errors during execution of | ||
D* `MOVEL` from `S` to `DS`. | ||
D* line 24 - Wrong value. | ||
V* ============================================================== | ||
D A40_A50 S 50 | ||
D A40_DS1 DS | ||
D A40_DS1_F1 1 20 | ||
D A40_DS1_F2 21 40 | ||
D A40_DS1_F3 41 45 0 | ||
D A40_DS1_F4 46 50P 2 | ||
|
||
D A40_DS2_F4_S S 20 | ||
|
||
C EVAL A40_A50 = 'Lorem ipsum dolor si' | ||
C + 't amet, consectetuer' | ||
C + '0000500520' | ||
|
||
C MOVEL A40_A50 A40_DS1 | ||
C A40_DS1_F1 DSPLY | ||
C A40_DS1_F2 DSPLY | ||
C A40_DS1_F3 DSPLY | ||
C EVAL A40_DS2_F4_S=%CHAR(A40_DS1_F4) | ||
V* Cannot assign Zoned number as Packed | ||
C A40_DS2_F4_S DSPLY |
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* ============================================================== | ||
D* 26/08/24 | ||
D* Purpose: Must fire the following errors during execution of | ||
D* `EVAL` from `S` to `DS`. | ||
D* line 24 - Wrong value. | ||
V* ============================================================== | ||
D A40_A50 S 50 | ||
D A40_DS1 DS | ||
D A40_DS1_F1 1 20 | ||
D A40_DS1_F2 21 40 | ||
D A40_DS1_F3 41 45 0 | ||
D A40_DS1_F4 46 50P 2 | ||
|
||
D A40_DS2_F4_S S 20 | ||
|
||
C EVAL A40_A50 = 'Lorem ipsum dolor si' | ||
C + 't amet, consectetuer' | ||
C + '0000500520' | ||
|
||
C EVAL A40_DS1=A40_A50 | ||
C A40_DS1_F1 DSPLY | ||
C A40_DS1_F2 DSPLY | ||
C A40_DS1_F3 DSPLY | ||
C EVAL A40_DS2_F4_S=%CHAR(A40_DS1_F4) | ||
V* Cannot assign Zoned number as Packed | ||
C A40_DS2_F4_S DSPLY |
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* ============================================================== | ||
D* 26/08/24 | ||
D* Purpose: Must fire the following errors during execution of | ||
D* `MOVEL` from `S` to `DS`. | ||
D* line 24 - Wrong value. | ||
V* ============================================================== | ||
D A40_A50 S 50 | ||
D A40_DS1 DS | ||
D A40_DS1_F1 1 20 | ||
D A40_DS1_F2 21 40 | ||
D A40_DS1_F3 41 45 0 | ||
D A40_DS1_F4 46 50S 2 | ||
|
||
D A40_DS2_F4_S S 20 | ||
|
||
C EVAL A40_A50 = 'Lorem ipsum dolor si' | ||
C + 't amet, consectetuer' | ||
C + ' 0050052 ' | ||
|
||
C MOVEL A40_A50 A40_DS1 | ||
C A40_DS1_F1 DSPLY | ||
C A40_DS1_F2 DSPLY | ||
C A40_DS1_F3 DSPLY | ||
C EVAL A40_DS2_F4_S=%CHAR(A40_DS1_F4) | ||
V* Is not possible to assign a number with at least one blank char at the end. | ||
C A40_DS2_F4_S DSPLY |
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* ============================================================== | ||
D* 26/08/24 | ||
D* Purpose: Must fire the following errors during execution of | ||
D* `EVAL` from `S` to `DS`. | ||
D* line 24 - Wrong value. | ||
V* ============================================================== | ||
D A40_A50 S 50 | ||
D A40_DS1 DS | ||
D A40_DS1_F1 1 20 | ||
D A40_DS1_F2 21 40 | ||
D A40_DS1_F3 41 45 0 | ||
D A40_DS1_F4 46 50S 2 | ||
|
||
D A40_DS2_F4_S S 20 | ||
|
||
C EVAL A40_A50 = 'Lorem ipsum dolor si' | ||
C + 't amet, consectetuer' | ||
C + ' 0050052 ' | ||
|
||
C EVAL A40_DS1=A40_A50 | ||
C A40_DS1_F1 DSPLY | ||
C A40_DS1_F2 DSPLY | ||
C A40_DS1_F3 DSPLY | ||
C EVAL A40_DS2_F4_S=%CHAR(A40_DS1_F4) | ||
V* Is not possible to assign a number with at least one blank char at the end. | ||
C A40_DS2_F4_S DSPLY |
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* ============================================================== | ||
D* 26/08/24 | ||
D* Purpose: Must fire the following errors during execution of | ||
D* `EVAL` from `S` to `DS`. | ||
D* line 24 - Wrong value. | ||
V* ============================================================== | ||
D A40_A50 S 50 | ||
D A40_DS1 DS | ||
D A40_DS1_F1 1 20 | ||
D A40_DS1_F2 21 40 | ||
D A40_DS1_F3 41 45 0 | ||
D A40_DS1_F4 46 50S 2 | ||
|
||
D A40_DS2_F4_S S 20 | ||
|
||
C EVAL A40_A50 = 'Lorem ipsum dolor si' | ||
C + 't amet, consectetuer' | ||
C + '0005 00520' | ||
|
||
C EVAL A40_DS1=A40_A50 | ||
C A40_DS1_F1 DSPLY | ||
C A40_DS1_F2 DSPLY | ||
C A40_DS1_F3 DSPLY | ||
V* Is not possible to assign a number with at least one blank char at the end. | ||
C EVAL A40_DS2_F4_S=%CHAR(A40_DS1_F4) | ||
C A40_DS2_F4_S DSPLY |
Oops, something went wrong.