# (I) Import NP RapidDial Table

To import an NP RapidDial Table from storage media or from another directory, select I from the NP RapidDial Table menu. When you import a file, the program searches for the specified file in the “/usr/vm/config” directory. To import a file from another directory or storage media, you must include a path in the file name. Do not specify an extension. NP RapidDial automatically appends .rdt as the extension.

Only new records are imported into the NP RapidDial Table. An existing record is not affected unless a command in the import file deletes that record in the current NP RapidDial Table. To import a completely new table, first clear [option (C)] the current NP RapidDial Table, then import the replacement table.

Import files are text files. You can edit these text files in a text editor and insert the following commands before importing the file:

- add inserts a record in the NP RapidDial Table. If a record overlaps or is redundant, the add command fails and an error message appears.

- del removes a record from the NP RapidDial Table. If the record does not exist, an error message appears. You can delete an existing record with the del command and then insert a replacement record with a subsequent add command.

- end stops the import process. It must appear at the end of the imported data.

For example, a text file for import might include:

These commands: | ...cause these changes in the NP RapidDial table:
--- | ---
add 5,622,2100 | Creates Subscriber Group 5 with prefix 622 and suffix 2100
add 25,345,5000-6999 | Creates Subscriber Group 25 with prefix 345 and suffixes from 5000 through 6999
add 300,7954,100-550 | Creates Subscriber Group 300 with prefix 7954 and suffixes from 100 through 550
del 4,621,3000-4999 | Removes Subscriber Group 4 with prefix 621 and suffixes from 3000 through 4999
add 4,621,5000-5050 | Creates Subscriber Group 4 with prefix 621 and suffixes from 5000 through 5050
end | Ends the import process

The following table shows you how to import an NP RapidDial Table.

Prompts | Example of User Input | Comments
Enter import filename: | <file name> | Enter the path and file name to import. Do not specify the default .rdt extension in the filename. Records with settings that overlap existing records in the current NP RapidDial Table are not imported. To import the file from another directory, specify a full path name in the following format: /fd0/<path><filename> If you do not specify a path, the program searches for the file in the default directory: /usr/vm/config/
n records added, n records deleted, 1 failed. |  | The number of imported records appears as n records added. If the import file includes redundant records, an error message appears. Each error increments the “failed” counter.

Parent topic: Create the NP RapidDial Table