Re: Single Source CICS/Batch




"Vanroy - Cleymans" <vanroy@xxxxxxxxxx> wrote in message
news:H2I0h.153095$qQ7.2376813@xxxxxxxxxxxxxxxxxxxxxxxx
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


It is possible to write a subroutine that is called by both a CICS program
and a batch program. I have not personally done it but I have seen it. Of
course the subroutine would not have any CICS commands in it.

Another way you could do this is to place the business logic in a COPY
(or -INC for Librarian), but there is no way that I know of to execute CICS
commands from a batch 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)