Hi,
I tried to create a dynamic include statement like,
INCLUDE READ-C '#FILE-NAME' '#FILE-KEY' '#FIELD-VALUE' .
But im getting NAT0274 Error 623 in line 20 of copycode.
READ-C :
0010 *
0020 READ &1& BY &2& EQ '&3&'
0030 *
0040 IF &2& NE &3&
0050 ESCAPE BOTTOM
0060 END-IF
0080 *
0090 END-READ
But if i use
INCLUDE READ-C 'EMPLOYEE' 'EMPLOYEE-NAME' '#FIELD-VALUE'
im not getting any error.
Cant we create a dynamic input field like #FILE-NAME while using a copycode ?
Regards
Arkantos