Previous Topic Next topic Print topic


RESET-PFKEY

Simulate screen invocation.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

Targets:

  • CICS
  • DLG
  • IMS DC

Syntax:

[TP-]RESET-PFKEY keyvalue

General Rule:

  1. When you set your DLG generation parameters in the Screen Painter:
    • Select Program Controlled for the program to control PF key processing. AMB saves the end user original PF key values and replaces them with literals not recognized by Dialog, so that you can control the PF key usage. When the program terminates, the original PF key values are restored.
    • Select ISPF Command Table for Dialog to control PF key processing. This is the default.

Parameters:

keyvalue

See the following table for valid values

Value Supported Targets

PF0

  • CICS
  • IMS

PF00

  • CICS
  • IMS

PF01 thru PF24

  • CICS
  • IMS
  • DLG

ENTER

  • CICS
  • IMS
  • DLG

ENTER-KEY

  • CICS
  • IMS
  • DLG

PA1

CICS

PA2

CICS

PA3

CICS

CLEAR-KEY

CICS

CLEAR

CICS

NO-KEY

IMS

NONE

IMS

PEN

CICS

TRIG

CICS

OPID

CICS

MSRE

CICS

STRF

CICS

Example:

Simulate pressing the ENTER key.
/* Move Commarea key to key field 
MOVE CA-PASSED-KEY TO SCRN-KEY-FLD
/* Move Q to FUNCTION field
MOVE 'Q' TO SCRN-FUNCTION-FLD
/* Simulate pressing of ENTER key
/* with RESET-PFKEY call
RESET-PFKEY ENTER
/* Perform processing logic
TP-PERFORM APS-USER-CODE-PARA
Previous Topic Next topic Print topic