The Detail (DTL) context contains fields on the display panels of device functions that have single, non-subfile detail panels such as EDTRCD, or multiple, non-subfile panels such as EDTRCD2.
All of the fields from the access path to which the function is attached are available in the DTL context. If you map parameters to the device panel as mapped or restrictor parameters, they are also available in this context.
The shipped field, *CMD key, is present in this context. If you add any function fields to the detail panel display, these fields are available in the DTL context.
The DTL context is available in the action diagrams of PMTRCD, EDTRCD, and DSPRCD. This context is only available after the key has been successfully validated.
Consider the following example. An Edit Record function is defined on a Stock Item file using an access path, which includes the following relations:
FIL Stock item REF Known by FLD Stock item code CDE FIL Stock item REF Has FLD Stock item qty QTY FIL Stock item REF Has FLD Item price PRC
Stock Item, Qty field and Item Price Field are present in the DTL context for that function and could be used in the action diagram; for instance:
WRK. Stock value = DTL. Stock item * DTL. Item price <<<
|
Copyright © 2014 CA.
All rights reserved.
|
|