Skip to main content

Problem:

In JCL, it is possible to use DCB=AMODEL. as below...

//DD1      DD DSN=YR&PHASE..&BUS..AA.&ZONE..YRAA1405.FATERR,

//            DISP=(,CATLG,DELETE),

//            UNIT=&PACK,

//            SPACE=(TRK,(1,1)),

//            DCB=AMODEL,

//            RECFM=FB,

//            LRECL=80

What does this parameter do..? and how can it be used in Mainframe Express..?

Resolution:

The DCB parameter used as DCB=AMODEL, will create a dataset in the MFE catalog with the same file attributes as a file called AMODEL.

For this to work correctly,the file with the DSName of AMODEL must exist or be created in the MFE catalog, with the correct file attributes,  prior to running the sample JCL.

At runtime the AMODEL file attributes are used to create a dataset in the MFE catalog.

Old KB# 2502

#EnterpriseDeveloper
#MFDS