Re: Single Source CICS/Batch




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

Assuming your programs are not interactive, needing screen i/o, and you
don't mean subroutines, you could consider just running programs as
CICS transactions with START when the online environment is running and
setting up an indivdual CICS session via JCL for your batch task when
it isn't. There may even be some sophisticated scheduling mechanisms
for when the online environment is running. Thinking about it a bit
more, if you were to invoke a batch CICS session via JCL, you would
probably still want/need to use START within it to allow multiple
programs to be executed in sequence or together without having to load
and unload CICS multiple times.

Any one else got any thoughts, as I am not very familiar with this,
though I know something like it can be done.

Robert

.



Relevant Pages

  • Re: Single Source CICS/Batch
    ... I want to write the code once (eg batch version), ... 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 ... Willy Vanroy ...
    (comp.lang.cobol)
  • Re: IBM, CICS, COBOL, et al
    ... under the new CICS? ... COBOL code will now be truly re-entrant, ... I wouldn't mind betting that programs written for the old environment, ...
    (comp.lang.cobol)
  • Fw: Metal C and CICS
    ... The original question came while I was working with the CICS dox people on ... "Run time support - Provided by Language Environment" ... region that currently using ONLY non-LE enabled command-level CICS HLASM, ...
    (bit.listserv.ibm-main)
  • Re: IBM, CICS, COBOL, et al
    ... I'm just wondering HOW the new CICS is different and I don't know whether ... > IBM has had COBOL compilers that could create RENT code since VS COBOL II, ... >> recompiled in the new environment, ...
    (comp.lang.cobol)
  • Re: CICS DOCUMENT CREATE storage?
    ... CICS DOCUMENT commands? ... The environment is Z/OS, CICS TS 2.3, Cobol CICS program with an ...
    (comp.lang.cobol)