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 |
How can we handle errors in RPG?
How to add a field to a PF and compile it without loss of data?
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.
How to read a pf in reverse(from last record to first) using cl?
hi iam very new to as400. i had created one physical file can any one tell command to enter data in to that
1. How can I create a LF using crtlf command based on a particular member in a multimember PF? Where I have to specify the member name? 2. How to differentiate between the types of join from a Join logical file DDS. Is it possible to have different types of Join Logical files? 3.Any performance difference between Opnqrf and Embedded SQL? When I should prefer Opnqryf and when SQL? 4. I know access path is the path chosen by the program to retrieve data. It can be of keyed access path or arrival sequence. *IMMED- *IMMED description says access path is updated each time record is added or deleted from a member. - What is updating here? *REBLD - The access path is completely rebuilt each time a file member is opened. The access path is maintained until the member is closed, then the access path is deleted. - I am not able to understand this completely. Could anyone explain these more clearly? 5.What is the purpose of using activation group. I know it is a resource allocator, but other than this any other benefits of using an activation group?
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?
one physical file can have how many max of logical files? what is the primary file?
can any one tell me what is meant by PSSR? Kindly elaborate it...
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 ?
What is open data path? And what is the difference between access path and open data path?
Why journalling is compulsory before commitment control?