HOME

Tuesday 14 August 2012

AS 400 training institutes in hyderabad

AS 400 training institutes in hyderabad

Hi friends,
  
  We are giving training in midrange technologies like AS 400.
   Here we are providing online training classes.

                                                    Contact Details :  MAIL ID - messageas400@gmail.com
                                                                              MOBILE NO - 09505102186.             

Monday 13 August 2012

AS 400 Arch


as 400 training institutes in hyderabad


Hi Friends,

Here we are providing AS 400 online training . covered up to all real time scenarios as well .
Providing material for the entire course  and providing lab facility.

Contact  Details :
 Mail id   :  ibmas400online@gmail.com
 Contact : 9505 102186

Sunday 12 August 2012

ibm as400 rpg interview questions answers and explanations

ibm as400 rpg interview questions answers and explanations

ibm as400 rpg interview questions answers and explanations


ibm as400 rpg interview questions answers and explanations

ibm as400 rpg interview questions answers and explanations



What are the three types of keywords associated with printer file ?
Ans:File level, Record level & Field level.

Difference between SFLRCDNBR and SFLNXTCHG
Ans:SFLRCDNBR will give the RRN of the First record displayed on the screen at a given time.
Whenever a record is changed on display file. An MDT is set ON. If an indicator is associated with SLFNXTCHG and it is SETON then READC will read only the changed record. And if the indicator is not associated and it is seton it READC reads all the records from sub-file

How can see logical file based on which physical file and vice versa
Ans:DSPDBR

How can u check no of records in a file
Ans:DSPFD

How do u compile RPGLE program
Ans:Either thru 15 or crtrpgmod

Is module executable
Ans:No You need to create an RPG prog to run the module.

How do you combine two record formats in RLU ?
Ans:Using CLC.
19.

What are the different commands used in RLU ?
Ans:DR - Define Record, CLC - Change Line for Continuation, CLR - Change Line for Record, SD - Create Sample Data, VF - View Fields, NP - New Page, DC - Define Constants, DF - Define Fields, CF - Centre Fields & SP - Space Fields evenly.

What is the command used to invoke RLU ?
Ans:STRRLU.

What are different record spacing keywords in RLU ?
Ans:SKIPA, SKIPB, SPACEA & SPACEB.

Mandatory keywords of sub file
Ans:SFL, SFLCTL, SFLDSP, SFLSIZ, SFLPAG are the mandatory key words

What is procedure?
Ans:A procedure is the set of self-contained high level language statements that can perform a particular task and then returns to a caller

What is service program?
Ans:
A Service Program is a collection of runnable procedures and available data items easily accessible by other ILE programs. In many respects it is similar to a subroutine library and procedure library.
A service program differs from a program in two ways:
It does not contain a program entry procedure. This means that you cannot call a service program using the CALL operation.
A service program is bound into a program or other service programs using binding by reference
What is LOKUP opcode?
Ans:Look’s for a particular element of an array

How many files, printer files you can describe in a RPG
Ans:50 files and 8 printers

How do handle file exception/error
Ans:*INFDS ,*PSSR defining it in F spec

Distinguish between terminating a program through SETON LR and RETURN?
Ans:LR closes all the files used in the program and RETURN is used to return the control to the parent program.

How will you add a field to physical file already containing data?
Ans:With CPYF command and *NOCHK & *DROP

What are the uses of FACTOR1, FACTOR2 and RESULT field for the RPG operation code PARM?
Ans:It is add value of FACTOR1 to FACTOR2 or compare the value of FACTOR 2 with FACTOR1.

How will you find a string using PDM?
Ans:By using FNDSTRPDM.

How will you search an array?
Ans:LOKUP

What are the different types of arrays?
Ans:Preruntime gets populated at the time input. Runtime gets populated at the time execution.Compile time gets populated at the time of compilation.

What is message file?
Ans:It is file which contain messages created by the user through which a user can display own message while validating.

What does DEFN do?
Ans:It is used to define a field based on the value specified in FACTOR 1.

What are two types of record are used in subfile?
Ans:SUBFILE RECORD FORMAT and SUBFILE CONTROL RECORD FORMAT.

