Programming with Reflection

image\rwnprg32.gif OpenVMS File Name Switches

 

The following table shows the valid OpenVMS file name switches you can append to the host name when using the WRQSendFile or WRQReceiveFile method. Most switches are valid for only one direction of transfer—either sending or receiving—although some switches are valid in both directions. Most switches also have an equivalent property you can set to cause the same effect; using a switch affects only the current transfer, whereas using the property affects all subsequent transfers until its value is changed.

Switch

Equivalent Property

Meaning

Direction

/A

none

Update maximum record length; valid for ASCII transfers only/.

Send

/B

WRQUseBlockReads

Force block mode reads; valid for binary transfers only.

Receive

/C

WRQSubmitBatch

Submit file to batch queue.

Send

/D

WRQPreserveCounts

Determines whether record byte counts are transferred with data; valid for binary transfers only.

Both

/F

none

Create file with fixed-length records; valid for binary transfers only.

Send

/I

WRQTransferWithAttributes (binary transfers)

Transfer file as image format.

Both

/K

WRQKeepFile

Keep file sent to batch or print queue.

Send

/L

none

Compatibility switch for old VAXLINK protocol; valid for binary transfers only.

Send

/P

WRQTranslateCCtl

Translate Print/Fortran carriage control.

Receive

/S

WRQSubmitPrint

Submit file to printer queue.

Send

/T

none

Throw away Print/Fortran carriage control.

Receive

/V

none

Force variable-length records.

Send

 

 

image\jump.gif Example

image\popup.gif Related Topics