HI ,
I my SQCBLLE program i declared "A" file as out file and closed once completed writing the records in to it.

after that i used the same file("A") as input file to read by declaring cursor in the same program.

i fetched the record sucessfully...