FLX, or FILEX, is used as a media format interchange program to move files among Files-11, DOS-11, and RT-11 structured volumes. FLX performs file transfers and format conversions from: o DOS-11 to Files-11 volumes o Files-11 to DOS-11 volumes o DOS-11 to DOS-11 volumes o Files-11 to Files-11 volumes o Files-11 to RT-11 volumes o RT-11 to RT-11 volumes o RT-11 to Files-11 volumes The general form of the FLX command line is: devicespec/switch=infile/switch,...,infilen/switch where devicespec is the device specification for the FLX output device. It takes the form : dev:[ufd] infilen are the input file specifications. switch is one of three types of FLX switches. Volume format, transfer mode, and control are the three types of switches. For more information on FLX switches type HELP FLX VOLUMESWITCH, HELP FLX TRANFERSWITCH, HELP FLX CONTROLSWITCH. 2 VOLUMESWITCH FLX has three volume format switches that specify the format of the volume on which the file is stored. These switches are: /DO Identifies the volume as a DOS-11 formatted volume /RS Identifies the volume as a Files-11 formatted volume /RT Identifies the volume as an RT-11 formatted volume Input volumes default to DOS-11 format and output volumes default to Files-11 format. You can change the default by entering /RS or/DO on a command line by itself. /RS sets the default for input volumes to Files-11 format and output to DOS-11 format. /DO sets the default for input volumes to DOS-11 format and output volumes to Files-11 format. For example, to specify the default transfer direction from Files-11 to DOS-11, type: FLX>/RS To specify the default transfer direction from DOS-11 to Files-11, type: FLX>/DO If /RT is specified on one side of the command line, the default entry for the other side is /RS. 2 TRANSFERSWITCH FLX has three transfer mode switches, one for each type of file format. Format conversions can be in either direction, and are between DOS-11 files and Files-11 files or between RT-11 files and Files-11 files. Specifying a transfer mode switch determines which format the output file will be in after the conversion of the file. These switches are: /FA:n[.] The DOS-11 or RT-11 output file is to be formatted ASCII. /FB:n[.] The DOS-11 or RT-11 output file is to be formatted binary. /IM:n[.] The transfer is to be in image mode. Image mode forces fixed length records. If you specify n with any of the above switches, fixed length output records are generated. If n is specified when the output is not a Files-11 file, n is ignored. 2 CONTROLSWITCH FLX control switches provide control functions useful during file transfers. You can specify for example, the number of blocks to be allocated to an output file or the UFD for an output file. These switches are: /BL:n[.] Specifies the number of contiguous blocks in octal or decimal to be allocated to the output file. /BS:n[.] Specifies the block size in bytes for cassette tape output. /CO Specifies that the output file is to be contiguous. /DE Deletes files from a DOS-11 DECtape or disk /DI Causes a directory listing of cassettes or DOS volumes to be listed in a specified output file. If no output file is specified, the listing is output on the user's terminal. /DNS:n Specifies the density of a magnetic tape where n can be 800, 1600 or 6250 bpi. /FC Indicates that FORTRAN carriage control conventions are to be used when using FORTRAN files. /ID Identifies the current version of FLX. /LI Same function as DI /NU:n[.] Used with the /ZE and /RT switches to specify the number of directory blocks in octal or decimal to allocate when initializing an RT-11 disk or DECtape. The maximum number of blocks is 37(8) or 31(10). /RW Rewinds the magnetic tape before beginning the file transfer. /SP Specifies that the converted file is to be spooled by the print spooler or queue manager. /UI Specifies that the output file is to have the same UFD as the input file. /VE Specifies that each record written to a cassette is read and verified. /ZE Initializes cassettes or DOS-11 volumes. Initializing erases any files already on the device.