Compilation Error

Hello,

I am trying to compile existing Server Express cobol code in Visual Cobol Development hub on Solaris platform. Having issues during compilation.

1. Syntax error. GIVING not allowed.

This is the piece of code which is giving error.

PROCEDURE DIVISION USING KCT-ID-IN, IGN-IND-IN,
WS-CODE-AFK, WS-REDEN-AFK,
SQLCA, ORACA
GIVING WS-RET-CODE.

Any help will be appreciated.

Thank you,

Ramesh