Eileen, the issue is not how to issue the command, but the fact that the 
activation completes asynchronously from the command itself.

Easiest way but not exact would be to issue a the command, then use something 
like OSHELL sleep command for some number of seconds in the jobstream.

_____________________________________________________________________________________________________
Dave Jousma
AVP | Manager, Systems Engineering  

Fifth Third Bank  |  1830 East Paris Ave, SE  |  MD RSCB2H  |  Grand Rapids, MI 
49546
616.653.8429  |  fax: 616.653.2717


-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
Barkow, Eileen
Sent: Monday, May 18, 2020 6:21 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Using the CONSOLE command

**CAUTION EXTERNAL EMAIL**

**DO NOT open attachments or click on links from unknown senders or unexpected 
emails**

You can also use the SDSF/REXX interface to issue console commands and retrieve 
the response.
IBM provides several examples of this.

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf Of 
ITschak Mugzach
Sent: Monday, May 18, 2020 1:37 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Using the CONSOLE command

SYS1.SAMPLIB(IEATOPS0)but it better to use a token to get only the response to 
your command.


ITschak Mugzach
*|** IronSphere Platform* *|* *Information Security Continuous Monitoring for 
z/OS, x/Linux & IBM I **| z/VM comming son  *




On Mon, May 18, 2020 at 8:21 AM Gadi Ben-Avi <gad...@malam.com> wrote:

> Hi,
> I would like to write a REXX program that will issue the command to 
> activate the SMS Configuration, and then wait until the message saying 
> that the configuration has been activated is issued.
>
> I haven't been able to find examples that do that.
>
> Does anyone have an example?
>
> The program would run in Batch, if it makes any difference.
>
> Thanks
>
> Gadi
>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN

________________________________

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments. Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN **CAUTION EXTERNAL 
EMAIL**

**DO NOT open attachments or click on links from unknown senders or unexpected 
emails**

This e-mail transmission contains information that is confidential and may be 
privileged.   It is intended only for the addressee(s) named above. If you 
receive this e-mail in error, please do not read, copy or disseminate it in any 
manner. If you are not the intended recipient, any disclosure, copying, 
distribution or use of the contents of this information is prohibited. Please 
reply to the message immediately by informing the sender that the message was 
misdirected. After replying, please erase it from your computer system. Your 
assistance in correcting this error is appreciated.


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to