Previous Topic Next topic Print topic


Compiling the COBOL Programs

To compile the COBOL programs that comprise the MFDEMO application:

  1. At an Enterprise Developer command prompt, navigate to the folder containing MFDEMO's source files, which by default is %PUBLIC%\Documents\Micro Focus\Enterprise Developer\Samples\Mainframe\IMS\Classic\IVP or IVP64 (Windows) or $COBDIR/demo /ims/ivp32 or ivp64 (UNIX).
  2. Enter the following commands, depending on your platform:

    Windows:

    cobol demo001b dialect(vsc24) noflag anim noobj charset(ascii) outdd"sysout 121 r e";
    cobol cdlidemo dialect(mf) osvs cicsecm noflag charset(ascii) anim noobj;
    cobol execdemo dialect(mf) cicsecm execdli noflag charset(ascii) anim noobj;
    cobol demo001t dialect(vsc24) noflag charset(ascii) anim noobj;
    cobol rghtjust dialect(mf) charset(ascii) anim noobj;

    UNIX:

    cob DEMO001B.cbl -C "dialect(vsc24) noflag anim noobj charset(ascii) outdd(sysout 121 r e)"
    cob CDLIDEMO.cbl -C "dialect(mf) osvs cicsecm noflag charset(ascii) anim noobj"
    cob EXECDEMO -C "dialect(mf) cicsecm execdli noflag charset(ascii) anim noobj"
    cob DEMO001T.cbl -C "dialect(vsc24) noflag charset(ascii) anim noobj"
    cob RGHTJUST.cbl -C "dialect(mf) charset(ascii) anim noobj"

This creates an intermediate code (.int) and dictionary (.idy) file for each COBOL program.

Previous Topic Next topic Print topic