IDMS: Printing the IDD screen or the work file

book

Article ID: 207697

calendar_today

Updated On:

Products

CA IDMS

Issue/Introduction

It is possible to initiate DC prints from within IDD, but there are two styles of print.

One is to just print the current screen, the other is to print the entire contents of the current IDD work file, regardless of how many pages it is.

This document describes the different methods available to invoke these print functions.

Environment

Release : All supported releases
Component : CA IDMS

Resolution

IDD Screen Print

A simple print of the current IDD screen contents can be initiated by a PF key.

The PF key to use is specified in the PRINT KEY clause of the System Generation SYSTEM statement, and can be overridden at task level by the PRINT KEY clause of the IDD task definition statement.

IDD Work file Print

A print of the entire IDD work file can be initiated by the PRINT top-line command from the IDD screen.

This command is assigned a PF key by the means of the KEYS statement in System Generation. PRINT is assigned internal FUNCTION 10 which is mapped to PF12 and PF24 as can be seen at KEYS Statement Usage.

As an example, to change it so that PF10 will invoke a print of the workfile, the following System Generation syntax can be used:

MOD SYS nnn.
MOD KEYS FOR TABLE SYSTEM  
    FOR APPLICATION IDD
  PF10  = FUNCTION 10.
GEN.

Conflict

If the same PF key is used, the print of the screen takes precedence.