XDL Syntax Checker utility

WSupported on Windows
USupported on Unix

 

NSupported in Synergy .NET

The xdlchk utility scans through the specified file and checks each keyword against the keywords in the XDL definition.

xdlchk [-f] filename

-f

(optional) Determines what xdlchk will verify, depending on whether this option is specified or not:

If -f is not specified (default)

Xdlchk verifies that the file is a valid XDL file. Any keyword that is not a valid XDL keyword (including keywords in the defined subset of FDL keywords) generates a warning. You can use this mode to verify that any unrecognized keywords are actually FDL keywords that are not in the XDL definition.

If -f is specified:

Xdlchk verifies that an FDL file is a valid XDL file. This mode verifies only FDL keywords that are part of the XDL definition. It generates an error if it finds any other XDL keyword. It ignores any keyword it doesn’t recognize, assuming that it is an FDL keyword that is not part of the XDL definition. You can use this mode to verify that an existing FDL file will pass through the XDL processing without any errors.

Note

This mode only checks that you are not using XDL keywords; it does not validate an FDL file! If you are going to share FDL files between OpenVMS RMS and Synergy ISAM, we suggest that you first create the FDL file for use with RMS.

filename

The name of the file you want to check.

Xdlchk was created because XDL processing must ignore any keywords it doesn’t recognize, since they may be FDL keywords that aren’t part of the XDL definition. However, if an unrecognized keyword is actually a misspelled XDL keyword, the ISAM file may be created incorrectly. After you run xdlchk, it is your responsibility to distinguish between valid FDL keywords and misspelled XDL keywords.

See ISAM definition language for more information about XDL keywords.