RPG400 Interview Questions
Questions Answers Views Company eMail

difference between CHAIN and READE?

HCL,

8 43111

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 11003

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 10538

What is the significance of UDATE?

IBM,

5 20615

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 13164

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 14548

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 9423

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 10676

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

HCL,

4 15669

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

4 30228

can we use cl programming to update or delete physical files

12 44565

use of PUTOVR,OVRDTA,KEEP keywords?

HCL,

2 20600

where we give the MSGSFL in rpg400?

4 11707

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

12 37084

there is any limit to display the members in rpg400?

3 9928


Post New RPG400 Questions

Un-Answered Questions { RPG400 }

can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.

2262


what was the robotech rpg?

671


how does the rpg element work?

705


explain sflclr, sflend, sfldlt, and sflcsrrrn?

876


how do you use commitment control in rpg?

743






give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3261


What are the types of identifiers?

559


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.

745


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.

2180


Program to read marks of 10 students for 4 subjects and compute and display total marks and status of each student in rpg

710


are there any useful c runtime apis that I can call from rpg iv?

685


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

540


what is the rpg system?

659


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1438


What is the purpose of record level identifier?

716