DB400 Interview Questions
Questions Answers Views Company eMail

how can we write LF using flatfile.

9 20207

what is the difference between adding keys & constraints into a phisical file

HSBC,

4 10539

what is the difference between adding keys & constraints into a phisical file

HSBC,

6 14284

How we can't update join logical files?

10 23481

I want to change the attribute of field or want to add new field in existing PF but condition is format level identifier should not change, is it possible?

Mind Tree, TCS,

9 23561

WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

Accenture,

5 19466

YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?

4 11663

can any one pls tell me some differences between a LF and command OPNQRYF?

Accenture, Cognizant, eFunds,

3 11614

How to insert more than one record to a pf at a time?(Bulk insert to a pf)

9 20119

how to see number of logical files depending on a pf?...can we declare more than 20 logical files from a single pf? is it possible

ocbc,

4 8917

Define interactive jobs and batch jobs

6 13515

pls anyone explain about compile time array,pre run time array run time array

4 16259

Q.1 how to implement the commitment control. 2.how to control commitment control from external program.

IBM,

7 20839

Which keyword is used both in subfile and subfile control record format of a DSPF?

8 16491

CRTDTA AND CRTARA should be used along with?

2 7413


Post New DB400 Questions

Un-Answered Questions { DB400 }

What is the use of member in pf?

752


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

779


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

784


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

782


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?

7922


What is FORMAT keyword and its use?

378


How many maximum record format a logical file have?

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.

944


How to change the batch job to interactive job?

739


Suppose 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?

822


What is the primary file?

802


Last statement of any rpg program is lr?

817


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?

818


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?

883


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.

2335