Skip to main content

Problem:

Release: 2.5   What you must do is upload MFCSDEXP.CBL to the mainframe and compile it  into one of your load libraries. You must also upload VSAMINFO.ASM and  assemble that. Once you have done that, you run DFHCSDUP, and specify  MFCSDEXP as the extract program. MFCSDEXP will call VSAMINFO when  required.You then download the file that gets created as output from your  DFHCSDUP execution, and import that into Mainframe Express.

Resolution:

Here is sample jcl to run DFHCSDUP with the extract option:

//jobcard goes here

//STEP1     EXEC PGM=DFHCSDUP,PARM='CSD(READONLY)'

//STEPLIB   DD   DSN=your.LOADLIB,DISP=SHR

<<-- name of loadlib where  you compiled MFCSDEXP

//                 DD   DSN=your.CICS.SDFHLOAD,DISP=SHR <<-- your CICS loadlib  that contains DFHCSDUP

//DFHCSD    DD   DSN=your.DFHCSD,DISP=SHR

<<-- your DFHCSD  file

//SYSPRINT  DD   SYSOUT=*

//CBDOUT    DD   DSN=your.DFHCSD.EXTRACT,DISP=(,CATLG),

<<-- output file, where info is stored

//    DCB=(LRECL=80,RECFM=FB,BLKSIZE=0),SPACE=(TRK,(150,20),RLSE)

//SYSABOUT  DD   SYSOUT=*

//SYSIN     DD   *

    EXTRACT GROUP(groupname) OBJECTS USERPROGRAM(MFCSDEXP) <<-- groupname you want to import to MFE

We suggest running against a small group first, to get an idea of how the process works.

Old KB# 6646

#MFDS
#EnterpriseDeveloper