Domino agent using Shell to run CHGOWN command

Does anyone have sample code on how to run the CHGOWN command from an agent on the iSeries

I’ve used Shell in the past to copy an object, but I can’t seem to get the “CHGOWN” to work.

I’m getting the error “File Not Found”

Here is my code:

lReturn = Shell(“CHGOWN OBJ('” & path3 & “') NEWOWN(#itsexp) RVKOLDAUT(*NO)”)

Thanks

Brian