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


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,
Back to top
View user's profile Send private message

Global Moderator

Joined: 26 Apr 2004
Posts: 4650
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:

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 DATA SET LIST UTILITY screen TSO/ISPF 6
No new posts Which SORT utility can improve the Pe... DFSORT/ICETOOL 16
No new posts COBOL VS SORT Utility for file format... COBOL Programming 6
No new posts Issue in KWIKKEY utility while creat... JCL & VSAM 2
No new posts DSLIST utility ISRDSLST line command CLIST & REXX 5
Search our Forums:

Back to Top