bs2file defines the BS2000 file attributes of the file which is to be transferred.
bs2file is mapped to the BS2000 FILE command.
Syntax
bs2file[ -h] file,operand_list |
Prints out the command syntax with an explanation of the options.
Fully qualified file name in BS2000. The file attributes of this file are defined and used in the associated bs2cp command. Specifying "\*" ("\" is used for quoting) instead of a file name indicates that the settings in the bs2file command are valid for all files of the next bs2cp command. The file attributes then apply to the file(s) specified in the bs2cp command. If a fully qualified file name is specified, the bs2file entry only loses its validity if the file attributes are successfully analyzed in a bs2cp call when the file names are identical. If an asterisk (*) is specified, the bs2file entry loses its validity when the bs2cp command terminates.
List of file attributes. The format of the operand_list must correspond to the format of the FILE command (BS2000). |
Hint
If you issue multiple bs2file commands for a file then only the last attributes to be specifiedare valid. In the case of ISAM files, only the values KEYPOS=5 and KEYLEN=8 are supported for the key position and key length respectively. |
Error
Error messages of the FILE command |
Example
The BS2000 file doccopy is to be set up as a PAM file.
|
See also
bs2cp, ftyp |