Hi,
We are creating a design spec. The new design will require some new DB2 queries to be written. The problem is we have some program changes, with this new design which will make use of some of the information from adabas database too. Question is, is it possible for a COBOL program to contain both ADABAS and DB2 CALLs? If so is possible, how to compile the program?
Thanks,
Can COBOL call DB2 and adabas in the same program?
Re: Can COBOL call DB2 and adabas in the same program?
Have you checked with your Adabas support? Have you checked the Adabas manuals? Have you checked with the vendor?
Regards
Nic
Nic
- Robert Sample
- Global Moderator
- Posts: 1903
- Joined: Fri Jun 28, 2013 1:22 am
- Location: Dubuque Iowa
Re: Can COBOL call DB2 and adabas in the same program?
A Google search found some hits indicating that it is possible for ADABAS and DB2 to be used in the same COBOL program. You would do well to talk to both vendors, however, about what you want to do as they should be able to tell you of any quirks in doing this type of program.
- Anuj Dhawan
- Founder
- Posts: 2824
- Joined: Sun Apr 21, 2013 7:40 pm
- Location: Mumbai, India
- Contact:
Re: Can COBOL call DB2 and adabas in the same program?
That's possible to have CALLs to ADABAS and DB2 from a COBOL program. ADABAS is well developed database system and as such can be accessed from most (all?) of the programming languages.
You'd need to provide the JCL with appropriate libraries. However based on your shop's setup there can be a specific way to write such a JCL, for which, as has been suggested already, you should touch base with the ADABAS support at your shop.
You'd need to provide the JCL with appropriate libraries. However based on your shop's setup there can be a specific way to write such a JCL, for which, as has been suggested already, you should touch base with the ADABAS support at your shop.
Thanks,
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Anuj
Disclaimer: My comments on this website are my own and do not represent the opinions or suggestions of any other person or business entity, in any way.
Create an account or sign in to join the discussion
You need to be a member in order to post a reply
Create an account
Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute