Robin Thomas, As per your suggestions I put the code but I am still having problems. I am attaching the SQL COBOL program compiler listing in a file and would appreciate if could review the same. Thanks,
FetchCsr. 72 EXEC SQL 73 Fetch Next From Input_Cursor 74 Into :SMYEAR , 75 :SMSUPR , 76 :SMIDENT , 77 :SMCUSN , 78 :SMCUSS , 79 :SMSRCHCD, 80 :SMPERC , 81 :SMMM , 82 :SMMSAL , 83 :SMSCOM Instead of fetching into the individual variables try fetching into the record format name of ur PF RCMOESMPF Regards, Robin Thomas
Comment