Scrninfo, Return codes, Example – IBM SC34-5764-01 User Manual

Page 390: Notes, Return codes example notes

Advertising
background image

SCRNINFO

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

1. The screen information that is returned is obtained by doing an EXEC CICS ASSIGN SCRNHT(scrnht)

SCRNWD(scrnwd).

2. The values for screen height and screen width is 0 if there is no terminal attached.

Commands

368

CICS TS for VSE/ESA: REXX Guide

Advertising