This may sound stupid but I have not used OPNDBF command till now. I tried to use it thinking it will perform the same function as opening a database file in a COBOL program. I issued OPNDBF in a CL program and then tried to read records within a COBOL program without opening it in the COBOL program and I got the usual message wait when you try to perform operation in a database file without opening it - MCH3601. So now I am not sure in which all conditions OPBDBF is used. Can anyone give me some examples along with some code so that I can make out better how this is used. For your information, I have not even used any OVRDBF (though I had a notion that it may be required).
October 20, 2005 4:49 AM
November 16, 2009 12:51 AM