jcobrienx2@aol.com
12-31-1969, 06:33 PM
** This thread discusses the article: TOUPPER--Convert Lowercase Letters to Uppercase (http://www.mcpressonline.com/index.php?option=com_content&view=article&id=3904) **
Bob, another way (always at least twenty) for easy Upper and Lower case conversion is by prototyping a much less complicated call to QLGCNVCS API. These prototypes eliminate dealing with the complicated parameter structures required by the API calls. This sample would be usable in an RPGLE module simply as the result of an EVAL. Source for RPGLE module and /COPY book of prototyped procedure definitions attached as one document. The module would be in a *BNDDIR that a *SRVPGM would have included on program creation or update. Thanks from Joe O'Brien. ex. C EVAL UpperFld = UpperCase(LowerFld) ex. C EVAL LowerFld = LowerCase(Anyfield)
Bob, another way (always at least twenty) for easy Upper and Lower case conversion is by prototyping a much less complicated call to QLGCNVCS API. These prototypes eliminate dealing with the complicated parameter structures required by the API calls. This sample would be usable in an RPGLE module simply as the result of an EVAL. Source for RPGLE module and /COPY book of prototyped procedure definitions attached as one document. The module would be in a *BNDDIR that a *SRVPGM would have included on program creation or update. Thanks from Joe O'Brien. ex. C EVAL UpperFld = UpperCase(LowerFld) ex. C EVAL LowerFld = LowerCase(Anyfield)