Dataset Catlogd field in CA 1 Volumes Object

Document ID : KB000130348
Last Modified Date : 02/04/2019
Show Technical Document Details
Question:
In the CA 1 Volumes object field Dataset Catlogd is set to Y although the data set is no longer cataloged and scratch.
Should this not be set to N in this case?
Answer:
The field "Dataset Catlogd" does not represent the current catalog status. 
It just says, that the data set was cataloged. 
The current catalog status is represented by field "File On OS Cat" 

Following from the Help for the CA 1 Volumes object 

CA 1 Volumes 
------------ 

Dataset Catlogd 
If set to Y, indicates that the data set was cataloged 

File On OS Cat 
If set to Y, indicates that the tape is cataloged on an OS catalog. 




NOTE: for the Files Object there are similar fields: 

CA 1 Files 
---------- 

DS Was Catlogd 
If set to Y, indicates that the dataset name was cataloged when 
the dataset was created. 

DS Is Catlogd 
If set to Y, indicates that the dataset name is currently 
cataloged in an OS catalog. 



The related FLAG Bits in the TMC Volume record

FLAG1 X'80' DATA SET WAS ON MVS CATALOG 
FLAG4 X'08' FILE ON OS CATALOG 


and DSNB Record

FLAG1 X'02' FILE WAS ON OS CATALOG 
FLAG1 X'08' FILE IS ON OS CATALOG