Beruflich Dokumente
Kultur Dokumente
What is the maximum number of records you can specify in a display file? Ans:1024 How can a screen field that has changed since the last output operation be detected ? Ans:Attach the MDT (modified data tag) attribute to the field, to detect whether field has been changed as a result of user input. What would be the effect on the field where reverse image, underline and highlight display attributes were active? Ans:The result is same as if you had specified ND. What is the use of DSPATR(MDT) keyword? Ans:Sets on the modified Data Tag of the field. The Data Tag detect whether the field has been changed as a result of user input. If DSPATR(PC) and CSRLOC were specified for a format, which keyword would have priority? Ans:CSRLOC gains priority. Can error messages as a result of a COMP, RANGE or VALUES keyword be overridden? Ans:Yes, through CHKMSGID keyword. What the purpose of OVRDTA, OVRATA keywords? Ans:OVRDTA keyword (field or record level) can be used to override the existing data contents of a field or record already on the display. OVRATA keyword (field or record level) can be used to override the existing display attributes of a field or record already on the display. How can a message from a message file appear as a constant on the screen? Ans:By using MSGCON (message constant) keyword. In conjunction with what other keyword must OVRDTA and OVRATA be used? Ans:PUTOVR keyword must used. What is the purpose of the INDARA keyword? Ans:This File-level keyword is used to remove option and response indicators from the buffer and places them in 99-byte separate indicator area. Explain the purpose of KEEP and ASSUME keywords? Ans:KEEP: Keep the display from being deleted when the display file is closed. ASSUME: It is used to specify that the OS/400 program is to assume that this record is already shown on the display when this file is opened. Explain the use of DFTWRT display keyword? Ans:No records will be displayed until there is any I/O operation. What is the purpose of FRCDTA keyword ? Ans:Immediately display a record format without waiting for the next I/O operation.