User's Manual

196 U3585-J-Z125-8-76
SM2 output file SM2 operation
SM2 output file with freely selected file attributes
Such a file is created with the statement OPEN-LOG-FILE FILE=*BY-LINK-NAME after the
name and attributes have been defined with the ADD-FILE-LINK command.
It is possible to define
a PAM file in output mode with a freely selectable name, or
a SAM file with freely selectable open mode and file name.
The following table contains the file attributes which are preset in SM2 or can be defined
with the FILE command:
SM2 treats the operand BLOCK-CONTROL-INFO= *NO in the same way as
BLOCK-CONTROL-INFO= *WITHIN-DATA-BLOCK.
File creation
operand
FILE=*STD FILE=*BY-LINK-NAME
File attribute
definition
Preset Optional
File name SM2.hostname.
yyyy-mm-dd.sss.nn
filename
1)
File link name SMLINK
Block size
2)
BUFFER-LENGTH =
*STD (SIZE=16)
BUFFER-LENGTH = *STD (SIZE=16)
Storage space
allocation
SPACE=*RELATIVE
(PRIMARY-
ALLOCATION=512,
SECONDARY-
ALLOCATION=512)
selectable
2)
Access method SAM ACCESS-METHOD =
*UPAM
[,SHARED-UPDATE=
YES]
3)
ACCESS-METHOD =
*SAM
Open mode OUTIN OPEN-MODE = *OUTIN OPEN-MODE =
*OUTPUT / *EXTEND
Format of the data
blocks
BLOCK-CONTROL-
INFO = *WITHIN-
DATA-BLOCK
BLOCK-CONTROL-INFO = *PAMKEY /
*WITHIN-DATA-BLOCK / *NO
Table 6: Possible attributes of the SM2 output file