Runing zowe command in vsc terminal using bash under daemon mode, get the following failure
$ zowe zos-jobs submit data-set "BEDXXX.SXXX.JCL($ARS018$)"
←[1G █_________| 10% o | Submitting job←[0K←[1G █_________| 10% O | Submitting job←[0K←[1G █_________| 10% 0 | Submitting job←[0K←[1G ██████████| 100% | Complete←[0K←[2K←[1G←[2K←[1GCommand Error:
z/OSMF REST API Error:
Rest API failure with HTTP(S) status 500
rc: 8
reason: 5
category: 6
message: Error opening input data set: //'BEDXXX.SXXX.JCL($)'
Error Details:
HTTP(S) error status "500" received.
Review request details (resource, base path, credentials, payload) and ensure correctness.
Protocol: https
Host: XXXX
Port: XXX
Base Path:
Resource: /zosmf/restjobs/jobs
Request: PUT
Headers: [{"Content-Type":"application/json"},{"X-CSRF-ZOSMF-HEADER":true}]
Payload: { file: "//'BEDXXX.SXXX.JCL($)'" }
I/O error during daemon communication.
Details = The pipe has been ended. (os error 109)
Release : 4.0
Component : ZOWE COMMAND LINE INTERFACE
Escape the $ in $ARS018. Usually backslash is the escape character for bash.
"BEDXXX.SXXX.JCL(\$ARS018$)"
Run the following command in bash:
$ zowe zos-jobs submit data-set "BEDXXX.SXXX.JCL(\$ARS018$)"