RPG400 Interview Questions
Questions Answers Views Company eMail

Can AnyOne tell me how to read join logical file in rpg from starting to end?

2 4597

suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG

TCS,

3 5549

Suppose we have 10 records with same name and we are reading using READE,after 4 record i have to use CHAIN what is the output

3 4724

How can we change element of compile time array?Can we do so

TCS,

1 3773

Suppose in CL we reach at end of file and again we have to reach from 1 record

TCS,

3 5726

Difference between RESET and CLEAR

TCS,

1 8440

How can we call CL program to RPG? How many number of parameter we can pass

TCS,

2 5262

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 you delete a record from a file in RPG without using DELETE oppcode?

UST,

2 5902

Why there is invention of RPG if we can do insert update delete in CL through SQL.Why the rise of RPG?

Infogain,

1 3932

we are sending data of physical file to screen design and it is showing no record why?

NTT Data,

1 5033

suppose there are 100 records and i want to read records between 60-70 how we can read this 10 records in rpg

Polaris,

2 6135

How to sort an array in descending in RPG

Google, TCS,

3 15068

i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

IBM,

1 4248

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

1710


Post New RPG400 Questions

Un-Answered Questions { RPG400 }

how do I declare a minor?

906


can you debug ile rpg program using isdb?

946


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


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

943


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

949


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2747


When it is desirable to describe files Internally?

1400


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.

5940


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

842


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

1508


What is a record lock error?

1501


What is the purpose of record level identifier?

906


What is the difference between iter and do?

942


what is program status data structure?

1808


Explain mdt?

875