Work records typically are small and contain only elements needed by a particular dialog or process module. This reduces the amount of storage reserved for a given dialog during execution. For example, in this chapter you will define a one-element work record for dialog XXXDUPD.
You will use the IDD menu facility to define:
Element XXX-WK-FIRST-TIME stores either Y (yes) or N (no) to indicate whether response process XXXDUPD-ENTER is processing a department record for the first time, or not. Different commands in process module XXXDUPD-ENTER are performed, based on the value in element XXX-WK-FIRST-TIME.
Additional elements can be added to a work record at any time. For example, if a response process for dialog XXXDUPD is modified so that a counter is required, you can add an element (for example, XXX-WK-COUNTER) to record XXX-WK-RECORD to store the counter value.
To define a work record in this chapter, you will:
These steps are presented below. If you need additional information at any time about the use of IDD, see Using the IDD Menu Facility.
|
Copyright © 2013 CA.
All rights reserved.
|
|