It looks like pw.pw_uid and pw.pw_gid are not being resolved so the chown is failing. When I use getpwnam I don't put the userid in parentheses. Other possibility is that there is no OMVS segment for ZOSMFAD.
Jon L. Veilleux [email protected] (860) 636-9179 -----Original Message----- From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of Glen Gasior Sent: Thursday, February 04, 2010 5:52 PM To: [email protected] Subject: Help finding error code definition REXX SYSCALL * Does anyone know which manual would define this error code ? * 6 *-* address syscall "getpwnam (ZOSMFAD) pw." >>> "getpwnam (ZOSMFAD) pw." 7 *-* address syscall "chown /u/zosmfad" pw.pw_uid pw.pw_gid >>> "chown /u/zosmfad PW.2 PW.3" +++ RC(-22) +++ * ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html This e-mail may contain confidential or privileged information. If you think you have received this e-mail in error, please advise the sender by reply e-mail and then delete this e-mail immediately. Thank you. Aetna ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

