Generated from C.60.01 /SYS/PUB/CICAT last modified on Thu Jan 11 09:18:52 2001
Syntax: FSYNTAX(string) Defn: A CI evaluator function that returns the syntax of a filename string. Possible return values are: - "MPE" "MPE;WILD" "MPE;LOCK" "MPE;FEQ" "MPE;$FILE" "MPE;REMOTE" and combinations where appropriate - "POSIX" "POSIX;WILD" - "ERROR=nnn" for syntax error nnn. Type: String Example: fsyntax('a.b.c') Result: MPE Example: fsyntax('/a/b/c') Result: POSIX Example: fsyntax('./ab@/c') Result: POSIX;WILD Example: fsyntax('$null') Result: MPE;$FILE Example: fsyntax('a.b.c.d') Result: ERROR=426 Example: calc word(fsyntax('a@.b.c')) Result: MPE Example: if word(setvar(x,fsyntax(filevar))) = 'ERROR' then echo File syntax error: ![word(x,,-1)] endif Back to Main Index