Previous Topic: Implementing CA Gen User Exits in NonStopNext Topic: How to Map Various Keyboard Keys to Specific Keys Defined for a NonStop Application


How to Map a Function Key to the Exit Key Defined for a E107 Application

This appendix explains how to map a function key to the Exit Key defined for an application, and how to map various keyboard keys to specific keys defined for an application as they relate to NonStop.

Exit Key Values

This section lists the Exit Key values that correspond to various function keys you can use on 6530 and 3270 devices. To use a particular function key, you must move the designated graphic character to the EXIT-KEY field within the configuration parameters before shipping that structure to IEFREQ.

For 6530 devices, you can move the designated graphic value to the EXIT-KEY field.

Example:

To use SF16 as the Exit Key, you should code the following statement as part of your initialization of CONFIGURATION-PARAMETERS in the requester you write to call IEFREQ:

move "o" to Exit-Key
"o"

Defines the graphic character representing SF16

For 3270 devices, you can move the designated graphic value to the EXIT-KEY field of the structure CONFIRMATION-PARAMETERS.

Note: You must confirm that the value moved is the correct ASCII value.

Example:

To use PF24 as the Exit Key, the MOVE statement would be:

move "<" to Exit-Key
"<"

Defines the graphic character representing PF24.

6530 Function Key Values

The following table lists the function key graphic character representations for 6530 devices.

Function Key

Octal Value

Graphic Character

F1

%100

@

F2

%101

A

F3

%102

B

F4

%103

C

F5

%104

D

F6

%105

E

F7

%106

F

F8

%107

G

F9

%110

H

F10

%111

I

F11

%112

J

F12

%113

K

F13

%114

L

F14

%115

M

F15

%116

N

F16

%117

O

SF1

%140

'

SF2

%141

a

SF3

%142

b

SF4

%143

c

SF5

%144

d

SF6

%145

e

SF7

%146

f

SF8

%147

g

SF9

%150

h

SF10

%151

i

SF11

%152

j

SF12

%153

k

SF13

%154

l

SF14

%155

m

SF15

%156

n

SF16

%157

o

3270 Function Key Values

The following table lists the function key graphic character representations for 3270 devices.

AID EBCDIC (hex)

ASCII (hex)

Graphic Character

PF1 / F1

31

1

PF2 / F2

32

2

PF3 / F3

33

3

PF4 / F4

34

4

PF5 / F5

35

5

PF6 / F6

36

6

PF7 / F7

37

7

PF8 / F8

38

8

PF9 / F9

39

9

PF10 / 7A

3A

:

PF11 / 7B

23

#

PF12 / 7C

40

@

PF13 / C1

41

A

PF14 / C2

42

B

PF15 / C3

43

C

PF16 / C4

44

D

PF17 / C5

45

E

PF18 / C6

46

F

PF19 / C7

47

G

PF20 / C8

48

H

PF21 / C9

49

I

PF22 / 4A

5B

symbol for cent

PF23 / 4B

2E

 

PF24 / 4C

3C

<

PA1 / 6C

2C

%

CLEAR / 6D

2F

-