DB400 Interview Questions
Questions Answers Views Company eMail

Last statement of any RPG pgm is LR?

5 12232

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

5 9715

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 6800

How many max. Record format a logical file have?

Systime,

13 23714

Can anybody tell why Journalling is compulsary before Commitment Control?

2 7181

Why we create the Physical File Member?

5 16337

Is Constent can be define as a key field?

3 7249

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

6 13513

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

7 27917

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

Infosys,

5 22363

How to index LF by relative record no (RRN)

3075

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 9938

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

HCL,

3 11809

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

6 19145

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 7655


Post New DB400 Questions

Un-Answered Questions { DB400 }

What is the batch job?

784


What is FORMAT keyword and its use?

413


How to retrieve a physical file after deleting that?

798


Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

852


How to read a pf in reverse(from last record to first) using cl?

840


What is the use of member in pf?

789


What is open data path?

785


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.

2367


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

821


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?

7993


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.

980


What is the purpose of the chain and setll and setgt?

830


How to update physical file using logical file with example?

839


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

822


What is the interactive job?

798