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 with sql code zero and try to insert a record in to a PF which is having a KEY value.
BUt when it insert a duplicate record it wil give 80L sql code instead of -803..
and also givng the below messages
Duplicate record key in member STUDENTF
Duplicate key on access path.
Duplicate key on access path.
Duplicate key value specified.
please guide me where i am doing wrong
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 with sql code zero and try to insert a record in to a PF which is having a KEY value.
BUt when it insert a duplicate record it wil give 80L sql code instead of -803..
and also givng the below messages
Duplicate record key in member STUDENTF
Duplicate key on access path.
Duplicate key on access path.
Duplicate key value specified.
please guide me where i am doing wrong
Comment