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



i have one physical file which is having two logical files. logical a have unique keyword and logi..

Answer / syam

You cannot update Physical file or Logical File.
duplicate key

Is This Answer Correct ?    15 Yes 1 No

i have one physical file which is having two logical files. logical a have unique keyword and logi..

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

i have one physical file which is having two logical files. logical a have unique keyword and logi..

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

i have one physical file which is having two logical files. logical a have unique keyword and logi..

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

Post New Answer

More IBM AS400 AllOther Interview Questions

How we can delete all the Logical File of a Physical file in one instance ?

9 Answers   IBM,


What is the purpose of the following I UDS I 1 60ORDER# I 7 90LINE#

1 Answers  


What is GDA?

1 Answers  


what is a logical file?

1 Answers   IBM,


What is the purpose of RTVMBRD command?

1 Answers  


what opcode will be used to test the zone of a character field?

1 Answers   IBM,


i have two pfs it contains "Status" fields in the same name "status in both the pf's...But i used the same name in display file...when i enter a status thru disp file it willbe added to pf1...so i want to rename "Staus " field in pf2 through program...............wat will do..give coding?

5 Answers   CTS,


what is full form for dds?

0 Answers   IBM,


what is message subfile?

1 Answers   IBM,


What is the purpose of the following C/COPY QRPGSRC, ORDERR

1 Answers  


What is the purpose of Level Check parameter in a Physical file?

1 Answers  


What is compiler directive in as400? Give example of compiler directive.?

0 Answers  


Categories