Home > Archive > Cobol > September 2004 > cics and batch
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
|
| Hi,
I have a cics program called ex. progcics.
I want to call it in batch program.
in batch program:
call "progcics" ommited struct
When progcics doesnt use DB2 its ok.
When progcics uses DB2 I have dump :
CEE3201S The system detected an operation exception (System Completion
Code=0C1).
Is it possible to use the same program (when uses db2) in cics and batch?
| |
| Joe Zitzelberger 2004-09-28, 3:55 am |
| In article <cj95cr$ill$1@nemesis.news.tpi.pl>,
"Janek" <neuros@polbox.com> wrote:
> Hi,
>
> I have a cics program called ex. progcics.
> I want to call it in batch program.
>
> in batch program:
> call "progcics" ommited struct
>
> When progcics doesnt use DB2 its ok.
> When progcics uses DB2 I have dump :
> CEE3201S The system detected an operation exception (System Completion
> Code=0C1).
>
> Is it possible to use the same program (when uses db2) in cics and batch?
>
>
Yes, it is. But you will need to link it differently, so you need two
load modules.
The difference is in the DB2 stub that you add to your program -- if
memory serves it is DSNELI and DSNALI that would be different.
| |
| Don Leahy 2004-09-28, 3:55 am |
| I believe it is possible, but you have to be careful what version of the DB2
language interface (DSNHLI) that you call.
"Janek" <neuros@polbox.com> wrote in message
news:cj95cr$ill$1@nemesis.news.tpi.pl...
> Hi,
>
> I have a cics program called ex. progcics.
> I want to call it in batch program.
>
> in batch program:
> call "progcics" ommited struct
>
> When progcics doesnt use DB2 its ok.
> When progcics uses DB2 I have dump :
> CEE3201S The system detected an operation exception (System Completion
> Code=0C1).
>
> Is it possible to use the same program (when uses db2) in cics and batch?
>
>
|
|
|
|
|