To compile a mainframe-based service driver program on a remote UNIX machine

  1. Log on to the target machine.
  2. Go to the package path folder. If you are using a telnet session originating from your development machine, you can paste the package path from the clipboard.
  3. Compile the service driver source using the cob command and appropriate directives. The directives you use depend on the type of service interface as follows:
    Note: The service interface filename prefix ( SERVINTNAME ) is always upper case.
    Service Interface Type Compiled As Command Line
    CICS screen or EBCDIC commarea GNT cob –vu servintname.cbl –C “CICSECM() DIALECT(OS390) DEFAULTBYTE(00) WARNING(1) COPYEXT(cpy)”
    CICS screen or EBCDIC commarea Shared Object cob –vUz servintname.cbl –C “CICSECM() DIALECT(OS390) DEFAULTBYTE(00) WARNING(1) COPYEXT(cpy)”
    CICS ASCII commarea GNT cob –vu servintname.cbl –C “CICSECM() DIALECT(OS390) CHARSET(ASCII) DEFAULTBYTE(00) WARNING(1) COPYEXT(cpy)”
    CICS ASCII commarea Shared Object cob –vUz servintname.cbl –C “CICSECM() DIALECT(OS390) CHARSET(ASCII) DEFAULTBYTE(00) WARNING(1) COPYEXT(cpy)”
    IMS Screen GNT cob –vu servintname.cbl
    IMS Screen Shared Object cob –vUz servintname.cbl