What are DDS required for SUBFILE?
Ans:SUBFILE DISPLAY (SFLDSP) SUBFILE DISPLAY CONTROL (SFLDSPCTL) SUBFILE CLEAR (SFLCLR) SUBFILE SIZE (SFLSIZE) SUBFILE PAGE (SFLPAGE).

What is ELASTIC and NON ELASTIC SUBRILE?
Ans:When subfile size is greater then subfile page size it is called elastic subfile and when subfile size is equal to subfile page size it is called non-elastic subfile.

What is SFLINZ and SFLRNA?
Ans:SFLINZ stands for subfile initialize. It initialized all the character field as blanks and numeric fields as zeros. SFLRNA stands for subfile record not active (It means records are there in the subfile but active).

Can you display a empty subfile?
Ans:Yes by using the keyword SFLINZ and SFLRNA.

Why do we use READC? What is SFLNXTCHG?
Ans:READC is to read those records which have changed in the subfile. If you validate a record in subfile on some condition all the invalid records can display in reverse image. The first which have changed and made valid and released still displaying in reverse image. The records have read even it has not been changed due to SFLNXTCHG.

How do you read changed records backward in subfile?
Ans:NOT POSSIBLE.

How you will find an error which is not in the first page of the subfile without using ROLLDOWN key?
Ans:By using keyword SFLRCDNBR.

What is SFLROLVAL?
Ans:By using this keyword you can tell system to roll on of records when the user presses ROLLDOWN key (For this you define a hidden of 4 byte).

How you will know whether you are in SFLDROP or SFLFOLD mode?
Ans:By using the keyword SFLMODE.

How you get the relative record in a subfile in which cursor is located?
Ans:By using the keyword SFLCUSRRN (Subfile cursor relative record number).

What is QCMDEXC?
Ans:It is used to execute a single CL command within the RPG program.

What is OPNQRYF, MONMSG commands
Ans:
It is Dynamically creation of access path, and it can have resultant fields i.e. if the expression is A = B + C then B and C are from the file while A is defined in OPNQRYF. We can divert the output of command to an OUTFILE. Command associated with OPNQRYF is CPYFRMQRYF to save the output permanently

It is a CL command to monitor and error/exception message so that in case of an error a dump is avoided and the control is in program. It is also used to monitor user message.

ibm as400 interview questions answers

ibm as400 interview questions answers


Which are the four keywords supported by Program Status Data Structure?
Ans:*STATUS, *PARM, *ROUTINE & *PROGRAM

Which are the String Manipulation Opcodes?
Ans:TESTN, SCAN, CHECK, CHECKR, SUBST & CAT

DB2 is a type of Database?
Ans:It is an Integrated RDBMS.

An access path may be in which sequence?
Ans:It can be in Arrival & Keyed sequence

To change constant field defined on RLU screen which field level keyword should be used?
Ans:DFT (Default)

Space & Skip are which level keywords?
Ans:Field & Record

A Join Logical File has how many Record formats?
Ans:1

A Multiple format Logical File is also known as?
Ans:Union File

How does Union file maintains Record formats?
Ans:1 Record format for each PF

Records can be Read/Update/Deleted with which file?
Ans:Simple Logical File & Physical File.

Which type of object is used in DB2/400?
Ans:*FILE

What is SQL?
Ans:SQL is an interface for programming language.

File level entry for a PF can be?
Ans:UNIQUE & FIFO

What is the command to create FRF?
Ans:CRTPF

Join Logical File displays data from how many files?
2 or more PF’s

A Query can be displayed without saving it?
Ans:True

Which are the Query selection criteria, which can be given in a Query?
Ans:LIST

To add a file to the ‘File Selection’ option of a Query, the function key to be pressed is?
Ans:F9

A query can be run in which mode?
Ans:Batch & Interactive

What is the values SQLCOD when there is an error in fetching the records specified in the select statement?
Ans:-ve value

A file cannot have more than 1 unique key?
Ans:False

DLCOBJ command is mandatory for removing lock on any object?
Ans:False

What is a Journal?
Ans:A Journal is an object used primarily to record changes to data in a PF.

Which are the DB2 tools to protect Integrity of the database?
Ans:Journaling & Commitment Control, Referential Integrity Embedded SQL & Object/Record Locks.

ibm as400 interview questions answers

  ibm as400 interview questions answers


A program variable coded in an Embedded SQL statement is referred to as?
Ans:Host Variable

