View previous topic :: View next topic
|
Author |
Message |
Sathish Rajan
New User
Joined: 11 Jul 2005 Posts: 7 Location: Chennai
|
|
|
|
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 |
|
|
jon_s_rice
Active User
Joined: 24 Mar 2005 Posts: 102 Location: Douglasville, GA USA
|
|
|
|
You can use FASTPATH from CBTTAPE. Then you can do a transfer from any screen. |
|
Back to top |
|
|
Sathish Rajan
New User
Joined: 11 Jul 2005 Posts: 7 Location: Chennai
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
www.cbttape.org/
It is a collection of mainframe-oriented shareware and freeware. |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Sathish Rajan
New User
Joined: 11 Jul 2005 Posts: 7 Location: Chennai
|
|
|
|
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 |
|
|
Sathish Rajan
New User
Joined: 11 Jul 2005 Posts: 7 Location: Chennai
|
|
|
|
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 |
|
|
|