|
When using the CRTDUPOBJ command, the user is required to have more than *USE authority: "The user must have *USE authority (includes object operational authority, read authority, and execute authority) and object management authority to the existing object. However, there doesn't seem to be the same restriction when executing the CPYF command specifying CRTFILE(*YES). My question is .... If these two commands are functionally the same (they both end up creating a new file with data in it)... CRTDUPOBJ OBJ(FILEA) FROMLIB(LIBA) OBJTYPE(*FILE) TOLIB(LIBB) DATA(*YES) CPYF FROMFILE(LIBA/FILEA) TOFILE(LIBB/FILEA) CRTFILE(*YES) ...why is MORE authority required when using the CRTDUPOBJ command? Kenneth **************************************** Kenneth E. Graap IBM Certified Specialist AS/400e Professional System Administrator NW Natural (Gas Services) keg@xxxxxxxxxxxxx Phone: 503-226-4211 x5537 FAX: 603-849-0591 ****************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.