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
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
is this a rpg channel?
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.
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.
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
When will DUMP & DEBUG be ignored?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
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.
what is importance of 'MAPFLD' IN OPNQRYF FILE ?
What is the difference between inner join @ outer join
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...?