Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

cics and batch
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?



Report this thread to moderator Post Follow-up to this message
Old Post
Janek
09-28-04 08:55 AM


Re: cics and batch
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.


Report this thread to moderator Post Follow-up to this message
Old Post
Joe Zitzelberger
09-28-04 08:55 AM


Re: cics and batch
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?
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
Don Leahy
09-28-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 05:35 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.