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

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  


Last statement of any RPG pgm is LR?

5 Answers  


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

5 Answers  


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

0 Answers  


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

0 Answers  






How many libraries can be there in a library list?

2 Answers  


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.

0 Answers  


can we concate fileds in physical file? If yes how can we do?

5 Answers   Patni,


Last statement of any rpg program is lr?

0 Answers  


what is error handling concepts in cl

3 Answers   Active Brains,


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?

9 Answers   Mind Tree, TCS,


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?

0 Answers  


Categories