Category Archives: AS 400 Interview Questions

What is purpose of declarative statement DEFN? | AS 400 Questions

Depends on the factor 1 value it will do two things: If the factor1is LIKE then DEFN opcode defines the new field based on the attributes old field. If the factor 1 is NAMVAR then DEFN opcodes defines the field … Continue reading

Posted in AS 400 Interview Questions | Leave a comment

Why would you prefer OPNQRYF than logical file? | AS 400 Questions

The main difference is : Logical file creates permanent object on the system. OPNQRYF creates temporary access path.

Posted in AS 400 Interview Questions | Leave a comment

What is the difference between access path and Dynamic select? | AS 400 Questions

Dynamic select occurs whenever the program reads file. But access path occurs before the file is read (but not necessarily). Because access path maintenance performed on the file.

Posted in AS 400 Interview Questions | Leave a comment

What is the difference between array and a multiple occurrence data structure? | AS 400 Questions

The values stored in array don’t vary. In the other hand, we can store the different values in same variables at various stages.

Posted in AS 400 Interview Questions | Leave a comment

What is the purpose of SFLFOLD and SFLDROP keywords? | AS 400 Questions

SFLFOLD: To fold the second line of multiple line subfile. SFLDROP: To drop the second line of multiple line subfile.

Posted in AS 400 Interview Questions | Leave a comment

What is the purpose of FRCDTA (Force Data) keyword? | AS 400 Questions

Use this record-level keyword to immediately display a record format, without waiting for the next input or output/input operation.

Posted in AS 400 Interview Questions | Leave a comment

What is the difference between externally described file and program described file? | AS 400 Questions

The field definitions and descriptions are defined out side of the program in a externally described file. The field definitions and descriptions are defined in side the program in a program described file.

Posted in AS 400 Interview Questions | Leave a comment

What is difference between fully procedural file and primary file? | AS 400 Questions

In primary file the records will be read and processed from begining to end. This order is not changed. In fully procedural file the records will be read and processed in any order. The logic flow is controlled by the … Continue reading

Posted in AS 400 Interview Questions | Leave a comment

What are Control level indicators? | AS 400 Questions

L1 to L9 used to identify certain fields on control fields and then used to condition which operations are to be processed at detail or total calculation or output time.

Posted in AS 400 Interview Questions | Leave a comment

What is the use of Header Specification in RPG/400? | AS 400 Questions

It identifies by H in column 6, provides information about generating and running programs.

Posted in AS 400 Interview Questions | Leave a comment