5.2.2 When there are no spare files
(1) When there is a status file entity
There is a status file entity when a status file has been created by the pdstsinit command.
- Procedure
- Use the pdls command to check the reserved files with entities.
pdls -d sts -s b001
- Use the pdstsopen command to place a reserved file in spare status.
pdstsopen -s b001 -n sstsfg01
- It is recommended that after the command has executed you check whether or not the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 8 Command Reference.
(2) When there is no status file entity
There is no status file entity when a status file has been specified in the HiRDB system definition but no status file has been created by specifying the pdstsinit command.
- Procedure
- Use the pdls command to check the virtual reserved files. Such a file's status is displayed as NONE.
pdls -d sts -s b001
- Use the pdstsinit command to create status files. Assign to the created status files status file names specified in the HiRDB system definition.
pdstsinit -s b001 -f /sysfile01/ssts1a -l 4096 -c 1000
pdstsinit -s b001 -f /sysfile01/ssts1b -l 4096 -c 1000
- Use the pdstsopen command to open the status file created in step 2.
pdstsopen -s b001 -n sstsfg01
- It is recommended that after the command has executed you check whether or not the execution results are correct. For details on how to check command execution results, see the manual HiRDB Version 8 Command Reference.