Re: Most of the fall 2025 enhancements for RPG are available now
Jon Paris <[email protected]>
| Newsgroups | gmane.comp.lang.as400.rpg |
|---|---|
| Message-ID | <[email protected]> |
Yup - that's what YY means. Y = 2, YY = 4 digits in year. Jon Paris [email protected] > On Nov 21, 2025, at 9:29 AM, Javier Sanchez <[email protected]> wrote: > > Barbara, > > The YY part of the date formats support 4-digit years? > > JS > > El vie, 21 nov 2025 a las 6:57, Barbara Morris (<[email protected]>) > escribió: > >> 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: [email protected] >> To subscribe, unsubscribe, or change list options, >> visit: https://lists.midrange.com/mailman/listinfo/rpg400-l >> or email: [email protected] >> Before posting, please take a moment to review the archives >> at https://archive.midrange.com/rpg400-l. >> >> Please contact [email protected] for any subscription related >> questions. >> >> > -- > This is the RPG programming on IBM i (RPG400-L) mailing list > To post a message email: [email protected] > To subscribe, unsubscribe, or change list options, > visit: https://lists.midrange.com/mailman/listinfo/rpg400-l > or email: [email protected] > Before posting, please take a moment to review the archives > at https://archive.midrange.com/rpg400-l. > > Please contact [email protected] for any subscription related questions. > -- This is the RPG programming on IBM i (RPG400-L) mailing list To post a message email: [email protected] To subscribe, unsubscribe, or change list options, visit: https://lists.midrange.com/mailman/listinfo/rpg400-l or email: [email protected] Before posting, please take a moment to review the archives at https://archive.midrange.com/rpg400-l. Please contact [email protected] for any subscription related questions.