i have one physical file which is having two logical files.
logical a have unique keyword and logical b doesnt have a
unique keyword. can i give duplicate values while updating
through physical file. if no why?
Answers were Sorted based on User's Feedback
Answer / syam
You cannot update Physical file or Logical File.
duplicate key
Is This Answer Correct ? | 15 Yes | 1 No |
Answer / rajesh
While updating the Physical file, it looks for constraints
on all the all logicals defined over it.
Is This Answer Correct ? | 14 Yes | 1 No |
Answer / sumit gupta
Whenever you update physical file, then it checks for all
file level keyword that specifies on logical file if any.
If no logical then simple update will perform.
In this, before updating your physical file temporary
program will get the UNIQUE specified as file level keyword
on 1 logical file.
And thus it through error, Duplicate key error in another
database member
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ankur
no u can not give duplicate value while updating through
physical file. Because logical file based on physical file
and having accesspath that is base on physical file
accesspath.
Is This Answer Correct ? | 1 Yes | 1 No |
what is the use of UNIQUEUE KEY WORD? what is the difference between PFILE AND REF?
when is a tag statement used in rpg?
how to define to define a hidden filed in dspf ?
how do you read data area in an rpg program?
why we use binding directory and service pgm
what is the length of a variable in rpg?
What is access path in as400?
how can I predict the performance of my cgis?
What is binder language ?
Can any one explain the basic things about RLU and Printer Files and their Definitions for both and why are they used,i'm a newbee so please help me out
How many Printer Files can Declare in a CL Program?
Q.How primary file can be defined in RPG/400?Please write the senario with opcode specification?