RPG400 Interview Questions
Questions Answers Views Company eMail

HI,1: What is the function of 'SETON LR' AND '*INLR=*ON ? 2:Can we used "seton lr" OR "*INLR = *ON" in between the program code ? 3:if yes then according to there function the code which is written acter seton lr/ *inlr should not be execute . Can any one tell me why those code get executed ?

2 9565

HI, 1: WHAT IS THE FUNCTION OF %KDS?WITH PROGRAMMING CODES EXAMPLE 2: WHAT IS THE FUNCTION OF Z-ADD AND Z-SUB ? WITH PROGRAMMING CODES EXAMPLE

IBM,

1 5192

difference between 1:%found and %equal built function in detail with example .

Polaris,

6 13528

suppose i i am changing / updating record of subfile and i want to change the record in reverse order . means i want to change the bottom record first and so on through readc . how i do it please any one explain .

CSC,

4 9323

i have a file with the values 10, 20, 30, 40, if am setll with the value 25 then readp, so what it will return?

Mind Tree,

6 11441

How to identify the object has compiled with the debug view as *source without using STRDBG?

6 14064

Can we possible to key with the date field?

IBM,

1 5595

I am Submitting one job in batch that job calls three progams(PGMA, PGMB, PGMC). PGMB should be called after sucessfully completion of PGMA as like for PGMC also. So Can you please tell me how can we do that (without using data area)

CTS,

2 7576

What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?

1 11363

How to read alternative records in a pf by using rpg?

IBM,

8 16018

Can someone tell me tell me what is meant by message wait...?

1 5040

Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks

3 5421

i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.

TCS,

5 9927

Maximum how many files declare in rpgle

TCS,

3 13787

Is it possible to call a subfile using CL. IF yes.. kindly help me out with explanation...?

3 8098


Post New RPG400 Questions

Un-Answered Questions { RPG400 }

how do I play {insert rpg system here}?

572


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

1063


what do you mean by an input subfile, what are the keywords required?

751


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

1449


What is a record lock error?

1248






do you use message subfiles? What are the necessary keywords required coding a message subfile?

674


what is the rpg system?

654


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?

1435


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2038


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

814


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

2706


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.

2175


how can I tell when to replace the array?

686


What are the types of identifiers?

554


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

1002