Translation of @p to Uppercase

Time items can be defined with the @p conversion specifier. This specifier will be replaced with either AM or PM. However, the AM and PM can be any mix of upper and lower case characters. This means that in a statement that contains both source and receivers with the @p conversion specifier, the source can contain a mix of upper and lower case characters, but the receiver will always be translated into upper case characters. For example:
 01 group-item.
    05 time1 FORMAT TIME "%I:%M @p" VALUE "06:20 am".
    05 time2 LIKE time1.
    MOVE time1 TO time2.
    DISPLAY "time2 = " time2.                        
In the above code, time1 is the source for the MOVE statement, so its @p specifier can be a mix of upper and lower case, in this example it is lowercase am. The receiver, time2, which has a format identical to time1, will contain @p in upper case. Thus the output of the above program would be:
 time2 = 06:20 AM