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

Need an example JCL to use REXEC utility


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
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
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

Global Moderator


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

PostPosted: Sat Jun 11, 2005 6:34 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 


Similar Topics
Topic Forum Replies
No new posts REASON 00D70014 in load utility DB2 6
No new posts ISRSUPC search utility - using high l... TSO/ISPF 2
No new posts Any JCL or VSAM Utility to get number... JCL & VSAM 1
No new posts DATA SET LIST UTILITY screen TSO/ISPF 6
No new posts Which SORT utility can improve the Pe... DFSORT/ICETOOL 16
Search our Forums:

Back to Top