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 5006

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

HCL,

4 6839

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 6117

How to sort an array in descending in RPG

Google, TCS,

3 15040

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 4235

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

1700

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 10603

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

IBM, NTT Data,

1 4453

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

1 4565

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

Traitsys Technologies,

6 8252

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,

1678

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 3569

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 4396

what is the procedure and explain about real time scenario.

Adhoc Technologies, Hanuman Automation, HSBC, IBM,

1691

How to handle duplicate error handling in RPG?

1963


Un-Answered Questions { IBM AS400 }

In RPG How to read a records from a file without using read opcodes?

1287


do you use message subfiles? What are the necessary keywords required coding a message subfile?

896


explain the use of dftwrt display keyword?

1418


how many types of display are available on as/400 for user interaction?

861


what are the three line types in rlu ?

1796


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.

2267


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2327


why is the declare cursor statement is used for?

813


can error messages as a result of a comp, range or values keyword be overridden?

1468


what is the purpose of ovrdta (override data) keyword?

1409


what was the robotech rpg?

866


what are the three types of keywords associated with printer file ?

1337


what is the command to know key fields of file?

852


how can we run a batch job?

915


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

943