U3585-J-Z125-8-76 193
SM2 operation Activating user task monitoringAttributes of the user-specific SM2 output file NotesTo generate module-related program counter and SVC statistics, the load information(the load address and length) of each module is required for each module which hasbeen linked into the monitored program or is to be loaded by the monitored program.When the program or measurement is terminated by means of the /STOP-TASK-MEASUREMENT command, SM2 determines this module information and writes it tothe SM2 output file.
Operand for file
creation FILE =*STD FILE =*BY-LINK-NAME
Definition of file
attributes Predefined Optional
File name $userid.SM2.
TASKSTATISTIK.nnnn1) filename
Block length BUFFER-LENGTH =
*STD(SIZE=16) BUFFER-LENGTH =
*STD(SIZE=number)3)
Storage space
allocation SPACE = *RELATIVE
(PRIMARY-ALLOCATION=48,
SECONDARY-ALLOCATION=48)
SPACE = *RELATIVE
(PRIMARY-ALLOCATION=number1,
SECONDARY-ALLOCATION=
number2)2),3)
Access method SAM No selection option,
SAM format is mandatory.
Open mode EXTEND No selection option, the existing file is
always extended
Format of the data
blocks BLOCK-CONTROL-INFO
is defined by the corresponding
(class 2) system parameter
BLOCK-CONTROL-INFO =
*PAMKEY/ *WITHIN-DATA-BLOCK/
*NO 4)
1) nnnn = TSN of the task to be monitored
2) PRIMARY-ALLOCATION and SECONDARY-ALLOCATION each 48 unless defined otherwise by
the user.
3) In the case of an SM2 output file assigned using link names, the BUFFER-LENGTH and SPACE
4) attributes are taken from the standard file, unless specified otherwise by the user.
4) The BLOCK-CONTROL-INFO=*NO operand is treated like BLOCK-CONTROL-INFO=
*WITHIN-DATA-BLOCK, because only SAM format is permitted for the file.