NWSD configuration file format
An NWSD configuration file consists of multiple occurrences of entry types, each with a different function. The entry types are:
- Remove lines from an existing integrated server file with CLEARCONFIG
entry type
- Use this entry type if you want to remove all lines from the integrated
server file.
- Change an integrated server file with ADDCONFIG entry type
- Use this entry type to add, replace, or remove lines in the integrated
server file.
- Change an integrated Windows server file with UPDATECONFIG entry type
- Use this entry type to add or remove strings within lines in the integrated
server file.
- Set configuration defaults with the SETDEFAULTS entry type
- Use this entry type to set the default values for certain keywords.
i5/OS uses the defaults only when processing ADDCONFIG and UPDATECONFIG entries
in the current file member.
An entry is one occurrence of an entry type. Each
entry contains a series of keywords that are followed by equal signs (=) and
values for those keywords.
Format guidelines
- Source physical file record length must be 92 bytes.
- A line can have only one entry, but an entry can occupy multiple lines.
- You can use blank spaces between the entry type and the keyword, around
the equal sign, and after the commas.
- You can use blank lines between entries and between keywords.
Keywords
- You can put entry keywords in any order.
- Use a comma after all keyword values except the last one in the entry.
- Enclose keyword values in single quotation marks if they contain commas,
blank spaces, asterisks, equal signs, or single quotation marks.
- When you use keyword values that contain single quotation marks, use two
single quotation marks to represent a quotation mark within the value.
- Keyword value strings can have a maximum length of 1024 characters.
- Keyword values can span lines, but you must enclose the value in single
quotation marks. The value includes leading and trailing blanks in each line.
Comments
- Begin comments with an asterisk (*).
- You can put a comment on its own line or on a line with other text that
is not part of the comment.