1. Which Built-In-Function will you use to achieve the
following functionality? CLONO1NO2NO3
Factorl÷÷+OpcdeFactor2++÷ResultLenDHHiLoEq
C QTY IFLT *ZERO
C QTY MULT -1 QTY
C ENDIF
a) %ABS
b) %TRIM
c) %TRIMS
d) %UNS

Answers were Sorted based on User's Feedback



1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Fac..

Answer / venkatarao

Ans: 1

So it is %ABS( Absolute Value)

Is This Answer Correct ?    12 Yes 2 No

1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Fac..

Answer / vipin

%ABS

Is This Answer Correct ?    9 Yes 1 No

1. Which Built-In-Function will you use to achieve the following functionality? CLONO1NO2NO3 Fac..

Answer / sa

%ABS
Because it returns absolute value.

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More RPG400 Interview Questions

how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE

3 Answers   iGate,


is this a rpg channel?

0 Answers   IBM,


I have two sessions S1 & S2 under this 3 jobs(say j1,j2,j3 under session S1) And 2 jobs(Say j4, j5 Under session S2)is running. How many QTEMP & how many LDA will create for the same.

9 Answers   IBM,


i 'm new to as/400.in an interview i was asked this question.give a practical example for passing information or data through local data area. I know only that data area is an object used to store tiny bits of data or it can store one value at a time and it is used to store frequently changing values or datas.thats all i know about data area can any one tell me how local data area and user defined data area are used to pass data between jobs with a example or coding.thanks in advance.

2 Answers   CTS,


1.If *HIVAL SETGT is used what opcode is used to read a record? A:READ B:READPE C:CHAIN D:READP 2.How to pass numeric parameter to the rpg pgm from the command line? 3.What keyword is used on the rpg 4 definition specification to rename a subfile in an externally definition data structure? A:RENAME B;LIKE C:EXTNAME D:EXTFLD

4 Answers   Manhattan,






When will DUMP & DEBUG be ignored?

3 Answers   IBM,


Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?

1 Answers  


1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400

10 Answers   IBM, Tech Mahindra,


1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


what is importance of 'MAPFLD' IN OPNQRYF FILE ?

2 Answers  


What is the difference between inner join @ outer join

4 Answers  


I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?

2 Answers  


Categories