DB400 Interview Questions
Questions Answers Views Company eMail

Last statement of any RPG pgm is LR?

5 12174

Maximum how many fields we can create under a record format of PF?

5 9649

There are six records in a file and we are going to update that records and used commit operation when it complete the update but suppose when it updating the third record,a error occured and operation failed.Is previously two records will be update or whole operation will be rollback? Please confirm it.

2 6761

How many max. Record format a logical file have?

Systime,

13 23553

Can anybody tell why Journalling is compulsary before Commitment Control?

2 7142

Why we create the Physical File Member?

5 16242

Is Constent can be define as a key field?

3 7192

Is it possible to create a logical file whose Physical file is not in same library?

6 13443

How to add a field to a PF and compile it without loss of data?

7 27808

How to find the list of source physical files in a library?? Is there any way to get a list??

Infosys,

5 22272

How to index LF by relative record no (RRN)

3053

i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF

3 9886

How to read a PF in reverse(from last rec to first) using CL?

HCL,

3 11758

How to retrieve a physical file after deleting that ? what is keyword used for that....??

6 19070

When u create a PF and did not fill up Maint parameter, then by default which access path will the system take & why

HCL,

2 7616


Post New DB400 Questions

Un-Answered Questions { DB400 }

What is the interactive job? What is the batch job?

792


Last statement of any rpg program is lr?

836


When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?

796


What is open data path?

767


There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.

958


How to index LF by relative record no (RRN)

3053


How to know the particular record in pf with out reading?

796


What is FORMAT keyword and its use?

394


What is the primary file?

820


What is the use of member in pf?

770


Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?

7943


What is the interactive job? What is the batch job? How to change the batch job to interactive job?

806


In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

2346


I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?

892


What is the difference between access path and open data path?

837