How Can A Database Connect With Cobol?


1 Answers

Lovika Grover Profile
Lovika Grover answered
To connect to COBOL, you first need to connect to the Oracle before you manipulate the data. In order to leg on, you need to first use the Connect statement. It is used as EXEC SQQL. To connect, you need to enter an identified username and a password that it accepts. Alternatively, you are now able to use the statements EXEC SQL that is followed by a username and password and then end the exec.

The syntax to connect has a Alter Authorization clause that is explained in the changing passwords at the runtime. Make it a point that your user name and the password are accepted before they Connect else it will fail to connect. Thereafter the program will prompt the values or you can also hard code them

Answer Question