Hi. Yesterday, I have pf with *PUBLIC *CHANGE but when I try to CRTDUPOBJ it give me the error message asking for the authority. So I use CPYF with CRTFILE *YES it work properly. After sometime I ask QSECOFR to grant *ALL autority to my user then I use the CRTDUPOBJ command on the file. Then I found out that all the Referential Integrity which was setting for the original file was follow to the target file (which is in another library). I beleive that this may be the cause of the error when try to CRTDUPOBJ with *CHANGE authority (on the first time). Am I right? Are there any other setting which will effect to the CRTDUPOBJ command (such as trigger etc.)

Reply With Quote