2.2.1 Coding rules
The following lists the coding rules for access definition files:
-
Do not create an access definition file that contains more than 2,097,152 bytes (2 megabytes).
-
Use the ASCII code to enter text in an access definition file.
-
Use CRLF (\r\n) as the carriage return code.
-
The first line must contain the script header and cannot have a space or tab character at the beginning or end.
-
On the second and subsequent lines, you can use a space or a tab at the beginning or end of the line. You can also enter a comment following a hash mark (#).
-
Enclose constants in single quotation marks (').
-
Use two single quotation marks ('') to enclose a character constant.
-
You can include the contents of a file by specifying its file name following #%include on the second and subsequent lines. However, only access definition files can be included.
- Remarks
-
Data integrity may be lost if the jamscript command is executed for the same database from more than one computer. Take this into account in your access definition file code.