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 do you read a subfile record which is in output mode?

3 Answers  


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  


how many triggers can be associated with a file?

1 Answers   IBM,


I have to execute 12000 CL Commands one by one.. So, I have created a file called COMMAND. This file has only 1 field called STRING. This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc) I have written a CL which will read all the record and do sbmjob.. But it is not working... Plz help me to exexute all these 12000 commands..

2 Answers   ISE,


What the purpose of the keywords FIFO, LIFO, FCFO?

1 Answers  






What is file information data structure(infds) in as400?

0 Answers  


define the purpose of the iter operation?

1 Answers   IBM,


how to create physical file

1 Answers  


Difference Between Call & Sbmjob?

0 Answers   IBM,


what is sessional error or divice error in rpg IV?..when will it happens...Give few examples?

3 Answers   CTS,


different type of cursor?

0 Answers   IBM,


What is the purpose of 'CPYTOIMPF' command?

6 Answers   Aditya Birla, Redington,


Categories