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
 
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: 4650
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 Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts How to Use DebugTool CodeCoverage Uti... neo4u IBM Tools 0 Thu Jun 22, 2017 6:38 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
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

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