


vio is a file transfer utility similar to the UNIX program cpio. vio allows you to collect a group of files together into archives, and allows you to extract some or all of the files from these archives. vio is typically used to back up a set of files or to move files from one machine to another.
vio runs in two modes, the input mode ("-i") and the output mode ("-o"). The syntax for each mode, with all possible options, is shown here:
vio -o [-b][-f file][-u] [-g][-h headerfile] [-k][-l listfile][-pr][-s blocks][-v] vio -i [-cd][-f file][-g][-h bytes] [-kmnstv234][ files ]
The input mode reads vio archives to extract files. The output mode creates new vio archives.
In the output mode, vio reads its standard input for a list of files to place in the archive. The archive is written to its standard output.
In the input mode, vio reads the archive from its standard input and extracts all the files. The extracted files have the same names, permissions, and owners that they had when the archive was created. If files are specified, then only the named files are extracted. Note that each file must exactly match the name of a file in the archive; no wild card characters are allowed.
ACUCOBOL-GT indexed files are treated in a special way. On output, vio saves certain formatting information with each record; when vio inputs the records later, it uses that information to create a new file with the proper indexed format for the new host system.
When it's archiving files other than indexed files or ACUCOBOL-GT object files, vio assumes that the files are text files. It performs any conversions necessary to match the text file conventions on the host machine. The "-p" option described below can cause these files to be treated as binary files instead, in which case no translation occurs. If you are transferring multiple files at one time, some ASCII and some binary, don't use the "-p" option. Instead, add a <space> followed by a "b" or a "B" after the name of each binary file in the filename list; this prevents translation on an individual file.
ACUCOBOL-GT object files and indexed files are automatically detected and written out to an archive as binary files, even if you fail to specify "-p".
More: