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 |
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.
Last statement of any RPG pgm is LR?
In how many ways we can create a logical file?`
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
What is the interactive job? What is the batch job? How to change the batch job to interactive job?
How many libraries can be there in a library list?
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.
can we concate fileds in physical file? If yes how can we do?
Last statement of any rpg program is lr?
what is error handling concepts in cl
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?
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?