Skip to main content

Problem:

We have Studio for Mainframe Migration. This happens in both Mainframe Express and in Net Express using the JCL support.

After running an IEFBR14 job to build catalog entries, the dataset attributes were wrong in the Catalog for Mainframe Express. DSORG and RECFM showed a question mark '?'. We needed to add DCB=(DSORG=PS) to the DD statement. If we don't, the DSORG displays as 'unknown' in the catalog entry for Net Express. The default on z/OS is DSORG=PS and doesn't need to be specified in the JCL on the mainframe.

Resolution:

The supplied JCL was allocating QSAM datasets. The complete DCB attributes for these datasets allocated via JCL are not filled in until AFTER the OPEN is issued for any dataset. Remember, dataset attributes come from these places:

- JCL

- Cobol FD or Assembler DCB

- DSCB for QSAM

- ACB for VSAM  

So even though a dataset is allocated in the Micro Focus Catalog, its attributes might change after an OPEN.

Old KB# 3117

#MFDS
#EnterpriseDeveloper

Problem:

We have Studio for Mainframe Migration. This happens in both Mainframe Express and in Net Express using the JCL support.

After running an IEFBR14 job to build catalog entries, the dataset attributes were wrong in the Catalog for Mainframe Express. DSORG and RECFM showed a question mark '?'. We needed to add DCB=(DSORG=PS) to the DD statement. If we don't, the DSORG displays as 'unknown' in the catalog entry for Net Express. The default on z/OS is DSORG=PS and doesn't need to be specified in the JCL on the mainframe.

Resolution:

The supplied JCL was allocating QSAM datasets. The complete DCB attributes for these datasets allocated via JCL are not filled in until AFTER the OPEN is issued for any dataset. Remember, dataset attributes come from these places:

- JCL

- Cobol FD or Assembler DCB

- DSCB for QSAM

- ACB for VSAM  

So even though a dataset is allocated in the Micro Focus Catalog, its attributes might change after an OPEN.

Old KB# 3117

#MFDS
#EnterpriseDeveloper

Is there a MFES property that defaults to the DSORG=PS?