Page 1 of 1

Can we call Easytrieve program from COBOL?

Posted: Wed Jun 10, 2015 12:22 pm
by santaj
Hi,

Does anyone know how to call Easytrieve from COBOL?

If you can tell me how to convert Easytrieve program to COBOL, it will also help. If there is a tool/utility to do that?

Thanks,

Re: Can we call Easytrieve program from COBOL?

Posted: Wed Jun 10, 2015 12:27 pm
by enrico-sorichetti
Does anyone know how to call Easytrieve from COBOL
why would You want to do that :o

Re: Can we call Easytrieve program from COBOL?

Posted: Wed Jun 10, 2015 1:12 pm
by William Collins
If you search-engine for it, you'll find a product or two to do the conversion. You could try search-engineing for the CALL as well, but the answer will be No. Unless it can be done from 11 onwards, which you would discover.

Re: Can we call Easytrieve program from COBOL?

Posted: Sat Jun 13, 2015 5:24 pm
by santaj
I thought it was doable. It is surprising to know that we can not call easytrieve from COBOL. :shock:

Re: Can we call Easytrieve program from COBOL?

Posted: Sat Jun 13, 2015 6:06 pm
by William Collins
Why would it be surprising? It was not designed to be CALLed from anywhere, so why would you think it would just up and work if it were not documented to do so?

Re: Can we call Easytrieve program from COBOL?

Posted: Thu Jul 30, 2015 4:51 pm
by santaj
William Collins wrote:Why would it be surprising? It was not designed to be CALLed from anywhere, so why would you think it would just up and work if it were not documented to do so?
I made two mistakes. First I was looking at this post https://www.ibm.com/developerworks/comm ... 0014509304 from developerworks which is on "Calling COBOL from Easytrieve in AIX" thoug in AIX but I assumed (wrongly) that we can do opposite. Second mistake is it's about AIX and I mixed it with zOS...

Sorry for the inconvenience :oops: