Skip to content

Commit

Permalink
Merge pull request #22 from tom-writes-code/revert-rtnparm
Browse files Browse the repository at this point in the history
revert rtnparm change (for now!)
  • Loading branch information
tom-writes-code authored Apr 21, 2022
2 parents 9ca31cd + 60fd721 commit cb8cc30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion rpgle/REPL_VARS.RPGLEINC
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,6 @@ dcl-pr markVariableAsUsed;
variableId like(t_variable.id) const;
end-pr;

dcl-pr toUpperCase varchar(512) rtnparm;
dcl-pr toUpperCase varchar(512);
lowerString varchar(512) const;
end-pr;
4 changes: 2 additions & 2 deletions rpgle/REPL_VARS.SQLRPGLE
Original file line number Diff line number Diff line change
Expand Up @@ -1367,11 +1367,11 @@ end-proc;
//-----------------------------------------------------------------------

dcl-proc toUpperCase export;
dcl-pi *n varchar(512) rtnparm;
dcl-pi *n varchar(512);
lowerString varchar(512) const;
end-pi;
dcl-s upperString varchar(512);
exec sql SET :upperString = UPPER(:lowerString);
exec sql SET :upperString = UPPER(RTRIM(:lowerString));
return upperString;
end-proc;

Expand Down

0 comments on commit cb8cc30

Please sign in to comment.