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

Page 260: Operands, Curline

Advertising
background image

BOTTOM

displays the command line on the bottom line of the screen.

Return Codes

0

Normal return

202

Invalid operand

Example

'CMDLINE TOP'

This example places the command line on the second line of the screen.

CTLCHAR

CTLCHAR

character
OFF

ESCAPE
PROTECT
NOPROTECT
OFF

CTLCHAR sets a control character's function.

Operands

character

specifies a control character to use.

OFF

drops all definitions of control characters if OFF is used without specifying a character or drops the
specific character if one is specified.

ESCAPE

specifies that the following character in the string, passed to the RESERVED command, is a control
character.

PROTECT

specifies that the string passed to the RESERVED command is protected from user input.

NOPROTECT

specifies that user input, passed to the RESERVED command, is allowed on this string.

Return Codes

0

Normal return

202

Invalid operand

Example

'CTLCHAR ! ESCAPE'
'CTLCHAR % PROTECT'
'RESERVED 20 HIGH !% Important Info'

This example defines ! as the escape character and % as the field protection character. After you enter
these commands, the screen line 20 will be protected and contain the text that follows the control
characters, !%.

CURLINE

CURLINE

number

CURLINE sets the current line display preferences.

Text Editor

238

CICS TS for VSE/ESA: REXX Guide

Advertising