The Display Record (2 panels) (DSPRCD2) function defines a program that is identical to the Display Record function except that it allows the database record details to extend into two separate display device panels. You can use the scroll keys to move between the panels of details. This function type would be suitable to use with files that contain many fields.
The DSPRCD2 function executes in *DISPLAY mode only. There are three display panels associated with this function type: a key panel that prompts for the key values, and two detail panels which display, by default, all of the fields from the based-on access path. On any panel, you can hide any fields that you do not want to appear. In addition, the same field can appear on more than one detail panel.
This panel is used to display a record that has more fields than currently fit into a single panel. All of the considerations that apply to Display Record also apply to DSPRCD2.
The following is an example of Key panel.

The following is an example of Detail Panel 1.

The following is an example of Detail Panel 2.

Note: For more information, see the Knowledge Base article The working and limitations of EDTRCD2, EDTRCD3, DSPRCD2 and DSPRCD3 function types.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |