The Display Record (DSPRCD) function defines a program to display a single record from a specified database file. If you do not supply a key value to the function during execution, or if you supply only a partial key, a key value panel prompts you for the key value(s). After supplying the key value(s), the remaining fields in the record appear. All or some of the keys can be supplied as restrictor parameters. If the parameter list contains all the key fields as restrictors, the key panel is bypassed.
All fields on the DSPRCD panel design are output capable only, by default.
You can attach a DSPRCD function to Retrieval (RTV) or Resequence (RSQ) access paths. The access path determines which fields and which records are available for display. There is no default update processing in this function.
The DSPRCD function executes in *DISPLAY mode only. There are two display panels for this function type: a key panel which prompts for the key values and a detail panel which displays the remaining fields as defined by the device design and the access path.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |