[Migrated content. Thread originally posted on 17 February 2006]
Does anyone know if its's possible to override a 78 level's value at compile time?For example (in a copy file named INPUT.WS)
78 MAX-RECORD VALUE 20.
77 INPUT-REC PIC X(MAX-RECORD) VALUE SPACE.
which would be used the majority of the time.
There could be an exception however where 1 program needs a 5000 byte data item. It would be great if I could do something like
78 MAX-RECORD 5000.
COPY "INPUT.WS"
and have the value defined in the program override what is in the copybook.
Any way to accomplish this?
Brad



