RPG400 Interview Questions
Questions Answers Views Company eMail

difference between CHAIN and READE?

HCL,

8 43090

What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52

Fiserv, IBM,

2 10999

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

IBM,

3 10530

What is the significance of UDATE?

IBM,

5 20600

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?

IBM,

2 13161

What is the compilation option that has to he specified while compiling an RPC program which uses a file having date data type field?

HSBC, IBM,

3 14544

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

IBM,

2 9421

3. Given the DOS Specification below and the following information: • Indicator 50 is off • No records have been written to the subfile What will be the result if the EXFMT operation code is performed on the record format CTLR? A R SUBFL A DESCRIP 101 6 1ODSPATR(UL) A DFT(’NOT FOUND’) A R CTLR SFLCTL(SUBFL) A N50 SFLDSP A SFLDSPCTL A SFLINZ A 67 SFIJEND A SFLSIZ(13) A SFLPAG(12) A ACCOUNTNO 100 S 10 a.) Only AccountNo will display b.) SUBFL will be initialized with 13 blank records c.) An I/O exception error will occur d.) The screen will display 12 records with ‘NOT FOUND’

IBM,

4 10667

please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?

HCL,

4 15657

what is the difference between the procedure and module in ILERPG?

4 30212

can we use cl programming to update or delete physical files

12 44533

use of PUTOVR,OVRDTA,KEEP keywords?

HCL,

2 20591

where we give the MSGSFL in rpg400?

4 11694

how to change the length of the field in a physicalfile?

12 37051

there is any limit to display the members in rpg400?

3 9918


Post New RPG400 Questions

Un-Answered Questions { RPG400 }

Explain mdt?

651


what is file information data structure?

1346


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4179


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1550


What is ment by record level identifier?

641






what is an online rpg?

705


what is a rpg?

683


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5375


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

744


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

600


how do I declare a table or array in rpg iv?

721


how does the rpg element work?

702


How to handle duplicate error handling in RPG?

1660


write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen

818


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2355