Is Constent can be define as a key field?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is FORMAT keyword and its use?
how to restrict upon adding the data for field reference file in DB400
can any one tell me what is meant by PSSR? Kindly elaborate it...
Maximum how many fields we can create under a record format of PF?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
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.
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?
Last statement of any rpg program is lr?
what is the difference between adding keys & constraints into a phisical file
Can we concatenate fields in physical file? If yes how can we do?
How we can't update join logical files?
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 ?