DB400 Interview Questions
Questions Answers Views Company eMail

How can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?

4 6656

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.

Nous,

2101

how to restrict upon adding the data for field reference file in DB400

1 3314

Suppose if a physical file is having 1000 records, but i deleted 500 records from it. Here the concern is can the size of the file changes or it remains the same... kindly help me out with thorough xplanation.... Thanks in-advance...

ABC, TCS,

6 10266

How can we handle errors in RPG?

4 7440

can any one tell me what is meant by PSSR? Kindly elaborate it...

1 5196

In how many ways we can create a logical file?`

5 7285

How can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger?

3 6572

If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.

2 8369

what is use of self join and which cases you will use this join

TCS,

1 3213

how to eliminate the level check error

TCS,

2 4736

what is multiple member pf

Active Brains,

1 3150

what is general and type of general

Active Brains,

1 2450

wirte a simple program for read file in cl

Active Brains,

2 3431

what is dynslt and why we use that command when do we use command

Active Brains, UHG,

2 6414


Post New DB400 Questions

Un-Answered Questions { DB400 }

What is FORMAT keyword and its use?

172


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

555


How to change the batch job to interactive job?

558


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

574


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

577






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.

706


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.

2101


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

594


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

548


What is open data path?

555


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

601


How to update physical file using logical file with example?

560


How to retrieve a physical file after deleting that?

557


What is the batch job?

546


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

564