Code Comments
Programming Forum and web based access to our favorite programming groups.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?
Post Follow-up to this messageIn 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.
Post Follow-up to this messageI 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? > >
Post Follow-up to this messagePowered by vBulletin
Copyright 2000-2006 Jelsoft Enterprises Limited.