KB Article #182401

Use of SGTRACE=207 when file creation error is seen

Problem

While trying to create the catalog with 250000 records, the VSAM creation fails.


CFTU26E CFTFILE_ Error ( Catalog file creation error)


CFTU00I CFTFILE_ Failed(MODE=CREATE,TYPE=CAT,FNAME=%%CFTEP.V36.CATALOG,RECNB=250000)



Resolution

In the submitted JCL set / use SGTRACE 207 :


//STEPNAME EXEC PCFTUTIL,PARM='SGTRACE 207',


The purpose of the SGTRACE is to get more details, especially the ones used for the file creation :


starting with


DEFINE CLUSTER -
(NAME(CFTPG.V36.CATALOG.NEW00) -
DATACLASS(VSAM2 ) EATTR(OPT) -
CISZ(16384) -
NOWRITECHECK -
SHR(4 3) -
RECORDS(0000248143 0024814) -
RECORDSIZE(14336 14336) -
NONINDEXED -
FREESPACE(00 00) -
NOREUSE) -
DATA (NAME(CFTPG.V36.CATALOG.NEW00.D))


The above lines should be mentioned / integrated as SYSIN into a JCL based on IDCAMS

As long as the file cannot be created by IDCAMS, it is not a CFT issue.


IDCAMS examples https://www.ibm.com/docs/en/zos/2.1.0?topic=dce-define-sms-managed-key-sequenced-cluster-specifying-data-index-parameters-example-2