View previous topic :: View next topic
|
Author |
Message |
PORYES
New User
Joined: 04 Apr 2007 Posts: 38 Location: Chennai
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
PORYES
New User
Joined: 04 Apr 2007 Posts: 38 Location: Chennai
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
anyway ...
googling with calling cobol from easytrieve
returned quite a few interesting links ( Your mileage might vary ) |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
|