Which of the CL command can be used to determine which logical files are dependent on a specific file?
Ans:DSPDBR

What does DFU program you to do on a record?
Ans:Insert, Update Delete & File Enquiry.

When are the Unique Constraints executed?
Ans:During Insert.

When are the Referential Constraints executed?
Ans:Insert, Update & Delete.

How many triggers can be associated with a file?
Ans:6(Maximum)

Why is the Declare cursor statement is used for?
Ans:To define & name the cursor & specify rows to be fetched.

What do we can do with the Embedded SQL statements?
Ans:We can Insert/Update/Delete records, fetch records, fetch values from records into variables.

Which CL command is used to trap error messages during program execution?
Ans:MONMSG

Which CL command can be used at program execution to redirect the file named in an RPG program?
Ans:OVRDBF

What is the length of the variable in the given example?
Ans:DCL VAR (&Name) TYPE (*Char)? Default 32 & for Decimal 15,5
We can determine weather a record is in use bye another user with the help of status code (*STATUS). If
*STATUS = 01218 i.e. record already locked.

How to write *PSSR ?
Ans:It just similar to any other subroutine.
*PSSR BEGSR
………………
………………
…………….
ENDSR

What is Procedure ?
Ans:A procedure is the set of self contained high level language statements that can perform a particular task and then returns to a caller.

What is Procedure Prototype and Procedure Interface.
Ans:
Procedure Prototype
In this section we specify the name of the procedure along with PR.
D PROC1 PR
Procedure Interface
It is section where we define all the parameter which are receiving or returning some values.
D PROC1 PI 5 0
D PARMA 5 0
D PARMB 5 0

How to define a procedure ?
Ans:
First we have define Procedure Prototype along with all parameter. And PR.
D PROC1 PR
Then define Procedure with Begin/End
Procedure Name Begin/End
P PROC1 B Export
Then define Procedure Interface along with parameter and PI
D PROC1 PI 5 0
D PARMA 5 0
D PARMB 5 0
Define all the parameters as a variable to the procedure
D PARMA S 5 0
D PARMB S 5 0
In not returnable procedure, the procedure should end with
C PROC1 E
In returnable procedure, it should end with
C RETURN PARMA + PARMB

A program variable coded in an Embedded SQL statement is referred to as?
Ans:Host Variable

Which of the CL command can be used to determine which logical files are dependent on a specific file?
Ans:DSPDBR

What does DFU program you to do on a record?
Ans:Insert, Update Delete & File Enquiry.

When are the Unique Constraints executed?
Ans:During Insert.

When are the Referential Constraints executed?
Ans:Insert, Update & Delete.

How many triggers can be associated with a file?
Ans:6(Maximum)

Why is the Declare cursor statement is used for?
Ans:To define & name the cursor & specify rows to be fetched.

What do we can do with the Embedded SQL statements?
Ans:We can Insert/Update/Delete records, fetch records, fetch values from records into variables.

Which CL command is used to trap error messages during program execution?
Ans:MONMSG

Which CL command can be used at program execution to redirect the file named in an RPG program?
Ans:OVRDBF

What is the length of the variable in the given example?
Ans:DCL VAR (&Name) TYPE (*Char)? Default 32 & for Decimal 15,5
We can determine weather a record is in use bye another user with the help of status code (*STATUS). If
*STATUS = 01218 i.e. record already locked.

How to write *PSSR ?
Ans:It just similar to any other subroutine.
*PSSR BEGSR
………………
………………
…………….
ENDSR

What is Procedure ?
Ans:A procedure is the set of self contained high level language statements that can perform a particular task and then returns to a caller.

What is Procedure Prototype and Procedure Interface.
Ans:
Procedure Prototype
In this section we specify the name of the procedure along with PR.
D PROC1 PR
Procedure Interface
It is section where we define all the parameter which are receiving or returning some values.
D PROC1 PI 5 0
D PARMA 5 0
D PARMB 5 0

How to define a procedure ?
Ans:
First we have define Procedure Prototype along with all parameter. And PR.
D PROC1 PR
Then define Procedure with Begin/End
Procedure Name Begin/End
P PROC1 B Export
Then define Procedure Interface along with parameter and PI
D PROC1 PI 5 0
D PARMA 5 0
D PARMB 5 0
Define all the parameters as a variable to the procedure
D PARMA S 5 0
D PARMB S 5 0
In not returnable procedure, the procedure should end with
C PROC1 E
In returnable procedure, it should end with
C RETURN PARMA + PARMB

