Joined: 23 Jul 2008 Posts: 27 Location: City of Joy
IF INPUT-CHAR-1 (WS-IND1) = '****'
MOVE INPUT-CHAR-1(WS-IND1) TO INPUT-CHAR-2 (WS-IND2)
But the first file is of a variable length while the file the INPUT-CHAR-2 will be written is of FB 25, so i want the code to move INPUT-CHAR-1(WS-IND1) TO INPUT-CHAR-2(0), i.e, the first position in 2nd file. How do i do that ?
As for the existing code it throws the error
NOT ENOUGH SUBSCRIPTS OR INDICES WERE SPECIFIED FOR INPUT-CHAR-2