|
The following enhancements are available with PTFs:
- New date formats *DMYY, *MDYY, *YYMD, similar to *EUR, *USA, *ISO, but
the new formats allow all the usual separators. They can't be used for
definitions; they can only be used with %CHAR, %DATE, %DEC, MOVE, MOVEL,
TEST.
- Implicit CCSID conversion for the string built-in functions.
dcl-s name varchar(25) ccsid(*utf8);
p = %scan('.' : name); // Formerly not allowed (different CCSIDs)
- Diagnostic messages in the compiler give the whole name (up to 100
characters)
For this line:
5 if medication_dose > max_dose(medication_type);
Before, the error message would be
RNF7030 The name or indicator MEDICAT... is not defined.
Now, the error message is
RNF7030 The name or indicator MEDICATION_DOSE is not defined.
PTFs:
7.5 TGTRLS(*CURRENT): 5770WDS SJ08064
7.6 TGTRLS(*CURRENT): 5770WDS SJ08065
7.6 TGTRLS(V7R5M0): 5770WDS SJ08092
The enhancement to define a variable like an enum is not available yet.
There will be later PTFs.
See the announcement in the RPG Cafe:
https://www.ibm.com/support/pages/node/1106229#announcement
--
Barbara
--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.