Quickedit AO command producing unexpected results
search cancel

Quickedit AO command producing unexpected results

book

Article ID: 441204

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

When you are in QuickEdit and enter the AO (Action Options) command, your own local REXX script executes instead of the expected Action Options panel.

This might happen with other commands like SQ or PD

Cause

The AO command is intercepted by ISPF before it is passed to QuickEdit. This occurs because the command is defined in an active ISPF command table. ISPF executes the command as defined in that table (running your REXX) without passing the input to the QuickEdit dialog.

Resolution

You must adjust the ISPF command table to allow QuickEdit to process the command locally.

  1. Verify the command definition by issuing ISPVCALL STATUS (or TSO ISPVCALL STATUS) from within your QuickEdit session.
  2. Review the Active Command Tables and Entries in Open Command Tables sections in the output to confirm if AO is defined there.
  3. Customize your CTLICMDS table (assuming you start the dialog with NEWAPPL(CTLI)).
  4. Define the AO command in this table with the action set to PASSTHRU.
    • The PASSTHRU setting ensures ISPF "passes the command through" to the dialog for processing as if it were not found in any command table.
  5. Save your changes to the command table.

This configuration allows the product to run the Action Options dialog in QuickEdit while preserving your user-defined functions in other environments. This is because CTLICMDS is the "application-level" command table which takes precedence over other active command tables while the application (QuickEdit) is running