SCAN -: is used to search for a value in a particular variable.
e.g – if I want to search ‘A’ in the string ‘AAABC’ then I can make use of SCAN.
SCAN returns a numeric value: if it returns zero that means the value is not found in the variable. If the value is found then SCAN returns the position from the string.
XLATE -: is used to translate a string using 2 other strings as a “key”
CAT -: is used to concatenate two strings.
Hope this answers your questions if you need any further help then please let me know.