RPG400 Interview Questions
Questions Answers Views Company eMail

can we perform CHAIN operation on Subfile record format....?

4 18725

Can we trigger an rpg program which has user interaction with display file when updating a file using the command ADDPFTRG?

2 8203

Can we have a Physical file without any member ? Please let me know

12 17453

what is use of sflnxtchg and use of MDT(modify data tag).both r same r not and can we use these on dspf and subfile.

2 22714

i have 1000 records in pf.what are all the ways to read a particular name records in rpg?? ie.. in pf i have a name called demo appeared around 52 times hw will we read this particular records in rpg/400?.

IBM,

11 17579

What is the name of default out queue when user logs inn to syatem with valid profile?

IBM,

3 8296

list down and describe the sub systems vailable

IBM,

5 8793

how to check on which PF , the LF is dependant ?

IBM,

4 21115

How to find d key field of a pf that doesn’t have source physical file?

2 9536

The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 8613

How to find d key field of a pf that doesn’t have source physical file?

2 6620

Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?

TCS,

2 6596

What is the difference between inner join @ outer join

4 8587

Can anybody tell me the setps to create .csv file in IFS folder on AS/400. I also need to know how I can send this .csv file to PC in xls sheet.....?

2 8537

Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 11539


Post New RPG400 Questions

Un-Answered Questions { RPG400 }

what is program status data structure?

1508


what is a rpg?

764


How can we override a file during runtime in rpg?

756


How can we know running job is batch or interactive?

723


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.

1820






how do I play {insert rpg system here}?

642


How to handle duplicate error handling in RPG?

1789


what is the necessary keyword needed to scroll subfile records?

758


How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique

611


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

797


what was the robotech rpg?

736


How to declare the pull button in AS/400..

1953


what is data area and how it is used in rpg program ?

816


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

2040


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

1368