RPG400 Interview Questions
Questions Answers Views Company eMail

difference between CHAIN and READE?

HCL,

8 34390

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

IBM, Fiserv,

2 8307

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 7858

What is the significance of UDATE?

IBM,

5 15499

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 9822

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 11170

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 7110

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 8149

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

HCL,

4 12049

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

4 24953

can we use cl programming to update or delete physical files

12 34567

use of PUTOVR,OVRDTA,KEEP keywords?

HCL,

2 16898

where we give the MSGSFL in rpg400?

4 8855

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

12 28644

there is any limit to display the members in rpg400?

3 7160


Post New RPG400 Questions






Un-Answered Questions { RPG400 }

how can we can we the data decimal error?how can we open such file in support

1417


how do you use commitment control in rpg?

119


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

132


what is the necessary keyword needed to scroll subfile records?

110


How to handle duplicate error handling in RPG?

940






How can we know running job is batch or interactive?

79


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...........

2596


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

112


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

1772


what is kids-rpg?

113


How to add 2 new fields in a file? How many ways are there in as400?

398


Why Rpg/400 is Famous?

186


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

1224


What is a record lock error?

689


How can we override a file during runtime in rpg?

75