Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Need an example JCL to use REXEC utility

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Uma maheswara rao

New User


Joined: 10 Jun 2005
Posts: 1

PostPosted: Fri Jun 10, 2005 2:07 pm    Post subject: Need an example JCL to use REXEC utility
Reply with quote

Hi,

I want to down load a file from Mainframes to my PC. As I know that, I can very well do this using SEND/RECEIVE option of the Emulator.
I would like to do the same using my own JCL . I read from this form REXEC can do this but no example jcl was given. Can some body help me with a jcl and with the necessary parameters.

Thanks & Regards,
uma
Back to top
View user's profile Send private message

superk

Moderator Team Head


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

PostPosted: Sat Jun 11, 2005 6:34 am    Post subject: Re: Need an example JCL to use REXEC utility
Reply with quote

uma, I don't personally know much about REXEC, since I've never seen it used anywhere. So, I took a look at the "z/OS V1R6 Communications Server IP Reference" guide. According to the manual, the REXEC command is used to initiate a command on the remote system, with the results returning to the calling terminal. It says nothing about the capability to transfer data (other than the returning messages), but I suppose it could be used to initiate an FTP command at the remote system. According to the manual, to use REXEC in batch, you simple just repeat the same command string you would use in a TSO session in a batch TSO session.

The format of the REXEC command is:
Code:

rexec -d -l user-id -p password -s port remote-hostname command
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 - TERMINATE utility vasanthz DB2 5 Mon May 15, 2017 11:49 pm
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts TAPE VERIFY utility?? MrExtraordinare JCL & VSAM 3 Fri Dec 09, 2016 10:57 pm
No new posts Best IMS DB Unload Utility jjabez10 IMS DB/DC 12 Thu Sep 22, 2016 11:15 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us