Saturday 27 August 2011

IBM AS400 Interview Questions Answers: Series I

What is arrival sequence?
Ans:
The records will be accessed the way in which records are added to physical file.

How many specifications are there in RPG/400? What are they?
Ans:
There are seven specifications are exits in RPG/400. They are listed below:
* Header Specification ,* File Description specification ,* Extension specification
* Line counter specification ,* Input specification ,* Calculation specification ,* Output specification

When do you use F-spec. continuation line ?
Ans:

* In order to refer the named record format as a subfile record format in the program.
* In order to rename the record format of a database file in a program.
* In order to define a named data structure as a file information data structure.

What are the various types of device files?
Ans:
Display files, printer files, discket files, tape files etc. ,

When do you explicitly open files and close files in an RPG program?
Ans:
If you specify the letter ' U ' at column 73-74, you need to be open and close files explicitly in a RPG program.


How do you know that records are locked?
Ans:
By using a command WRKOBJLCK.

What is the purpose of Indicators in RPG?
Ans:
In order to control the logic flow, we can use indicators in RPG.

How do you read data area in an RPG program?
Ans:
With the help of 'IN' opcode, we can access the data area record in to the program.

What are the different types of Data Areas?
Ans:

The different types of Data Areas are general data area, local data area, group data area, pip (program initialization parameter data area) data area.
*General Data Area - It can be created by user implicitely or explicitly
It can be referred by any other jobs.
It can be associated with a library.
It can be created, deleted by the user.

* Local Data Area - It can not be referred by any other job.
It is automatically created and deleted by the system.
It is not associated with any library.

*Group Data Area - It is automatically created and deleted by the system
We can access the group data area value through clp.
It is meant for group jobs.
*Pip Data Area - It is meant for pre start jobs.

What are various techniques to pass parameters from one program to another?
Ans:
PLIST, CALL, TFRCTL

Which single RPG opcode performs both SETLL and READE?
Ans:
CHAIN

What is term CUA , SAA?
Ans:
Common User Access
System Application Architecture

Why is AS/400 called Object Oriented Machine?
Ans:
Everything on the AS/400 System that can be stored and retrieved is contained in the object.

What is the version of OS/400 that we have?
Ans:
V4R2 (Version 4. 0 Release 2. 0)

What is DDM ?
Ans:
Distribution Data Management is a function of the OS/400 that allows an application program or user on one system to use database files stored on remote system.

What is an Object?
Ans:
An object is any thing that exists in and occupies space in storage and on which operation can be performed.

How are the objects stored on AS/400?
Ans:
All objects are stored on AS/400 in a single level storage. In this method all objects are referenced by one virtual address which is translated in to a physical address whether it is an auxiliary storage or main memory.

What is a Library in AS/400?
Ans:
A library in AS/400 is an object that serve(acts) as a repository for other objects.

Name few IBM supplied libraries?
Ans:
QGPL, QTEMP, QSYS, QUSRTOOL, QCBL, QRPG

What is library list ?
Ans:
A list that indicates libraries used for the process and the order in which it has to be searched System identifies it in *LIBL.

How many libraries can be there in library list ?
Ans
:Total 40 (15 system and 25 application)

What is Folder?
Ans:
A Folder is a named object that is used as a directory for documents and other folders.
Folders can be filed with in another folder.

Source: aired.in

No comments:

Post a Comment