View previous topic :: View next topic
|
Author |
Message |
karthickpearl
New User
Joined: 13 Apr 2010 Posts: 35 Location: Chennai
|
|
|
|
Hi Guys,
I'm trying to build a library in Ruby to interact with mainframe with out an emulator through FTP.
I see three modes of communication as below,
filetype=jes(to submit a job through FTP)
filetype=seq(in transmit PS/PDS members)
filetype=sql(to run SQL queries thru FTP)
When I submit a job from my desktop i could get the JOBID in response with which when I have to probe the mainframe to get the spoolfiles after it comes to OUTPUT queue. I'm not able to do this.
Below is a snippet when I issue DIR command.
Code: |
ftp> dir
200 Port request OK.
125 List started OK
UZJY854Y JOB53650 OUTPUT 0 Spool Files
UZJY854Y JOB53746 OUTPUT 0 Spool Files
UZJY854Y JOB53989 OUTPUT 0 Spool Files
UZJY854Y JOB54025 OUTPUT 0 Spool Files |
As you can see above the spoolfile count is always 0 even though I can browse them from with in mainframe's JES.
Please can anyone help me to identify what setting needs to be changed to get the spoolfiles ready for FTP or suggest me a workaround to achieve the same like below,
To enter a TSO command through FTP which will inturn extracts the spool files to a PS using the JOBID.
Let me know for any more informations that you think is missing.
Thanks in Advance. |
|
Back to top |
|
|
vasanthz
Global Moderator
Joined: 28 Aug 2007 Posts: 1744 Location: Tirupur, India
|
|
Back to top |
|
|
|