GROUP_FILENAME

The file name or full path name of the input file. If you do not specify a path, the Generic indexer searches the current directory for the specified file; however, you should always specify the full path name of the input file.

Remember: The system does not delete the source files that are specified on the GROUP_FILENAME parameters in the Generic indexer parameter file. The system only deletes IND, OUT, and RES files.

On UNIX servers, file and path names are case sensitive.

Each group that you specify in the parameter file must contain one GROUP_FILENAME: line. The GROUP_FILENAME: line must follow the GROUP_FIELD_NAME: and GROUP_FIELD_VALUE: lines that comprise a group. The following is an example of a group:
GROUP_FIELD_NAME:rdate
GROUP_FIELD_VALUE:05/31/00
GROUP_FIELD_NAME:studentID
GROUP_FIELD_VALUE:0012345678
GROUP_OFFSET:0
GROUP_LENGTH:0
GROUP_FILENAME:/tmp/statements.out
If the GROUP_FILENAME: line does not contain a value (blank), the Generic indexer uses the value of the GROUP_FILENAME: line from the previous group to process the current group. In the following example, the input data for the second and third groups is retrieved from the input file that is specified for the first group:
GROUP_FIELD_NAME:rdate
GROUP_FIELD_VALUE:05/31/00
GROUP_FIELD_NAME:studentID
GROUP_FIELD_VALUE:0012345678
GROUP_OFFSET:0
GROUP_LENGTH:8124
GROUP_FILENAME:/tmp/statements.out
GROUP_FIELD_NAME:rdate
GROUP_FIELD_VALUE:06/30/00
GROUP_FIELD_NAME:studentID
GROUP_FIELD_VALUE:0012345678
GROUP_OFFSET:8124
GROUP LENGTH:8124
GROUP_FILENAME:
GROUP_FIELD_NAME:rdate
GROUP_FIELD_VALUE:07/31/00
GROUP_FIELD_NAME:studentID
GROUP_FIELD_VALUE:0012345678
GROUP_OFFSET:16248
GROUP_LENGTH:8124
GROUP_FILENAME:
If the first GROUP_FILENAME: line in the parameter file is blank, you must specify the name of the input file when you run the ARSLOAD program.

The group lines must appear after the CODEPAGE: line.

After successfully loading the data, the system deletes the input file that is specified on the GROUP_FILENAME parameter if the file name extension is .out, and for daemon mode processing, the rest of the input file name is the same as the .ARD file name. The system also deletes the .ind file (the Generic indexer parameter file) and the .ARD file (the dummy file that is used to initiate a load process when the ARSLOAD program is running in daemon mode).

Syntax

GROUP_FILENAME:fileName

Options and values

The character string GROUP_FILENAME: identifies the line as containing the input file to process.
The string fileName specifies the full path name of the input file. You should always specify the full path name of the input file to process. The string fileName must be specified in the CODEPAGE of the Generic indexer file, and must contain characters that can be supported by the locale in which the ARSLOAD program is running. For example:
GROUP_FILENAME:/tmp/ondemand/inputfiles/f1b0a1600.out

Examples

The following are valid file name lines:
GROUP_FILENAME:/tmp/statements
GROUP_FILENAME:D:\ARSTMP\statements
GROUP_FILENAME:/tmp/ondemand/inputfiles/f1b0a1600.out
GROUP_FILENAME: