John,

There is a Rexx/CICS EXCI interface - CA1D. Just set it up here and it works 
well. http://www-01.ibm.com/support/docview.wss?rs=1083&uid=swg24009233

DSNREXX comes with DB2 and is well established.

IMS - I think there used to be something there too, but no personal experience. 
Could be wrong....

FTP would be good!

Phil

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of 
McKown, John
Sent: 18 November 2010 13:43
To: [email protected]
Subject: REXX "address" environments

There are a number of environments for REXX which are accessed via the 
"ADDRESS" command. Eg: ADDRESS TSO ; ADDRESS SDSF; ADDRESS SYSCALL; ADDRESS 
ISPEXEC; ADDRESS ISREDIT. So, I my mind was wandering around without a keeper 
the other day and started thinking about what other environments might be nice 
to have available. Some of these may already exist as they would be in 
envirnoments not available at my shop. But I was wonder what others might thing 
of them.

The first one was one I can really get into: ADDRESS FTP. This would make 
scripting FTP sessions much easier. Some examples might be:

RC=FTPCALLS('ON ')
IF RC <> 0 THEN DO
    SAY "COULD NOT SET UP FTP ENVIRONMENT. RC="RC
    /* OTHER FEEDBACK ??? */
    EXIT 16
END
ADDRESS FTP
"OPEN SERVER" /* GET USERID AND PASSWORD FROM DD:NETRC */
"LS" /* LIST THE FILES */
"CD /Some/subdir/ectory"
"lcd 'HLQ' "
"ascii"
"put REST.OF.DSN(0) remote.File.txt"
"lcd /some/unix/subdirectory"
"get remote.file.txt"
"close"
RC=FTPCALLS('OFF') /* shutdown ftp client software */

Another might be ADDRESS SSH which would be similar, but would connect to a 
remoter SSH server and send the commands to the remote SSH shell for execution. 
Note that this was inspired by Dovetailed Technologies' excellent products for 
doing remote commands via SSH from z/OS batch jobs.

How about ADDRESS SFTP to match the ADDRESS FTP?

Other thoughts: ADDRESS CICS to send CICS requests via EXCI to a CICS region. 
ADDRESS IMS, ADDRESS DB2?? These may already exist for all I know - I'm quite 
ignorant.

Am I overlooking something? Have I inspired anyone? Or am I whistling in the 
wind?

John McKown
Systems Engineer IV
IT

Administrative Services Group

HealthMarkets(r)

9151 Boulevard 26 * N. Richland Hills * TX 76010
(817) 255-3225 phone *
[email protected] * www.HealthMarkets.com

Confidentiality Notice: This e-mail message may contain confidential or 
proprietary information. If you are not the intended recipient, please contact 
the sender by reply e-mail and destroy all copies of the original message. 
HealthMarkets(r) is the brand name for products underwritten and issued by the 
insurance subsidiaries of HealthMarkets, Inc. -The Chesapeake Life Insurance 
Company(r), Mid-West National Life Insurance Company of TennesseeSM and The 
MEGA Life and Health Insurance Company.SM


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

This email originates from AXA Wealth, which includes the following companies. 
Details of the companies offering specific products are contained within 
product literature.

Architas Multi-Manager Limited (No. 06458717), AXA Portfolio Services Limited 
(No. 1128611), AXA Wealth Services Limited (No. 02238458), Winterthur Life UK 
Limited (No. 3116645) and AXA Wealth Limited (No. 01225468), are all companies 
registered in England and limited by shares. Their registered office is 5 Old 
Broad Street, London, EC2N 1AD. Each company promotes and distributes its own 
products and is authorised and regulated by the Financial Services Authority. 
AXA Wealth Services Limited also promotes and distributes the products of AXA 
Isle of Man Limited and AXA Life Europe Limited in the United Kingdom.

Winterthur Financial Services UK Limited, registered in England (No. 00823355) 
and limited by shares. Registered office: 5 Old Broad Street, London, EC2N 1AD. 
Winterthur Financial Services UK Limited provides some services to the above 
companies.

This message and any files transmitted with it are confidential and intended 
solely for the individual or entity to whom they are addressed. If you have 
received this in error, you should not disseminate or copy this email. Please 
notify the sender immediately and delete this email from your system.

Please also note that any opinions presented in this email are solely those of 
the author and do not necessarily represent those of the AXA UK Group of 
companies.

Emails may not be secure and may be read by unauthorised persons before they 
reach the recipient and the information copied or altered. The Information 
Commissioner and AXA recommend that you protect your confidential or personal 
information including that sent by email and we suggest that you consider the 
advice on the Getsafeonline website.

AXA cannot accept any responsibility for any resulting loss or compromise if 
you send such information in an email to us without suitable protection.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to