SUMMARY I NOSUMMARY TITLE=' title'
2 II ASSGN SYS001,X'19'
3 I I DLBL SYSUT 1 " GOOD TRACK' ,0, SO 4 II EXTENT SYS001, ,1,0,8955,1 5 II EXEC STCPOST,SIZE=AUTO 6 UNASSIGN TRACK=12A.OF
7
1*
8
1&
Following is a description of each card in the example job.
1. The JOB card is installation dependent.
2. The ASSGN card defines the test device as the unit at address 219.
3. The OLBL card defines the test device file as a sequential disk file with file name of SYSUTl and file id of GOOD
TRACK.
4. The EXTENT card defines the location of the dataset as
starting at track 8955 (cylinder 12A head OF) for one track.
5. The EXEC card requests that the program STCPOST be executed.
6. This STCPOST control card indicates that the UNASSIGN func-tion is to be executed to assign an alternate track for cyl-inder 3 head 07.
7. This card indicates the end of the control card input.
S. This card indicates the end of the job JCL deck.
10-56 FE-001-4
VOL SCAN
STCPOST Funct;ons
VOL SCAN
The VOLSCAN function reads the Home Address (HA), Record Zero (RO), and ALL data records on every track of a DAsD volume,
including the CE tracks. VOLsCAN checks all defective and alter-nate tracks for correct defective/alteralter-nate track pairing.
Function Required Parameters Opt iona 1 Parameters
VOL SCAN CECYL PRINTDs
VOLsCAN RANDOM CLIMIT=ccclccc-ccc
ELIMIT=n IOLIMIT=n
VOLSCAN CLIMIT=ccclccc-ccc
ELIMIT=n
HLIMIT=hhlhh-hh LOOP=n
NOCECYL PRINTDS
READCMD=RCKDIRMCKD SUMMARY
Required Parameters
CECYL
If CECYL is specified, only the CE cylinder of th~ device is scanned.
RANDOM
The RANDOM parameter specifies that random track testing is to be done. When RANDOM is specified the CE tracks are not tested. The default is sequential track testing.
Optional Parameters CLIMIT
The CLIMIT parameter is used to restrict volume scanning to a specific cylinder or range of cylinders. ccc is a three digit hexadecimal number. Valid values are:
DEVICE TYPE 3330-1 3330-11 3350 3380 2305-2
ccc LIMITS 000 - 19A
000 - 32E
000 - 22F (400 for CE Cylinder) 000 - 375
000 - 05F
STCPOST Functions VOLSCAN
The default is to scan all cylinders. CLIMIT can not be used if CECYL is specified.
ELIMIT
The ELIMIT parameter specifies the maximum number of unre-coverable I/O errors allowed. If this number is exceeded,
the VOLSCAN function terminates scanning of the track and continues with the next track. If VOLSCAN RANDOM is exe-cuting, VOLSCAN terminates. n is a decimal number from 0
to 999. 0 allows an infinite number of errors. The default value for n is 10.
HLIMIT
10-58
The HLIMIT parameter is used to restrict volume scanning to a specific head or range of heads. hh is a two digit hexadecimal number. Valid values are:
DEVICE TYPE hh LIMITS
3330-1 00 - 12
3330-11 00 - 12
3350 00 - 1D
3380 00 - OE
2305-2 00 - 07
The default is to scan all heads.
IOLIMIT
The IOLIMIT parameter specifies the maximum number of I/O operations to be executed. n is a decimal number from 1 to 99999999. The default value for n is 1000.
LOOP
The LOOP parameter specifies the maximum number of times that an I/O operation terminating with an error is to be retried. The failing CCW chain will be retried until either the loop count is reached or the CCW chain is exe-cuted successfully. n is a decimal number from 0 to 100.
The default for n is 1.
NOCECYL
If NOCECYL is specified, scanning of the CE cylinder tracks is bypassed. This parameters is ignored if the test device is not a 3350 or 3380 in native mode.
If NOCECYL is not specified, only the data cylinders/heads (as specified by CLIMIT and HLIMIT) are scanned.
FE-001-4
STCPOST Functions VOL SCAN PRINTDS
The PRINTDS parameter specifies that defect skip informa-tion is to be printed for each track scanned.
READCMD=RMCKDIRCKD
The READCMD parameter specifies which read command to use to read the data records on each track. 'RMCKD' specifies that the Read Multiple Count Key Data (5E) command is to be used. 'RCKD' specifies that the Read Count Key Data
(1E) command is to be used. The default is 'RMCKD' for 3330, 3350, and 3380 type devices and 'RCKD' for 2305-2 type devices.
SUMMARY
The SUMMARY parameter specifies that a summary message is to be sent to the operator's console at the completion of the VOLSCAN run. The default is no message to the opera-tor's console. XXXXXXXXXXXXXXXXXX VOLSCAN uses the Read Multiple Count Key Data command for 3330, 3350 and 3380 type devices but can be forced to use the Read Count Key Data command. The Read Count Key Data command is always used for 2305-2 type devices. VOLSCAN can be limited to specific cylinders or heads or both. Volume scanning can be done either sequentially or randomly.
Error messages are printed for all errors. Alternate track assignments are printed for all defective tracks which have alternate tracks assigned.
Operation Considerations
• The VOLSCAN function requires a DO card type 1, 2, 3 or 4.
• When scanning a non full volume device (4305 in 3380 mode, VM/370 mini-disk, etc.), VOLSCAN should be limited to the extent of the mini-disk by using the CLIMIT parameter. If it
is not limited, VOLSCAN will terminate when the end of the mini-disk is reached.
• Error logging is under the control of the LOG/NOLOG parameter of the OPTION function. When OPTION LOG is in effect,
correc-table errors are not detected, reported on, or counted by the VOLSCAN function.
Operation Examples
The following examples show how to execute the VOLSCAN function using the basic OS/VS JCL, the OS/VS JCL procedure in batch mode and the basic DOS/VSE JeL.
STCPOST Functions VOLSCAN
Basic OS/VS Example
This example uses the basic OS/VS JCL to execute the VOLSCAN
function on a DASD volume with volume serial STC001, limiting the VOLSCAN to cylinders 100 through 1FF.
1 IIPOSTTEST JOB acct-info,name, ...
2 IISTEP1 EXEC PGM=STCPOST 3 IISYSPRINT DO SYSOUT=A
4 IISYSUT1 DO UNIT=DISK,VOL=SER=STC001,SPACE=(TRK,0) 5 IISYSIN DO *
6 VOLSCAN CLIMIT=100-1FF