IBM AS400 Interview Questions
Questions Answers Views Company eMail

I have one cl program which calls two rpg programs named a & b. I am loading a run time array in Pgm A and the control comes back to cl pgm. i call pgmb and I want to read the runtime array in pgmb which was loaded in pgma. How it can be acheived. I should not use any intermediate file or dataarea to store the loaded values.

2 6328

How to add 99 menu (page down) option in menu creation..

1921

How many program bind in one module....

2115

how to retrieve RRN value in RPGLE program

3 15796

HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE.SO HERE ALSO DO SAME THING OR ANY OTHER WAY,PLEASE HELP ME....

HCL, Mind Tree,

1 16850

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

1871

4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge which only 2 persons at a time can cross. its night and they have only one flashlight with them. Flashlight cannot be thrown. one person should return with the flashlight all 4 person have different speed. a = crosses bridge in 1 min. b = crosses bridge in 2 min. c = crosses bridge in 5 min. d = crosses bridge in 10 min how can they all reach in time.?? Ex- suppose a and d crosses bridge which will take 10 mins and then d returns back with a flashlight which will make 20 mins and mission is failed.

Manhattan,

1 4718

diffrence between rename and prefix

2 8434

what are the different types of keys in AS400

HSBC,

2 11116

what is commitment control?explain about it?

HSBC,

1 6850

In RPG program one file using as a PRIMARY file while running program some of the records reading twice any body know why its happening

2 7432

why we sometimes use same file name in FILE and TOFILE in OVRDBF and sometimes different??please tell

3 8604

What are the commands that can be executed in CLP but not in RPG? Why?

CSC,

1 7100

What is the difference between ITER and DO ? I know both are used to execute set of statements repeatedly, but what is the main difference?

CGI, Wipro,

2 16432

Hi, I am getting the error in RPG (All Record Formats for externally-described file ABCD ignored or dropped due to error; file ignored.) Please suggest any

Satyam,

2 26100


Un-Answered Questions { IBM AS400 }

How to retrieve a physical file after deleting that?

580


what is the difference between do while and do until?

697


what are various techniques to pass parameters from one program to another?

1038


what is the function of crtdupobj command?

1147


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

14131






why do we use readc? What is sflnxtchg?

664


what are different record spacing keywords in rlu ?

1205


what is the difference between normal upddta to pf and updating using dfu program?

755


What are the mandatory keywords of sub file?

745


what is a spool file?

671


what is the procedure and explain about real time scenario.

1473


How to update physical file using logical file with example?

580


What is %CHECK?

841


What is the difference between physical file and logical file?

587


in conjunction with which statements can orxx and andxx conditions be used ?

1133