Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Executing TSO command from MS DOS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Executing TSO command from MS DOS
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    Post subject:
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    Post subject: Re: Executing TSO command from MS DOS
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

Moderator Team Head


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

PostPosted: Mon Jul 11, 2005 7:33 pm    Post subject: Re: Executing TSO command from MS DOS
Reply with quote

http://www.cbttape.org/

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

Moderator Team Head


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

PostPosted: Mon Jul 11, 2005 7:37 pm    Post subject: Re: Executing TSO command from MS DOS
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Failure after DIR command Hank Watson All Other Mainframe Topics 2 Tue Aug 29, 2017 3:14 am
No new posts Command to find TMEMBER name for a TPIPE Siva NKK Kothamasu IMS DB/DC 0 Wed Aug 16, 2017 6:08 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us