Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

STARTING AT col1 lin1 [ENDING AT col2 lin2]

Former Member
0 Kudos

Hi,

what is the height and what is the length of called screen at this

statement. I'm, really confused.

regards

sas

1 ACCEPTED SOLUTION

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Col1 would be the starting point of the width, and lin1 would be starting line. Col2 would be the end point of the width, and line2 would be the end line.

So if you specify STARTING AT 1 1 ENDING AT 50 10 then the screen would be begin in column 1 of the screen and on line 1, and end in column 50, and end on line 20.

Regards,

Rich Heilman

2 REPLIES 2

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos

Col1 would be the starting point of the width, and lin1 would be starting line. Col2 would be the end point of the width, and line2 would be the end line.

So if you specify STARTING AT 1 1 ENDING AT 50 10 then the screen would be begin in column 1 of the screen and on line 1, and end in column 50, and end on line 20.

Regards,

Rich Heilman

Former Member
0 Kudos

Hi,

Calling a single screen is a special case of embedding a screen sequence. If you want to prevent the called screen from covering the current screen completely, you can use the CALL SCREEN statement with the STARTING AT and ENDING AT options:

CALL SCREEN <scrn>

STARTING AT <X1> <Y1>

ENDING AT <X2> <Y2>.

This calls the screen number <scrn> as a modal dialog box. When the screen is displayed, the screen that had called it is visible but inactive. The STARTING AT and ENDING AT additions specify the top left-hand and bottom right-hand corners of the dialog box respectively. In the screen attributes of screen <scrn>, you must set the Modal dialog box attribute. This defines how the interface elements are positioned on the screen.

Ex.

CALL SCREEN 200 STARTING AT 45 5

ENDING AT 95 22.

Regards,

Bhaskar