Author: Pedro
Subject: Reply to: output DDname JESMSGLG job during execution...
Posted: Wed Jun 22, 2016 12:33 am (GMT 5.5)
You may be able to do what you want just by using FTP. FTP allows various sub-commands. When 'site filetype=jes':
- DIR - lists the jobs
- PUT - submits a job
- GET - gets job output.
It is something like this:
When I play with this, it is limited to job names that begin with my userid. It is not clear how to get jobs where NOTIFY= is my userid but the job name is different.
fyi: I suggested this capability to IBM in the early 1990's and was pleased that they implemented my idea.
![icon_biggrin.gif]()
You can read more about in the chapter 'Interfacing with JES' in z/OS Communications Server, IP User's Guide and Commands, SC27-3662-01
_________________
Pedro Vera
Subject: Reply to: output DDname JESMSGLG job during execution...
Posted: Wed Jun 22, 2016 12:33 am (GMT 5.5)
Quote: |
I used each in a sequential to send it by ftp. |
You may be able to do what you want just by using FTP. FTP allows various sub-commands. When 'site filetype=jes':
- DIR - lists the jobs
- PUT - submits a job
- GET - gets job output.
It is something like this:
Code: |
FTP mymvs1.bogus.com PEDRO mypasswd quote site filetype=jes get job12345.1 job12345.JESMSGLG.txt get job12345 job12345.txt quit |
When I play with this, it is limited to job names that begin with my userid. It is not clear how to get jobs where NOTIFY= is my userid but the job name is different.
fyi: I suggested this capability to IBM in the early 1990's and was pleased that they implemented my idea.

You can read more about in the chapter 'Interfacing with JES' in z/OS Communications Server, IP User's Guide and Commands, SC27-3662-01
_________________
Pedro Vera