DB400 Interview Questions
Questions Answers Views Company eMail

Last statement of any RPG pgm is LR?

5 11674

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

5 9212

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 6384

How many max. Record format a logical file have?

Systime,

13 22540

Can anybody tell why Journalling is compulsary before Commitment Control?

2 6725

Why we create the Physical File Member?

5 15595

Is Constent can be define as a key field?

3 6786

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

6 12815

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

7 26846

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

Infosys,

5 21543

How to index LF by relative record no (RRN)

2927

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 9464

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

HCL,

3 11246

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

6 18407

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 7288


Post New DB400 Questions

Un-Answered Questions { DB400 }

What is the use of member in pf?

628


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

695


What is open data path?

673


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

665


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?

7628






What is the interactive job?

652


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

658


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.

805


I have a pf, it contains 5 members, how to access particular member data from logical file?

615


How many maximum record format a logical file have?

661


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.

2210


What is the primary file?

662


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?

747


Can we concatenate fields in physical file? If yes how can we do?

660


How to find the list of source physical files in a library?

710