What would be the effect on the field where reverse image,
underline and high intensity?

Answers were Sorted based on User's Feedback



What would be the effect on the field where reverse image, underline and high intensity?..

Answer / sushma

If you Specify UL,HI,RI attributes on the workstation for
the same field the field will not be displayed

Is This Answer Correct ?    5 Yes 0 No

What would be the effect on the field where reverse image, underline and high intensity?..

Answer / syam

Hi Amit please don't post wrong answer bcoz interview time
candidate will give wrong answer.

Simple example: here you can click right mouse and select
all,then see the screen how it is appering that is reverse
image on AS/400 SDA (in COBOL some people says Reverse
Video)

Is This Answer Correct ?    5 Yes 1 No

What would be the effect on the field where reverse image, underline and high intensity?..

Answer / kcsyam

This is Display Attribute (DSPATR)using on SDA
HI - High Intensity = More Bright
UL - Under Score (letter quality under line)
RI - Reverse image (letter quality White and Black)

Is This Answer Correct ?    7 Yes 5 No

What would be the effect on the field where reverse image, underline and high intensity?..

Answer / amit rungta

Hi Syam,
I guess you have not got the question correctly
interpreted.
please use the following source code stated by me for more
details on the same:

QDDSSRC/TESTING

A DSPSIZ(24 80
*DS3)
A R F01R
A FLD001 10 B 5 7
A 02 DSPATR(HI)
A 03 DSPATR(UL)
A 04 DSPATR(RI)


QRPGLESRC/TESTING1

Ftesting CF E WORKSTN
*
c eval *in02 = *on
c eval *in03 = *on
c eval *in04 = *on
c exfmt F01R
c
seton lr
*


Compile both the source codes and call TESTING1.

As all the three indicators are ON at a time. There will be
no display of the field.

Let me know in case of any other clarifactions.

Is This Answer Correct ?    2 Yes 0 No

What would be the effect on the field where reverse image, underline and high intensity?..

Answer / amit rungta

There would be No Display

Is This Answer Correct ?    6 Yes 5 No

What would be the effect on the field where reverse image, underline and high intensity?..

Answer / syam

Hi Amit,

Thankz,
If a field has both the underline (UL) display attribute
and the highlight attribute (HI), its image is not
reversed, as this combination of attributes has the same
effect as DSPATR(ND) Non Display.

Is it right?

Is This Answer Correct ?    0 Yes 0 No

What would be the effect on the field where reverse image, underline and high intensity?..

Answer / surendra y mudliar

Non Display (ND)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.

2 Answers  


HOW TO DELETE THE RECORD FROM MASTER FILE WHICH IS LINK BY ANOTHER TRASATION FILE WITH REFERTIAL INTYGRITY?

1 Answers   TCS,


difference between CHAIN and READE?

8 Answers   HCL,


how can we can we the data decimal error?how can we open such file in support

1 Answers  


wat is meant by hidden field , why it is used?

4 Answers   Four soft,






In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?

1 Answers  


How do I read records from Subfile? what is the purpose of READC explain with example?

4 Answers   IBM,


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


How to add 2 new fields in a file? How many ways are there in as400?

2 Answers  


How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

3 Answers   HCL,


Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 Answers  


How do you know if a record exists without doing a READ and CHAIN?

6 Answers   IBM,


Categories