Intrinsic functions support for UTF-8 data items

UTF-8 data is a class and category of arguments and a return type for intrinsic functions.

About this task

The following intrinsic functions support UTF-8 arguments:
  • BIT-OF
  • BYTE-LENGTH
  • DISPLAY-OF
  • FORMATTED-CURRENT-DATE1
  • FORMATTED-DATE1
  • FORMATTED-DATETIME1
  • FORMATTED-TIME1
  • HEX-OF
  • INTEGER-OF-FORMATTED-DATE
  • LENGTH
  • LOWER-CASE1
  • NATIONAL-OF
  • SECONDS-FROM-FORMATTED-TIME
  • TEST-FORMATTED-DATETIME
  • TRIM1
  • ULENGTH
  • UPOS
  • UPPER-CASE1
  • USUBSTR1
  • USUPPLEMENTARY
  • UVALID
  • UWIDTH
  1. This intrinsic function returns a result of category UTF-8 when the input argument contains UTF-8 data items.

Related references  
Intrinsic functions (Enterprise COBOL for z/OS® Language Reference)