RPG400 Interview Questions
Questions Answers Views Company eMail

difference between CHAIN and READE?

HCL,

8 31174

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 6682

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 6500




What is the significance of UDATE?

IBM,

5 12908

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 8234

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 9483

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 6079

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 7018




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

HCL,

4 10514

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

4 22354

can we use cl programming to update or delete physical files

12 31328

use of PUTOVR,OVRDTA,KEEP keywords?

HCL,

2 14918

where we give the MSGSFL in rpg400?

4 7675

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

12 25385

there is any limit to display the members in rpg400?

3 5982


Post New RPG400 Questions






Un-Answered Questions { RPG400 }

How to handle duplicate error handling in RPG?

545


what is the procedure and explain about real time scenario.

673


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.

1340


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

1541


Interviewer asked me write down DDS for load all subfile .can anybody write dds

173






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

2284


How Chain operation copies the record's data to the input buffer for the program?

325


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

472


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

90


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

1221


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.

3436


can any one help in hawkeye and turnover or any change management system plzzzzz or send the documents to my mail id :gvsp.as4@gmail.com

1162


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?

571


How to select highest score of each subject or how to select highest income of every month?

460


Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

661