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
is this a rpg channel?
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)?
steps for debugging two rpg programs????
how to display all the members records in a physical file without using ovrdbf?
Can more than one subfile record be displayed on one line?
CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.
How can we read a particular record from the database file which is not having DDS (Flat File). For example, there are 100 records in the flat file. How can we retrive 15th record in RPG/400 program (Without using CL)
How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?
A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?
2. Which of the following statement(s) explains the difference(s) between the /INCLUDE and ICOPY directives? a.) No difference, they function the same b.) ACOPY cannot be used as a conditional directive c.) IINCLUDE files cannot contain embedded SQL d.) Nesting /TNCLUDE directives is not allowed