1752785 Members
5926 Online
108789 Solutions
New Discussion юеВ

COBOL and Oracle

 
SOLVED
Go to solution
Alberto Rua
New Member

COBOL and Oracle

IS POSSIBLE DO DATA REPLICATIONG OR MIRRORING USING COBOL MVS?
5 REPLIES 5
Hoff
Honored Contributor

Re: COBOL and Oracle

IBM MVS? Donno. Ask IBM.

Assuming you meant COBOL on OpenVMS...

Host-based volume shadowing (HBVS; also known as disk mirroring) and controller-based RAID, both occur underneath the level of COBOL and other such activity. Both HBVS and RAID are available on OpenVMS. And both can be used with COBOL applications.

If you're looking for transaction-oriented processing for recovery or replication, My recollection is that COBOL does not offer that within the language itself, though you can use RMS Journaling and other OpenVMS-related data services in conjunction with COBOL code. You can call these and other OpenVMS services from your COBOL code.

Calls into most SQL and non-SQL databases can also be configured to provide transactional and data replication processing.

What OpenVMS version?

What OpenVMS platform?

What COBOL?

What particular problem are you looking to solve, or what failures are you seeking to defend against?

Alberto Rua
New Member

Re: COBOL and Oracle

Sorry, is HP COBOL ON OPEN VMS AND ORACLE DBMS. COULD YOU GIVE ME MORE DETAILS ABOUT USING CODE?
Hoff
Honored Contributor

Re: COBOL and Oracle

Oracle Corporation (http://www.oracle.com) has an on-line support facility called Metalink, which allows you to access the documentation and example code for Oracle's database products.

Your question appears to an Oracle question -- I'm assuming you already know how to program COBOL -- and not really a COBOL question nor an OpenVMS question. You want to know how to use Oracle to replicate data.

If you're just getting going with Oracle, you'll want to start over in Metalink, and particularly with the Oracle documentation.

Now if you're seeking to replicate data using host-based volume shadowing (HBVS; host-based disk mirroring) or controller-based RAID (controller-based disk mirroring), that's basically transparent to the COBOL code.
Alberto Rua
New Member

Re: COBOL and Oracle

Could you explain more about how replicate data using host-based volume shadowing (HBVS; host-based disk mirroring) or controller-based RAID (controller-based disk mirroring. Thanks.
John Gillings
Honored Contributor
Solution

Re: COBOL and Oracle

Alberto,

>how replicate data using host-based
>volume shadowing

There's a whole manual "Volume Shadowing for OpenVMS". It's far too big (and critical) a subject to give a useful summary in this form. Exactly what and how you do it depends on your objectives and constraints. Please see the documentation: http://h71000.www7.hp.com/doc/732FINAL/aa-pvxmj-te/aa-pvxmj-te.HTML

>controller-based disk mirroring

That will depend on your controller. Again, you need to read the documentation.
A crucible of informative mistakes