> > Hello, > > Questions again please! On Dallas VIC z/OS R13 I need to: > > - compile/link a COBOL/CICS pgm, VSAM KSDS (no DB2) > - compile/link a COBOL/CICS/DB2 pgm > > From google/docs I tried COBMCIC4 for a non DB2 and DB2CICSC for a DB2 pgms but > both procs were not found. Did a COBMCIC 'srchfor' against the DFH420 HLQ(?) .. > produced nothing. > > .. e.g. the non DB2 compile JCL was .. > > //CMPP01 JOB (CONRAD-A),'GH', > // CLASS=A,MSGCLASS=0,MSGLEVEL=(1,1) > //PROCLIB JCLLIB ORDER=DFH420.CICS.SDFHPROC > //COMPILEC EXEC COBMCIC4 > //TRN.SYSIN DD DSN=IBMUSE1.MFSY(MFSYP01),DISP=SHR <= IP PGM > //COB.SYSLIB DD DSN=IBMUSE1.MFSY,DISP=SHR <=COPY LIBRARY > /* > //LKED.SYSLMOD DD DSN=VENDOR.LINKLIB.SECOND(MFSYP01),DISP=SHR > <=LOADLIB > // > > So what/where are the relevant procs? Greedy but better still .. real live JCL:-)! > Solution should not include making any changes to the procs. > > As always, TIA > Graham Hobbs > > .. am about to start my CICS 4.2 for the first time for years .. can't remember how to > logoff, shut down or both .. could somebody please remind me? >
Graham, Depending on the version of Cobol you are using - the precompiler, IIRC, should be built in. So a normal IGY complier proc might work. Next, VSAM vs. DB2 only means precompile or regular compile. The DB2 would create DBRM out of the compiled Cobol program. This is documented in the DB2 Programmer manuals. Next, as for CICS, check out the CESN, CESF, and CEMT commands. Again documented in the CICS manuals. One big watch out - you do need a CLEAR SCREEN Key on your keyboard. Make sure one is mapped on your keyboard. If you Google CICS DB2 COMPILE you should find lots of good examples. Like this link: http://www.mainframegurukul.com/tutorials/database/db2_tutorials/sample-db2- cobol-compile-jcl.html Or at IBM this link will describe the process: http://publib.boulder.ibm.com/infocenter/dzichelp/v2r2/index.jsp?topic=%2Fco m.ibm.db2.doc.apsg%2Fqchp8b.htm Good luck. Lizette ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN

