Attributes to Read & Write DB2 file

What are the attributes that needs to be defined in order to read & write DB2 file in Cobol program?

Questions by vincekumar

Showing Answers 1 - 2 of 2 Answers


  • May 26th, 2010

To see the attributes of RW DB2 file do the following:

Go to DB2 region
Select 3 admin tool
1 - DB2 system catalog
T - Tables, views, and aliases
D - Database
DIS - Display database

You will get screen like below-
-------- ---- ----- ------
YVAMS01S TS         RW   
YVAMS02S TS         RW   

If it is RW, you can update DB2 table. If it is only R you cant update DB2 table

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.


Related Answered Questions


Related Open Questions