Terminal not known condition exits – IBM SC33-1683-02 User Manual

Page 247

Advertising
background image

*BLDNETNM DS

0H

*

*

Build a netname by taking the first character of the

*

terminal ID and appending it to the characters 'CICS'.

*

L

R2,UEPICNTO

access the output netname field

L

R3,UEPICRTR

access ID of requested terminal

MVC

0(8,R2),=C'CICS

'

MVC

4(1,R2),0(R3)

first character of terminal ID

LH

R15,NETNAME

netname returned

B

EXIT

*

NOTSTART DS

0H

LH

R15,UNKNOWN

reject Transient Data trigger

*

level events

*

EXIT

DS

0H

L

R14,12(R13)

restore registers except 15

LM

R0,R12,20(R13)

which contains the return code

BR

R14

*

***********************************************************************

*

Local constants

***********************************************************************

START

DC

AL2(UEPICES)

STARTDAT DC

AL2(UEPICESD)

NETNAME DC

AL2(UERCNETN)

UNKNOWN DC

AL2(UERCTEUN)

*

DFHEND DFHXTENF

Figure 2. Sample program for XALTENF and XICTENF exits (Part 2 of 2)

terminal not known condition exits

Chapter 1. Global user exit programs

215

Advertising