I have a display file which has a long field which is meant to hold a SQL query. The field is assumed to appear in the screen as 16 lines, with 68A per line. So When I declared a field of length 1088A(16*68) but how can I declare it to have only 68 per line so that it will appear the way I wanted - 68A in 16 line in single field?
Software/Hardware used:
ASKED:
January 28, 2013 7:16 AM
UPDATED:
January 28, 2013 1:06 PM
use the keyword CNTFLD(68)IBM Manual
Using CNTFLD(68), it isn’t necessary to use a DS for the field. It is referenced as a single variable in the program. The emulator and controller will handle the multiple lines on the display. The documentation reference from BigKat mentions the need to ensure that the emulator and controller both support CNTFLD() in a compatible manner. — Tom