String Handling
LENGTH p,string[,PADCHAR=]
This statement put the length of string in p (delimited by blanks or delimited by specified PADCHAR= ). That is, length is the position of the last character before trailing spaces.
Parameter Name Mode Type coding Remark 1 p Output Integer F or H 2 string Input String C or X String to measure; max length 255 char. PADCHAR='c' Input Character constant Must be a single character in quotes
Character constant