Using IND$FILE
Posted: Mon 20 Feb 2017, 14:19
The IND$FILE TSO command provides a method to transfer the contents of a data set in the Fandezhi system to a file on your workstation provided your terminal emulator supports it. Most, perhaps all, terminal emulators can transfer data.
There are some options you can specify in your emulator to improve file transfer performance. They may be difficult to find. Some of them are
- You do not ever enter the IND$FILE command yourself. Provided your terminal emulator supports it, it will enter the command itself when it is ready to send or receive the data.
- Your terminal emulator provides panels to transfer data. These panels provide a space to enter a file name on your workstation, a data set name on the system you are using, and several options for the IND$FILE command. These options may appear as groups. You can select an option by selecting the option by a check box or "radio" button.
- File Conversion
- ASCII/EBCDIC - Convert data from EBCDIC (the character codes used on the mainframe) to ASCII (the character codes typically used on a work station)
- CRLF
- When transferring data to your work station, add the CR and LF control characters at the end of each mainframe record OR
- When transferring data to Fandezhi, when the CR LF control characters are encountered, terminate a record
- NOTRUNC - When transferring data from Fandezhi to your work station, do not remove blanks at the end of a record.
If you do not select ASCII/EBCDIC, the character codes are not changed; this is equivalent to a binary or image transfer in FTP.
CRLF is usually selected when ASCII is selected.
- Host Type
- CMS
- TSO - Select this option
- CICS
- PC File
- Replace
- Append
- Prompt
- File Conversion
There are some options you can specify in your emulator to improve file transfer performance. They may be difficult to find. Some of them are
- Transfer Mode - Select WSF rather than screen image.
- WSF Buffer size - Select the largest size your emulator allows.