Command line entries and switches

Starting pfs/Async in the Host Mode from the DOS Command Line

Format

Example

Purpose

<drive>:<directory where pfsasync resides>\pfsasync dsn=<name of log database>

c:\ecedigs\pfsasync dsn=log.

Starts pfs/Async from a DOS prompt

The table below shows general switches.

Switch

Example

Purpose

-s dsn=<name of system database>

c:\ecedigs\pfsasync dsn=log -s dsn=ecedigs.

Specifies the Data Source Name of the system database tablet

-t <trace directory >

c:\ecedigs\pfsasync dsn=ecedigs -t c:\trace

Turns trace on and specifies the trace directory (full path)

-r <runid>

c:\ecedigs\pfsasync dsn=ecedigs -r 128

Specifies a run ID number to be used with session (overrides automatic run ID)

-f <name of script file>

c:\ecedigs\pfsasync dsn=ecedigs -f sendfile.scr

Invokes an existing script file when pfs/Async is started.

-p <[pager access phone number],pager phone number,message >

c:\ecedigs\pfsasync dsn=ecedigs -p 9,18887631403,7608943

Initiates sending a page to a pager device and specifies a message to be left (generally, a return phone number to be called).

The table below shows host switches.

Switch

Example

Purpose

--h

c:\ecedigs\pfsasync dsn=ecedigs -h.

Places pfs/Async in host mode and waits for dialup from client(s). (Once host mode is specified, pfs/Async is automatically reset to host mode after each session. The first time that the host mode is used, the system prompts the user to enter an archive directory. Thereafter, files retrieved from the OUT mailbox are automatically archived to the archive directory.)

-n <name of host site or operation>

c:\ecedigs\pfsasync dsn=ecedigs -n Computer Wizards -h

Specifies the name of the host, as it appears on the client window when the client dials into the host. (For example, “Welcome to Computer Wizards”.)

-o <number of minutes>

c:\ecedigs\pfsasync dsn=ecedigs -o 30 -h

Defines the number of minutes which a connected modem can remain inactive before pfs/Async resets the modem. This allows the host to open lines that are connected but not being used and saves the cost of toll charges for idle.