It appears you said ".LOGON LOGON TDP1/,"? Use either .LOGON or LOGON but not both ;-)
Logging on from a mainframe without a username and password requires that your TDP have appropriate user exit(s) installed.
Also note that mainframe utilities use SYSTERM DD in a fashion similar to "stderr" on other platforms. (That's what the JES log is warning about.) Adding that DD will sometimes give you additional helpful diagnostic info.