Generated from C.65.00 /SYSADMIN/PUB/MYCICAT last modified on Sun Aug 29 15:08:37 2004
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