When ever u make any changes to tehe COBOL-DB2 Program u have to Bind it first and then Run it.
I bound it everytime I made changes. But the changes were not getting reflected since it was a subroutine. I had to compile the program which is calling this subroutine everytime I made changes. I wanted to know if there are other possibilities which give a -818.