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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

what are the different opcodes available in rpg for database access ?

815


how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

943


Explain The Keywords Edtcde & Edtwrd?

842


How do you check object lock

372


what is a program described file in rpg?

1056






when would you use or not use this approach?

894


what are the three types of keywords associated with printer file ?

1013


How to Define a Procedure in RPG?

1224


what is sflpag and sflsiz ?

2290


can you have multiple key lists for a single file ?

997


which are the relational operators in rpg?

677


What is the use of jdftval in as400?

914


Hello, I have created a CMD type object. In one of the fields in Display file , I would like to see All the Source files present by pass the name of Library. Tried using CHoice(Keyword) and Choicepgm on PARM , but doesn't seems to be working. Any help please..

1787


what does opcode post do ?

1101


which of the following operations does not zero the field flda defined as 4,0?

710