Is Constent can be define as a key field?

Answers were Sorted based on User's Feedback



Is Constent can be define as a key field?..

Answer / praneetha

Firstly a Constant cannot be a part of a File field list.
There is no meaning in having a Constant in the Key field.

Is This Answer Correct ?    5 Yes 0 No

Is Constent can be define as a key field?..

Answer / ravi

No, Constant can not be define as a key field.
Constant can not be the part of file field.

Is This Answer Correct ?    1 Yes 0 No

Is Constent can be define as a key field?..

Answer / syam

No, But you can give a constent Value in physical file
field and you can specify that field as a key field.

In PF

A XXXXX 20 Value("MYNAME")
yyyyy 6 0
Kxxxxx

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More DB400 Interview Questions

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

2 Answers   Active Brains, UHG,


What is the batch job?

0 Answers  


How many max. Record format a logical file have?

13 Answers   Systime,


Hi, Please give the answer to this question? I have Phisical 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?Please give me answer?

4 Answers   IBM,


What is open data path?

0 Answers  






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

6 Answers  


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 Answers  


When we use any keyword like FIFO,LIFO, at file level but whenever we check by runqry we couldn't find answer in FIFO,LIFO,FCFO etc so how we check the answer.

2 Answers  


A pf containing 100 records... my query is how to display from 11th record in the pf?

3 Answers  


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

0 Answers  


how to update physical files using normal logical file

4 Answers  


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

4 Answers   ocbc,


Categories