Hi Lionel,
     If I've understood correctly, you can use IRXSUBCM to dynamically 
define a host command enviroment.
I've used it for a DB2 host command environment I wrote years ago, long 
before the days of DSNREXX.
REXHCE is a rexx function I wrote to call IRXSUBCM .

CALL REXHCE "ADD","DB2","REXDB2"; 
 
ADDRESS DB2 "CONNECT "SSID  ;
 
do db2 stuff

CALL REXHCE "DELETE",ADD","DB2","REXDB2"; 

Regards,
               Ron



From:   "Dyck, Lionel B. (TRA)" <[email protected]>
To:     [email protected], 
Date:   13/09/2017 09:05 PM
Subject:        dynamic rexx function package
Sent by:        IBM Mainframe Discussion List <[email protected]>



Has anyone developed a dynamic rexx function package tool that can be 
called when a rexx exec starts and then be easily removed when it ends - 
kinda like dynamic steplib?

(cross posted to ibm-main, tso-rexx, and ispf-l)
--------------------------------------------------------------------------
Lionel B. Dyck
Mainframe Systems Programmer - TRA


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

_______________________________________________________________________________

This email has been scanned by the Bankwest Email Security System.
_______________________________________________________________________________



_______________________________________________________________________________
Unencrypted electronic mail is not secure and may not be authentic.
If you have any doubts as to the contents please telephone to confirm.

This electronic transmission including any attachments is intended only
for those to whom it is addressed. It may contain copyright material or
information that is confidential, privileged or exempt from disclosure by law.
Any claim to privilege is not waived or lost by reason of mistaken transmission
of this information. If you are not the intended recipient you must not
distribute or copy this transmission and should please notify the sender.
Your costs for doing this will be reimbursed by the sender.

We do not accept liability in connection with computer virus, data corruption,
delay, interruption, unauthorised access or unauthorised amendment.
_______________________________________________________________________________


______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to