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

Executing TSO command from MS DOS


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

New User


Joined: 11 Jul 2005
Posts: 7
Location: Chennai

PostPosted: Mon Jul 11, 2005 6:13 pm
Reply with quote

Hi,

I would like to know how to execute the tso commands from MS-DOS. The current scenario is as follows. I upload a text file from my PC into a mainframe dataset for which I do the following.

1) Open a mainframe session.
2) Go to command prompt (TSO Option 6).
3) Execute the batch file which would take the text file and send it to mainframe dataset.

I do not want to explicitly go into option 6 every time. Instead, I would want my DOS batch file to automatically go to TSO Option 6 and then perform the transfer. I would only log on to mainframe.

Please suggest if there is any way to achieve this.

Cheers,
RS
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Mon Jul 11, 2005 6:23 pm
Reply with quote

You can use FASTPATH from CBTTAPE. Then you can do a transfer from any screen.
Back to top
View user's profile Send private message
Sathish Rajan

New User


Joined: 11 Jul 2005
Posts: 7
Location: Chennai

PostPosted: Mon Jul 11, 2005 6:27 pm
Reply with quote

Thanks for the quick response. Sorry to sound basic, as I'm from the non mainframe end. Can you give me the code please, as I'm not aware of what CBTTAPE is.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jul 11, 2005 7:33 pm
Reply with quote

www.cbttape.org/

It is a collection of mainframe-oriented shareware and freeware.
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Mon Jul 11, 2005 7:37 pm
Reply with quote

How do you currently accomplish your step 3:
Quote:

3) Execute the batch file which would take the text file and send it to mainframe dataset.

Are you using REXEC or a facility such as an ISPF Workstation client?
Back to top
View user's profile Send private message
Sathish Rajan

New User


Joined: 11 Jul 2005
Posts: 7
Location: Chennai

PostPosted: Tue Jul 12, 2005 10:15 am
Reply with quote

Hi SuperK,

I use ISPF work station. I specify the following in my batch file to send the text file into the dataset.

send filename.txt 'ABC.DEF.FILENAME.GHI' ascii crlf

Cheers,
RS
Back to top
View user's profile Send private message
Sathish Rajan

New User


Joined: 11 Jul 2005
Posts: 7
Location: Chennai

PostPosted: Tue Jul 12, 2005 10:21 am
Reply with quote

Hi All,

As I'm from the non mainframe end (.NET), it would really be helpful if you could give me the commands that I could use in my DOS batch file for doing this transfer.
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 RACF - Rebuild SETROPTS command which... All Other Mainframe Topics 3
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts DTL - how to define key with stacked ... TSO/ISPF 3
No new posts LTJ command CA Products 4
No new posts Query on edit primary command CLIST & REXX 5
Search our Forums:

Back to Top