Problem:
This sample demonstrate how to control a character-based application screen size using two new tunables, Screen_Lines and Screen_Cols.
Resolution:
INTRODUCTION
==========
This sample demonstrate how to control a character-based application screen size using two new tunables, Screen_Lines and Screen_Cols.
SOURCE FILES:
==========
Program Files Description
------------------- -----------------------------------------------------------
Screensize.cbl
Source program simply performing Accept/Display statements
Resource Files:
------------------- -----------------------------------------------------------
runtime.cfg Runtime tunables configuration file
REQUIREMENTS:
==========
The environment variable COBCONFIG_ needs to be set, pointing to the runtime tunable configuration file. In this case it is set under the Project Properties pull down menu under IDE.
OPERATION:
========
Simply rebuild the provide program and run it. To obtain the desired effects you may have to maximize and minimize your command prompt at execution.
NOTE:
====
The tunables are at this date, 06/2001, not documented but the limits on the number of columns is 132 while the limits on the number of lines is 60.
These tunables were testing when running INT or GNT using the RUN or RUNW command and also as a Shared runtime EXE.
==========================================================
Keywords: demonstration, sample, example, demo, screensize.zip
demo.ex
demo.ne