RPG400 Interview Questions
Questions Answers Views Company eMail

1)how to do date validation in rpg? 2)how to delete dUPLICATE RECORDS?

IBM, Opus,

12 31075

how many variables can we declare in cl pgm?

13 19605

WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?

2 13258

HOW DO YOU DISPLAY A DISPLAYFILE AT OTHER WORKSTATION? CAN WE MOVE A PHYSICAL FILE? WITHOUT MOVING A FILE?

2 6299

How I can reread the physical file in CL program once the end of file reached in same CL program.

IBM,

20 62318

Given the following code, what is the value of RESULT? DName+++++++++++ETDsFrom+++To/L+++IDc.Keywords+++++++++++++ D RESULT S 5 0 C EVAL RESULT = (2 + 3 * 2) ** 2 / 2

2 5937

If the last record of a file has been read, and the next operation on that file is a READ operation, what will be the values of the input fields for that file? A. They will be blank and/or zero. B. They will be null. C. They will equal the values of the first record in the file. D. They will equal the values of the last record read.

3 9043

1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?

HCL,

14 18340

ESCAPE message sent by child program can be handled by parent program using which keyword?

2 7513

1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?

3 7642

Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.

2 5661

Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4

4 5912

i)What is the command to lock a file in a program ii)2. Can you get a level check error in a CL program

6 11667

Can we create 300 logical files based on a single physical file using the CRTLF command only once?.

8 14461

How do you find out whether a record is present in the physical file without reading the file? for Example Employee No: 100 in an Employee master.How do we find out whther 100 is present in Employee master without reading the file?

Bank Of America, CSC, IBM,

11 27283


Post New RPG400 Questions

Un-Answered Questions { RPG400 }

What is the difference between iter and do?

942


what is the difference between do while and do until?

956


what is a rpg?

921


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.

989


how can you display specific subfile page on the screen in unequal subfile?

908


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

1067


what are the key words you must use when using a subfile?

897


what is *place and *auto keyword in prtf ?plz explain

2930


What is a record lock error?

1501


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

2088


What are the types of identifiers?

776


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?

1685


how can I tell when to replace the array?

909


What is difference between bind by copy and bind by reference?

2122


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

2184