RPG400 Interview Questions
Questions Answers Views Company eMail

In how many ways a session/device error occurs,,, and what is the remedy for it?

3 16140

How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

HCL,

3 16329

what do you mean by SESSION/DEVOCE ERROR?

IBM,

1 5686

i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel

IBM,

2 4550

How to declare the dynamic(run time) array in rpgle? can you please give example

Polaris,

2 12469

what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

IBM,

2 9657

I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 8388

How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"

4 13565

I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this

ISG,

3 6771

What is Multi Occurrence Data Structure(MODS)?

CTS,

1 3768

I am reading a file in CL program. and MONMSG CPF0864 has arrived means EOF has arrived. Now i want to read this file again. How i can do this?

CitiGroup, Symphony,

5 13435

can i use UPDDTA command in rpg program in which contains a file

TCS,

1 4126

can i use unique key in LF

TCS,

3 5899

in rpg could u please tell me errors types and meanings like 3030 that ....

EXL, UHG,

1 3888

what is EXCEPT command in rpg and use

Active Brains,

1 5257


Post New RPG400 Questions

Un-Answered Questions { RPG400 }

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

1683


RETRIVING DELETED RECORDS :- I'm frequently asked how to retrieve deleted records from an unjournaled physical file when the deleted records have not yet been removed from the file. Utility UNDEL lets you undelete records in a physical file. This public domain program is available in CISC and RISC versions, and the complete source code is available for download at: UNDEL for AS/400 Save File (RISC): http://www.as400network.com/sharewarefiles/undelris.zip UNDEL for AS/400 Save File (CISC): http://www.as400network.com/sharewarefiles/undel.zip UNDEL for AS/400 Save File (Source code): http://www.as400network.com/sharewarefiles/undelsrc.zip The utility takes advantage of the fact that deleted records in physical files are only flagged as deleted, and the record data still exists until it is overwritten or the file is reorganized with a utility such as RGZPFM. UNDEL simply reads the deleted record, then reuses the record by writing over it with the new record (thus eliminating the flag for the deleted record). Some homegrown and commercial utilities copy the file containing undeleted records to a save file, then use a program to read the save file, which contains live and undeleted records, to a file to undelete the records. The UNDEL utility is superior to the SAVF technique because there's no need to copy the file to a save file, which is especially important for really large files. When run, UNDEL displays the physical file records in their unformatted, raw text form. You can either position the display to a given relative record number or use F19 or F20 to find the previous and next deleted record, respectively. The utility also includes online help, which is almost unheard of for free utilities. Other utilities include the ability to undelete records. You can use the RTVDLTRCD command in the old QUSRTOOL (no longer supported by IBM). QUSRTOOL is now a commercial product called TAA Productivity Tools ( http://www.taatool.com ). The free file editor WRKDBF has a built-in undelete capability ( http://www.wrkdbf.com ), and several commercial file editors can undelete records. For a complete list of file editors, go to http://www.sourcebook400.com, select "Programmer Tools" under "Product Category," then select "File Editors."

14053


what is a rpg?

670


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

662


what is the necessary keyword needed to scroll subfile records?

673






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

798


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

1853


how do you use commitment control in rpg?

711


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

2340


what is an online rpg?

693


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.

2163


What is ment by record level identifier?

631


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

1937


What is a record lock error?

1239


What are the types of identifiers?

546