In a free-form definition, you can specify *DCLCASE as the external name for the EXTPROC, EXPORT, and IMPORT keywords.
The external name of the item is the same as the name of the item, in the same case as the name is specified.
DCL-S currentCity LIKE(name_T) EXPORT(*DCLCASE);
DCL-DS customerOptions LIKEDS(custOpt_T) IMPORT(*DCLCASE);
The external name of the procedure or method is the same as the name of the prototype or procedure interface containing the EXTPROC keyword, in the same case as the name is specified. If the EXTPROC keyword is specified in a procedure-interface definition, and the procedure interface has no name, the then the external name is the same as the name of the procedure, specified in the same case as the procedure name is specified on the DCL-PROC statement.
DCL-PR getCustomerCity EXTPROC(*DCLCASE); 1
...
DCL-PR getBytes EXTPROC(*JAVA : 'java.lang.String' : *DCLCASE); 2
...
DCL-PROC getNextOrder; 3a
DCL-PI *N EXTPROC(*DCLCASE); 3b
...
DCL-PROC ADDQUOTES 4a
DCL-PI addQuotes EXTPROC(*DCLCASE); 4b
...
