what is the difference between adding keys & constraints
into a phisical file
Answers were Sorted based on User's Feedback
Answer / kkk
Contraints check the existing data
But keyfields doesnot check the existing data.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / praseetha sandeep
when we add keys in a pf it has effect only in that
particular field of pf but when we add constrains to a pf it
has an effect to entire pf
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / megha
1. Keyfileds are with in DB and constraits are added from
addpfcst command externally
2. Using Addpfcst you can maintain the referential integrity
| Is This Answer Correct ? | 2 Yes | 0 No |
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
i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF
how to add a new field to a file without compiling it?
How many maximum record format a logical file have?
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.
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 difference between adding keys & constraints into a phisical file
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.
What is the difference between access path and open data path?
Define interactive jobs and batch jobs
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.
how to know total no of records in pf with out using sql??????