The length returned is the length of the CHARACTER(n) CHARACTER SET GRAPHIC data when the external routine is invoked.