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 4500

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

HCL,

4 6094

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 5658

How to sort an array in descending in RPG

Google, TCS,

3 13944

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 3878

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

1457

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 9437

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

IBM, NTT Data,

1 4047

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

1 4197

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

Traitsys Technologies,

6 7278

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,

1479

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 3088

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 3944

what is the procedure and explain about real time scenario.

Adhoc Technologies, Hanuman Automation, HSBC, IBM,

1473

How to handle duplicate error handling in RPG?

1674


Un-Answered Questions { IBM AS400 }

what is a non-join logical file?

975


an access path may be in which sequence?

633


what are all the contents of subfile?

989


in conjunction with what other keyword must ovrdta and ovrata be used?

910


what opcode will be used to test the zone of a character field?

1087






1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?

3064


writing an sql statement from selecting records from two files using single statement and nested select statement.

641


what is the use of jdftval in join logical file?

1111


what is the command used to invoke rlu ?

1169


what are the different opcodes available in rpg for database access ?

809


I need to insert a record in a file using STRSQL containing the some field values same as an already existing record in that file.I know to smple insert mentioning those values one by one.But is there any another query can be prepared for the same .Please share the query if known to you. Thanks in advance.

2263


Define sort?

581


Explain the difference between search and searchall?

509


how do I preserve and clean the array?

669


How to write record if no field or the field are different in physical file in rpgle ?

483