What would be the effect on the field where reverse image,
underline and high intensity?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
How can we know running job is batch or interactive?
Interviewer asked me write down DDS for load all subfile .can anybody write dds
are there any useful c runtime apis that I can call from rpg iv?
How can we change element of compile time array?Can we do so
in which journalling which attributes are necessary
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?
If there are 1000 member(PGM type) in a SRC file. How can we compile in a CL program? ( It need to be done in a loop)?
Suppose you have 3 members in a database file. How to read records from all the members without using CL (OVRDBF) i.e. Entire process should be handled exclusively in a RPG program?
Q:HI friends accually ihave one problem plesase let me know the alternate code of this code. Related field description of code: Add a field, CALvsPRD, "Calendar Day Starts Before/After Production Day" to the parameter set WRKORDER which accepts values 'A' or 'B' o B = Calendar Day Starts Before Production Day o A = Calendar Day Starts After Production Day o Any other value indicates the production and calendar dates are always the same. code: Automatic Execution Of *INZSR Subroutine /Z01 * retrieves WRKORDER field values. /Z01 * Calculate default Production Date and return it to caller. /Z01 * Production date defaults to system date /Z01 C Eval P@Pdate = %DATE() /Z01 * unless Calendar date starts Before PDN(production) date and /Z01 * system time is before PDN Start Time then /Z01 * PDN date is yesterday. /Z01 C If W@CALvsPRD = 'B' and /Z01 C %TIME() < %TIME (W@Strtime) /Z01 C Eval P@Pdate -= %Day(1) /Z01 * unless Calendar date starts After PDN date and /Z01 * system time is *GE PDN(production) Start Time then /Z01 * PDN date is tomorrow. /Z01 C ElseIf W@CALvsPRD = 'A' and W@Strtime > *Zero and /Z01 C %TIME() >= %TIME (W@STrtime) /Z01 C Eval P@Pdate += %Day(1) /Z01 C EndIf /Z01 C Eval *InLr = *On
How to add 2 new fields in a file? How many ways are there in as400?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....