How to Compile, Lked and Execute of Ezt Pgm with DB2

praveen Kumar komaragiri

How to Compile, Lked and Execute of Ezt Pgm with DB2
Hi all,
We are developing new Easytrieve pgms with SQL statements(Access to
DB2) in our shop. These Easytrieve pgms also calls COBOL subroutines which
is also having SQL (Access to DB2) statements.

So far we have executed Only easytrieves pgms (with SQL statements) and called
pure Cobol subroutines(No DB2 Access). Now we need to have SQL statements in
Easytrieve and also in Cobol subroutines. How to linkedit the above Easytrieve and
Cobol object modules into one Loadmodule and how to bind its corresponding DBRMLIB
to a PLAN.

Can any one have come across with this problem? Pls help us if u have a
solution and send details
to this mail-id : [login to unmask email]
Thanks in advance
_______________________________________________
Praveen Kumar Komaragiri,
GE-CBDS Offshore,
Wipro Technologies,
1-8-448,5th Floor,
Laxmi Building,S.P.Road,
Hyderabad-500003, India
Tel: 91-40-7896008, Ext:4519
Fax: 91-40-7896123
E-mail:[login to unmask email]
<mailto:E-mail:[login to unmask email]>
Web site : www.wipro.com < http://www.wipro.com >
The World's First SEI CMM Level 5 Software Services Company
***************************************************************************

William Gannon

Re: How to Compile, Lked and Execute of Ezt Pgm with DB2
(in response to praveen Kumar komaragiri)
Praveen,

I would not combine these objects or the DBRMs. To handle this situation

I would add a collection (say EZTCOBS.*) to the Easytrieve plan bind
statement and rebind it. Then all your called COBOL (or whatever)
subprograms should be bound as packages in that collection. Just ensure
that the subprogram linklib is part of the concatenation of the
Easytrieve execution JCL.

HTH

Bil

praveen Kumar komaragiri wrote:

> Hi all,
> We are developing new Easytrieve pgms with SQL
> statements(Access to
> DB2) in our shop. These Easytrieve pgms also calls COBOL subroutines
> which
> is also having SQL (Access to DB2) statements.
>
> So far we have executed Only easytrieves pgms (with SQL statements)
> and calledpure Cobol subroutines(No DB2 Access). Now we need to have
> SQL statements inEasytrieve and also in Cobol subroutines. How to
> linkedit the above Easytrieve andCobol object modules into one
> Loadmodule and how to bind its corresponding DBRMLIBto a PLAN.
>
> Can any one have come across with this problem? Pls help us if u have
> a
> solution and send details
> to this mail-id : [login to unmask email]
> Thanks in advance
> _______________________________________________
> Praveen Kumar Komaragiri,
> GE-CBDS Offshore,
> Wipro Technologies,
> 1-8-448,5th Floor,
> Laxmi Building,S.P.Road,
> Hyderabad-500003, India
> Tel: 91-40-7896008, Ext:4519
> Fax: 91-40-7896123
> E-mail:[login to unmask email]
> <mailto:E-mail:[login to unmask email]>
> Web site : www.wipro.com < http://www.wipro.com >
> The World's First SEI CMM Level 5 Software Services Company
>
> **************************************************************************