I have one doubt for using of copybook local variables in EXEC FETCH command .
like
DECLARE SECTION
05 D-CTR-ACCT-NUM OCCURS 500 TIMES PIC X 16
05 D-CTR-ACCT-BRANCH OCCURS 500 TIMES PIC X 5
------------
PROCEDURE
EXEC SQL FOR D-ROW-NUM
FETCH CURSOR_NAME
INTO D-CTR-ACCT-NUM,
D-CTR-ACCT-BRANCH,
D-CTR-DECI-OFFICER,
in above example of PCO program can we use copybook variable like
COPY UT9920CA IN LIBRYXXX. As I have tables copybook which I have to use for fetch into command variables .