Please try using chown -R option as mentioned below. Anyways, I suggest you to try this command with your test directory before issuing it against prod environment.
https://www.ibm.com/docs/en/zos/2.4.0?topic=descriptions-chown-change-owner-group-file-directory Thanks. Karthik Premnath. On Wed, Jul 7, 2021, 10:58 PM Vinoth <mvinoth...@gmail.com> wrote: > Hi All, > > we are in situation to change the owner for the path /SYSG/prod/cft36/, we > have tons of files/directories residing on this path and i tried to change > using a batch job and only the filepath specified on the job gets change > and rest remains the old owner name and this is stopping me on the upgrade. > > Can anyone help me on changing the fileowner completely in the path with a > command or batch job. > > Please lemme know > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN