IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Emulator less Mainframe interaction


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karthickpearl

New User


Joined: 13 Apr 2010
Posts: 35
Location: Chennai

PostPosted: Fri Jul 03, 2015 1:09 pm
Reply with quote

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
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Sat Jul 04, 2015 4:06 am
Reply with quote

Hello,

This might not be the answer you are looking for...
Unfortunately, It works ok for me.
Code:
WELLSA  JOB55453  OUTPUT   10 Spool Files
WELLSS  JOB55472  OUTPUT    6 Spool Files
WELLS$  JOB56035  OUTPUT    4 Spool Files
WELLSS  JOB56232  OUTPUT    4 Spool Files
WELLSX  JOB56244  OUTPUT    6 Spool Files
WELLSX  JOB56251  OUTPUT    6 Spool Files
WELLSX  JOB56368  OUTPUT    5 Spool Files
WELLSX  JOB56380  OUTPUT    5 Spool Files
WELLSX  JOB56391  OUTPUT    5 Spool Files


This link has some details about different access levels. But still does not give a conclusive answer to your situation.
www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.halu001/jesintdiff.htm

It is clearly mentioned that even with JESINTERFACELEVEL 1 an user would be able to display the number of spool files here
www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.halu001/dispstatusdirlevel1.htm

Strange..
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Mainframe openings in Techmahnidra fo... Mainframe Jobs 0
No new posts Mainframe Programmer with CICS Skill... Mainframe Jobs 0
No new posts How to Reformat a file using File Man... All Other Mainframe Topics 14
No new posts NDM getting stuck - mainframe/JCL All Other Mainframe Topics 13
Search our Forums:

Back to Top