IBM AS400 Interview Questions
Questions Answers Views Company eMail

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

NTT Data,

1 5072

Can anyone answer me when we will go for LF without key fields

HCL,

4 6956

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 6181

How to sort an array in descending in RPG

Google, TCS,

3 15151

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 4286

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

1748

Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 10779

How can we receive values from a called procedure in CL?

IBM, NTT Data,

1 4525

How can we receive values from a called procedure in RPG?

1 4626

Can we found a record existance in a file w/o reading the file?

Traitsys Technologies,

6 8408

If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?

IBM,

1721

We have seen no of parameter list but If we mention like this 'CALL PROGNAME PLIST ' how to know No of parameter name of program ?

IBM,

2 3624

How to know message id (errorid) in msgfile when error is occurred on screen ? WRKMSF will display all error id but i want to know error id based on error msg only?

IBM, Ignis Technologies, SSR,

1 4447

what is the procedure and explain about real time scenario.

Adhoc Technologies, Hanuman Automation, HSBC, IBM,

1728

How to handle duplicate error handling in RPG?

2014


Un-Answered Questions { IBM AS400 }

what is the maximum number of files allowed in rpg?

1306


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

1412


describe the difference between the dowxx and douxx operations?

1754


why is the declare cursor statement is used for?

849


Hi,Can any body give the code for the below mentioned quetion.?Im trying to get coding in with easily inderstanding.Plese give me the coding for this? 1.How would you achieve this requirement with out using RPG/RPGLE pgm,but by using only CL?Read a database file and display file contents on the screen when enter key pressed the next record should be displayed on screen.When the last record is reached or when F3 key is pressed the program should exit if the file is empty,a message should be displayed indicate that there are no records to display. Database file Name=EMPDBF Fields in EMPDBF to be displayed on screen Employee Number- EMPNUM(5,0) Employee Name- EMPNAM(30,A) Employee Address-EMP ADDR(50 A)

1987


Difference Between Interactive & Batch Job?

1035


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

1556


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

2151


What is redefine?

849


what is the use of sflnxtchg?

1056


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

822


In 'o' Specs What Is The Opcode For Write?

953


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.

2300


a multiple format logical file is also known as?

814


which of the following operations does not zero the field flda defined as 4,0?

958