Re: Single Source CICS/Batch



I want to write the code (business logic) once (eg batch version), generate
the other version (cics version) and have the two sources compiled.
The first load module will be used in batch, the second load module will be
used in Cics.
I'm talking about routines, no main programs.

"Alistair" <alistair@xxxxxxxxxxxxxxxxxxxxx> schreef in bericht
news:1162042071.074531.138270@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Vanroy - Cleymans wrote:
Does anybody has experience with writung the Cobol source code once and
running the load module(s) in Cics and Batch environment (on Z/OS)

thanks,

Willy Vanroy

I don't believe that it would be possible to do that (unless you mean
by using Xpeditor, the interactive debugger). CICS/Cobol programs
require CICS to be up and running when the program runs (because the
program is run under CICS and makes calls to CICS). A routine may be
written and compiled (eg for date validation) to run under batch and
CICS if called from a correctly compiled program.



.



Relevant Pages

  • Re: load modules for CICS, IMS, DB2 and TSO
    ... DFHEI1 (CICS) and CBLTDLI/AIBTDLI linkage? ... I am able to use CAF even without specifying the ATTACHDB2 ... libraries for all of my Cobol compiles (batch, batch with IMS, batch ... with DB2, batch with IMS and DB2, CICS, CICS with IMS, CICS with DB2, ...
    (bit.listserv.ibm-main)
  • Re: JCL, Cobol and "Call Parameters"
    ... you are migrating to MF and Unix? ... or CICS applications as well? ... Yep we are planing to migrate CICS and Batch Jobs. ... Batch will be native Cobol with UC4 as Scheduling ...
    (comp.lang.cobol)
  • Re: VSAM random read error
    ... every RNF condition (doing it at file open won't solve the RNF during ... This temp dataset is shielded from the CICS updates. ... temp dataset at the end of batch. ...
    (bit.listserv.ibm-main)
  • Re: Single Source CICS/Batch
    ... running the load modulein Cics and Batch environment ... B04 77 WS-ORIGINAL-EIBRSRCE PIC XVALUE LOW-VALUES. ... B04 77 WS-LINK-EIBFN REDEFINES ...
    (comp.lang.cobol)
  • Re: VSAM random read error
    ... Occasionally a record not found condition was hit but the record ... I assume a CI/CA split happens after batch file open and the record ... The file is indeed open for update in CICS but the key for which the ... time and found that no other program running parallely was even using ...
    (bit.listserv.ibm-main)