Connect:Direct adapter command overview
This table summarizes the adapter commands, syntax, and whether you can use the command with data sources, data targets, or both. You can specify the commands on the adapter command line or through the adapter properties.
The commands are not case-sensitive, but the command values are case-sensitive. Choices are separated by the OR symbol | . Optional parameters are enclosed in brackets [ ]. The topics that follow provide the command syntax in railroad track format.
Command | Syntax | Use with Data Source | Use with Data Target |
---|---|---|---|
Primary node | {-PNODE | -PN} {host_name | IP_addr} | Yes | Yes |
Primary node user | {-PUSER | -PU} user_name | Yes | Yes |
Primary node password | {-PPASS | -PP} password | Yes | Yes |
Secondary node | {-SNODE | -SN} {host_name | IP_addr} | Yes | Yes |
Secondary node user | {-SUSER | -SU} user_name | Yes | Yes |
Secondary node password | {-SPASS | -SP} password | Yes | Yes |
File name to GET or PUT | {-FILENAME | -F} {filename | absolute_path} | Yes | Yes |
Connect:Direct® process name | {-PROCNAME | -P} process_name | Yes | Yes |
File disposition (how to open the file) | {-DISPOSITION | -D} [RPL | MOD | NEW] | Yes | Yes |
Binary transfer | {-BINARY | -B} {YES | NO} | Yes | Yes |
Checkpoint to restart interrupted transmissions | {-CKPT | -C} size | Yes | Yes |
Wait interval | {-WAIT | -WI} seconds | Yes | Yes |
Directory restriction | {-DIRRESTRICT | -DR} directory | Yes | Yes |
Create trace file | {-TRACE | -T} [file_name] | Yes | Yes |
Append trace file | {-TRACE+ | -T+} [file_name] | Yes | Yes |
Trace adapter errors | {-TRACEERR | -TE} [file_name] | Yes | Yes |
Append adapter errors | {-TRACEERR+ | -TE+} [file_name] | Yes | Yes |
Use translation table | {-XLATE | -X} {YES | NO} | Yes | Yes |