XMT Options Area on the Extended Control Page

The following table describes the codes that you can type in the Options field in the XMT row on the Extended Control Page.

You can type these option codes in any order.

Table 4-3

Option Code

Function

Description

Restrictions

C

Clear Screen

Clears the screen (including FCCs) before sending each block to the host.

If the P option is specified, the C option is ignored.

L

Limit Carriage Returns

Sends a maximum of 24 records in each block.

This option works only if the R option is also specified.

M

Menu Fill

Formats the screen as the block is built. Both horizontal and vertical tab characters (HT and VT) in the file move the cursor to the next tab stop.

None

P

Paint at Cursor

Each block starts at the current cursor position on the screen. Without this option, the cursor is sent home before each block is built.

If the P option is specified, the C option is ignored.

R

Transmit Carriage Returns

Transmits carriage returns to the host.

If this option is not specified, carriage returns are discarded unless the X option is specified.

S

Stream Transmit

Treats the file as a continuous stream of data and fills the blocks until the number of bytes specified in the Blocksize are on the screen.

Use this option only if the host can reconstruct the records. If you use this option, be sure to specify a record separator.

Tc

Substitute c for Tab

Replaces horizontal tabs in the file with the specified character c.

The value of c must be specified in decimal, but the character is sent as an ASCII character.

If Tc and Tn are both specified, Tn will be ignored. Tc is also ignored if the X option is specified.

Tn

Tab Modulus 1-9

Converts horizontal tabs in the file to the number of spaces specified by n.

Tab stops are assumed to exist at every nth character in each logical record. The value n must be specified in decimal.

If Tc and Tn are both specified, Tn will be ignored. Tn is also ignored if the X option is specified.

X

Hexify Data

Converts data in the file to hexadecimal as the block is built.

Each byte of the file is transmitted to the host as two hexadecimal values representing the ASCII value of the byte. Blocks are filled until the number of bytes specified in the Blocksize are on the screen.

Use this option if you are transferring binary files to the host.

If you use this option, be sure to specify a record separator.

If you specify this option, the Tc and Tn options are ignored.

To receive a file using the Extended Control Page

  1. If a UTS session is not already open, open one.

  2. If the session is not currently connected to a host, click Connect from the Session menu.

  3. Take any actions necessary to prepare the host to download the file, such as invoking an editor, but do not enter the final command to actually list or print the file.

  4. Make sure that Extended Control Page is selected in the session configuration.

  5. Click to display the Extended Control Page.

  6. Position the cursor in the RCV area and type Y.

  7. Type the drive letter where you want to receive the file.The file is sent to the current directory on that drive.

    You can also specify the directory to use by adding the ExtendedControlPageFileDir value to the UTS Options key in the Windows Registry.

  8. Type the name of the file on the PC where the host data will be sent.

    This file name cannot contain any wildcards (asterisks or question marks). In addition, if the file name is fewer than eight characters, you must enter spaces to complete the file name. For example, if the file name is MYFILE.TXT, you would type MYFILE and then press the space bar twice in this field.

    If the file name is eight characters, the cursor moves automatically to the file extension field. However, if the last character is a space, you must move the cursor manually to the file extension field.

    NOTE:If this file already exists on the PC, its contents will be deleted before the transfer occurs.

  9. Type the file extension of the file (such as TXT or DOC).

  10. Type any desired options, then press TAB to move the cursor to the Sep field.

  11. If another character in addition to the start-of-entry (SOE) character is required to delimit records, type the hexadecimal value of the desired record separator in the Sep field.

    The SOE character is always interpreted as a record separator and will be converted to a carriage return/line feed (CR/LF) regardless of the options specified in the Options field. In addition, the character specified in the Sep field will also be converted to a CR/LF.

  12. In the EOF field, type character(s) that indicate the end of a file received from the host (up to 16 characters). This parameter is case-sensitive.

    Once the PC receives this string, it closes the file on the PC and unlocks the keyboard. No additional data received from the host will be stored in the file.

    If you don't specify an EOF string, the PC closes the file when the host unlocks the keyboard.

    NOTE:If you typed X in the Options field, no EOF string is required, since the file will close automatically when the first non-hexadecimal character is received.

    If you typed D in the Options field, the record containing the EOF string will be deleted before the file is closed.

    If you typed G in the Options field, the EOF string will be deleted before the file is closed.

  13. Press - (minus sign) on the numeric keypad (NUM LOCK must be off) to transfer the file.

    If you made any invalid entries, an error message appears on the screen. Correct the error and try again.

  14. Click again to close the Extended Control Page.