Uploading PICK files from DOS

TLOAD performs similar functions to PICK's T-LOAD utility but instead of loading the specified file or records from tape, they are loaded from a DOS disk. TLOAD can only be run on data that has been uploaded to the PC by TDUMP.

The TLOAD Program

TLOAD may be invoked as a TCL command and follows a very similar format to the standard PICK T-LOAD command. The syntax is as follows:

TLOAD {DICT} {filename} {(options}

Where:

DICT

Use this literal to specify the dictionary of filename.

filename

Is the PICK data file into which items will be loaded.

You will then be prompted for the DOS tape name. This must be the name used when the data was dumped by the TDUMP command.

The second and final prompt is for the path to the DOS directory where the  'tape' filenames are stored. This must be the full path, such as C:\HOST

Note: If a file transfer error occurs, TLOAD automatically restarts.

Options available with TLOAD

Any characters following the left brackets are treated as options. Multiple options may be specified as follows:

O

Overwrite any existing PICK items if they already exist.

S

Suppress item ids being displayed as they are uploaded.

Z

Suppress display of file transfer status window which would normally appear for each record uploaded.

?

The inclusion of this option will cause TDUMP to display a list of ALL the items found and then allow you to either enter selected item names or enter an  '*' to upload all items.

TLOAD Example

Say you want to TLOAD the DOS files into the BP file from the  'tape' PROGRAMS. (i.e. to upload using the data that would have been created following the example in TDUMP). At TCL, enter the following command:

TLOAD BP (OZ

At the tape name prompt type: PROGRAMS
At the directory prompt type: C:\TAPES

This will upload any records found in DOS and overwrite the corresponding PICK items. The Z option will suppress the file transfer windows.