SCRNINFO
SCRNINFO returns a two-digit decimal screen height (in lines) in the variable SCRNHT, and returns a three-digit decimal screen width (in columns) in the variable SCRNWD.
Return codes
- n
- specifies the return code passed back by CICS if an error is detected
- 0
- Normal return
- -499
- Internal error
Example
'SCRNINFO'
Notes
- The screen information that is returned is obtained by doing an EXEC CICS ASSIGN SCRNHT(scrnht) SCRNWD(scrnwd).
- The values for screen height and screen width is 0 if there is no terminal attached.
