Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Cobol call to DB2 from Ezytrieve

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
PORYES

New User


Joined: 04 Apr 2007
Posts: 29
Location: Chennai

PostPosted: Mon Jan 14, 2013 3:43 pm    Post subject: Cobol call to DB2 from Ezytrieve
Reply with quote

Hello -

I want a sample code for an example of easytrieve pgm with cobol call to DB2.

Any help would be highly appreciated...

Thanks!
Back to top
View user's profile Send private message

enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10479
Location: italy

PostPosted: Mon Jan 14, 2013 4:13 pm    Post subject: Reply to: Cobol call to DB2 from Ezytrieve
Reply with quote

Quote:
Mainframe Skills: Music, Books...


most probably
The third movement of the Sibelius Violin Concerto in D minor, Op. 47
('Allegro Ma non Tanto')
will provide for all Your needs icon_cool.gif
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Mon Jan 14, 2013 4:31 pm    Post subject: Reply to: Cobol call to DB2 from Ezytrieve
Reply with quote

Not quite sure what you want, from your description.

An Easytrieve Plus program doesn't have any "Cobol CALLs", but you can call Cobol programs from Easytrieve Plus.

You can (optionally) process databases from Easytrieve Plus.

You can use DB2 from Cobol.

There are examples of all these things in the various manuals.
Back to top
View user's profile Send private message
PORYES

New User


Joined: 04 Apr 2007
Posts: 29
Location: Chennai

PostPosted: Mon Jan 14, 2013 7:02 pm    Post subject: Re: Reply to: Cobol call to DB2 from Ezytrieve
Reply with quote

Bill Woodger wrote:
Not quite sure what you want, from your description.

An Easytrieve Plus program doesn't have any "Cobol CALLs", but you can call Cobol programs from Easytrieve Plus.

You can (optionally) process databases from Easytrieve Plus.

You can use DB2 from Cobol.

There are examples of all these things in the various manuals.


Thanks Bill.
I need examples of CALL cobol programs from easytrieve plus.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7314

PostPosted: Mon Jan 14, 2013 7:16 pm    Post subject: Reply to: Cobol call to DB2 from Ezytrieve
Reply with quote

Did you look in the manuals? It is very similar to a CALL in Cobol. All CALLs are dynamic. If not already being used at your site, you'd need to check that the options on the PARM statement are OK for your requirements, and get the defaults changed if necessary.

If CALLs are already used at your site, your colleagues show already know the information you require.

Read the manual. Understand. Experiment. Repeat until comfortable. Talk to your technical support if defaults need to be changed.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10479
Location: italy

PostPosted: Mon Jan 14, 2013 7:53 pm    Post subject: Reply to: Cobol call to DB2 from Ezytrieve
Reply with quote

anyway ...
googling with calling cobol from easytrieve
returned quite a few interesting links ( Your mileage might vary )
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Mon Jan 14, 2013 9:12 pm    Post subject:
Reply with quote

Hello,

Suggest you start with calling a Simple "Hello World" COBOL program from Easytrieve.

When this is working - expand.

In the Easytrieve documentation are examples of calling COBOL from Easytrieve.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need help - DB2 Dynamic SQL Program e... NikhilGuptaGaya DB2 5 Sat Jun 23, 2018 1:58 pm
This topic is locked: you cannot edit posts or make replies. Issue in suppressing leading zeros &a... Vijay_Sirisha COBOL Programming 21 Thu Jun 07, 2018 8:01 pm
No new posts VBS to VB in COBOL and JCL srajendran2 COBOL Programming 12 Fri Jun 01, 2018 3:04 am
This topic is locked: you cannot edit posts or make replies. Rexx code to find greater then symobl... Bharath Vikraman CLIST & REXX 8 Tue May 29, 2018 9:40 am
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us