zowe / zowe-explorer-vscode

Visual Studio Code Extension for Zowe, which lets users interact with z/OS Data Sets, Unix System Services, and Jobs on a remote mainframe instance. Powered by Zowe SDKs.
Eclipse Public License 2.0
173 stars 92 forks source link

Add ability to obtain the raw JCL from a job on spool. #81

Closed tucker01 closed 5 years ago

tucker01 commented 5 years ago

The z/OSMF REST API set seems to support getting the raw input JCL:

GET /zosmf/restjobs/jobs/<jobname>/<jobid>/files/JCL/records

Some of the spool viewer products on z/OS allow you to get the raw JCL from a previously submitted job. They usually open it in an ISPF edit session, where you can then adjust and re-submit easily. This functionality would be useful in the zowe extension.

dkelosky commented 5 years ago

There's a Zowe CLI API for that!

tucker01 commented 5 years ago

Nice, we thought this might be a bit more involved if we had to update zowe first. This should be pretty straightforward then. 👍