I have a display file with mandatory fields. Is there anyway
that i can highlight those fields to bring attention to the
user? The same behavior that AS400 makes when we attempt to
execute a command without completing all the required
parameters.

Note: I have used DSPATR(HI) or DPSATR(RI) and they have
different behaviors.
Thanks.

Answers were Sorted based on User's Feedback



I have a display file with mandatory fields. Is there anyway that i can highlight those fields to b..

Answer / amit

Reverse image works fine. Why do u need any other way?
You can also use position cursor so that the cursor will be
placed at that location automatically.

Is This Answer Correct ?    4 Yes 0 No

I have a display file with mandatory fields. Is there anyway that i can highlight those fields to b..

Answer / sandy

use COLOR keyword with indicator and turn on the indicator in program where ever its required. please correct me if i am wrong.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

how to see all source files in a particular library? ex:xyz is a library name a,b,and c..... are source files how to see?

13 Answers  


what are all the contents of subfile?

1 Answers   IBM,


can you have multiple key lists for a single file ?

1 Answers   IBM,


What is the purpose of STRCMTCTL command?

1 Answers  


What are the valid user defined data area types?

1 Answers  






what is the difference between seton lr and retrn?

1 Answers   IBM,


how do you pass parameters in cl?

1 Answers   IBM,


Difference between NOPASS & OMIT?

0 Answers  


How I can read and display three fields in the record format DSPFM1 of the display file,while one field(using in one file) is NAME which is Key field in field reference file and another two fields are AGE and ROLL NO are using another file. Please send me coding part.

2 Answers   IBM,


how do you turn off indicators 50 through 59 in only one operation

1 Answers  


how can you detect and handle a record lock situation?

1 Answers   IBM,


in conjunction with what other keyword must ovrdta and ovrata be used?

1 Answers   IBM,


Categories