Joined: 06 Jun 2008 Posts: 8400 Location: Dubuque, Iowa, USA
An 047 system abend is an attempt to execute an authorized program in an unauthorized environment. Since X'047' is decimal 71, I suspect you're running into the same issue either way. Talk to your site support group about what you're trying to do and how they recommend you do it.
Well I have tested ADRDSSU from REXX in the past for dataset copy or mass deletes.
The syntax I used is "Call *(ADRDSSU)"
The rc -71 = abend S047 is because ADRDSSU is not listed in parmlib member IKJTSOxx section AUTHPGM.