Thursday 9 August 2012

IBM AS/400 ONLINE TRAINING CLASSES FOR FRESHERS


IBM  AS/400 ONLINE TRAINING


 GENERAL AS/400 CONCEPTS
  
1.     General AS/400 Concepts

a.     Overview of the system.
b.     General awareness of the AS/400 system
c.      Libraries, files and members
d.     Library list concept and related commands.
e.     Command structure and frequently used commands.

         2.     ADTS (Application Development Tool Set)

a.     PDM (Program Development Manager)
b.     SEU (Source Entry Utility)
c.      SDA (Screen Design Aid)
d.     RLU (Report Layout Utility)
e.     DFU (Data File Utility)

3.     Query/400

         Creation, Executing, accessing data from different member.   

4.     DB2/400

a.     Overview of concepts
b.     Externally described files.
c.      Source Physical Files.
d.     Physical files, logical files and join logical files
e.     Field Reference Files
f.       Relational databases and normalization
g.     Runtime considerations
h.     Database Integrity
i.        Database Security : data rights and locks
j.       Triggers

5.     CONTROL LANGUAGE (CL/400)

a.     Capabilities of control language programs
b.     Control language program structure & syntax
c.      Features and limitations of control language programs
d.     Scope of control language programs
e.     Control language program coding rules
f.       File handling in CL/400
g.     Handling errors and messages
h.     Handling data areas
i.        Program flow control
j.       Program to program flow control
k.     Overriding file attributes and the scope of variables
l.        Open query file-concepts and use
m.  String Operators
n.     String Function

6.     RPG/400

                  a.     Introduction to RPG/400, explanation of all 
                        the 7 specifications.
b.     Operation Codes
c.      Subroutines
d.     Constructs in RPG IF, DO, SELRC etc.
e.     Program testing and debugging
f.       Indicators
g.     Tables and Arrays
h.     File access and record manipulation
i.        Control Breaks
j.       Fixed Logic Cycle
k.     Interactive Program
l.        Data Structures
m.  String Manipulation op-codes
n.     Inter-Program communication
o.     Data queue/data area
p.     Sub-files
q.     Load all sub-file
                     r.   Expanding sub-file
s.      Message Sub-file

       7.     RPG IV

a.     Introduction to RPG IV specifications in brief.
b.     Definition and procedure specifications in brief
c.      New and enhanced op-codes
d.     Built-in functions
e.     Date and Time Data Types
f.       Converting RPG III program to RPG IV program
g.     Procedure and sub-procedures

       8.     ILE CONCEPTS

                a.     Introduction to ILE
b.     Program models & ILE
c.      Module object concept
d.     ILE Program concept
e.     Service program concept
f.       Creating the programs in ILE environment
g.     Binding concept
h.     Calls to programs and procedures
i.        Debugging and ILE program
j.       Activation groups concept
k.     Application of activation groups examples

9.     OS/400 COMMANDS

                a.              Introduction to Control Language
b.              Command Structure
c.               Types of Commands
d.              Major Command Groups
e.              Command Definition: how to create and run a command

10.    SQL/400

                  a.           SQL command parameters-session attributes
b.           Function keys
c.            ISQL statement prompting
d.           DDL: creating table, view and index
e.           DML: insert, delete, update, select

click here for more details


IBM AS/400 ONLINE TRAINING


IBM  AS/400 ONLINE TRAINING

 Hi Friends,

 We are Providing IBM AS/400 Online Training By Malleswara Rao , B.Tech, and Technical Lead in CMMI Level 5 Company with 5 years of middleware experience.  
NEW Batches Starts on ….
IBM AS400 ONLINE new Batch on June 15th 2013 
24/7 ( Demo classes available) by Mr.Malleswara Rao.

IBM AS/400 Content


For more details, Kindly comment/e-mail with following details:


Name:


E-Mail Id:


Contact No. ( with Country Code):


Country:


Time-zone:


Contact Us:

Malleswara Rao
E Mail: messageas400@gmail.com
Mobile: +91 95051 02186.