Can you run TSSCFILE using a CLIST or REXX instead of batch? Using the CLIST or REXX is causing a S047 Abend.
The problem is that TSSCFILE needs to run authorized or it abends with the S047. In TSO:
• For a TSO command to run authorized, its name (up to 8 characters) must be in the AUTHCMD list in the IKJTSOxx member in SYS1.PARMLIB.
• For a called program to run authorized under this TSO session, its name must be in the AUTHPGM in the IKJTSOxx member in SYS1.PARMLIB.