Re: how to reply highlight message by REXX

2021-04-30 Thread Steve Horein
I second the motion for auto-reply, unless you need to apply logic to
determine the response to give.
https://www.ibm.com/docs/en/zos/2.3.0?topic=sys1parmlib-autorxx-auto-reply-policy-specifications


On Thu, Apr 29, 2021 at 8:23 AM ibmmain  wrote:

> Hi all 
>
>
>   After we submit a JOB, we need reply highlight message issued by
> the JOB in console.
>
>
>  Could you tell us how to issue ' D R,R' command to get reply-ID and
> reply this message by REXX?
>
>
>   Any suggestions /samples are highly appreciated !
>
>
> Thanks a lot!
>
>
> Jason Cai
>
> --
> 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


Re: re: how to reply highlight message by REXX

2021-04-30 Thread Rob Scott
A skeleton example :

/* REXX */
lastrc=ISFCALLS("ON")
address SDSF  "ISFEXEC SR"
fixedfield = word(ISFCOLS,1)
say "Number of rows returned :" ISFROWS
do rowindex = 1 to ISFROWS
  say  "Now processing row :" value(fixedfield"."rowindex)
   do colindex = 1 to words(ISFCOLS)
 column = word(ISFCOLS,colindex)
 say column"."rowindex" has the value : "value(column"."rowindex)
   end
end
lastrc=ISFCALLS("OFF")
exit

Rob Scott
Rocket Software

From: IBM Mainframe Discussion List  On Behalf Of 
ibmmain
Sent: 29 April 2021 23:06
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: re: how to reply highlight message by REXX

EXTERNAL EMAIL



Hi Bob


  Using  " ISFEXEC SR" verb  is  a good idea.


   Could you see me a sample  REXX for " loop thru the returned 
logical rows to locate the prompt that you are searching for "?


Thanks a lot!


Jason Cai


  


  




how to reply highlight message by REXX

---
You can use SDSF REXX to do this quite easily.

The  " ISFEXEC SR" verb will return the list of outstanding system replies 
(no need to issue and parse "D R,R").

You can then loop thru the returned logical rows to locate the prompt that you 
are searching for and then use "ISFSLASH" to send back the response.

Obviously you will need the associated SDSF and z/OS permissions to do this.

For more info, see the SDSF manuals for information on using SDSF REXX (or have 
a look at various Share presentations on this subject).

Rob Scott
Rocket Software

-Original Message-
From: IBM Mainframe Discussion List https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport<https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport>
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences<http://www.rocketsoftware.com/manage-your-email-preferences>
Privacy Policy - 
http://www.rocketsoftware.com/company/legal/privacy-policy<http://www.rocketsoftware.com/company/legal/privacy-policy>


This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

--
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


Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy


This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

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


Re: how to reply highlight message by REXX

2021-04-29 Thread Seymour J Metz
In the WTO macro:

"CART=cmd/resp token

Specifies an 8-character input field containing a command and response token to 
be associated with this message. The command and response token is used to 
associate user information with a command and its command response. You can 
supply any value as a command and response token. When you specify this 
parameter in the list form, code it as CART= with nothing after the equal sign."


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
ibmmain [ibmm...@foxmail.com]
Sent: Thursday, April 29, 2021 6:09 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: how to reply highlight message by REXX

Hello Shmuel


  Could you tell me how to specify a CART in the job? 


Thanks a lot!


Jason Cai


-- Original --
From:   
 "IBM Mainframe Discussion List"

https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R4sa320972/$file/ikja300_v2r4.pdf


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
ibmmain [ibmm...@foxmail.com]
Sent: Thursday, April 29, 2021 9:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: how to reply highlight message by REXX

Hi all&nbsp;


&nbsp; After we submit a JOB, we need reply highlight message issued by the 
JOB in console.


&nbsp;Could you tell us how to issue ' D R,R' command to get reply-ID and 
reply this message by REXX?


&nbsp; Any suggestions /samples are highly appreciated !


Thanks a lot!


Jason Cai

--
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

--
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


Re: how to reply highlight message by REXX

2021-04-29 Thread ibmmain
Hello Shmuel


  Could you tell me how to specify a CART in the job? 


Thanks a lot!


Jason Cai


-- Original --
From:   
 "IBM Mainframe Discussion List"

https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R4sa320972/$file/ikja300_v2r4.pdf


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
ibmmain [ibmm...@foxmail.com]
Sent: Thursday, April 29, 2021 9:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: how to reply highlight message by REXX

Hi all&nbsp;


&nbsp; After we submit a JOB, we need reply highlight message issued by the 
JOB in console.


&nbsp;Could you tell us how to issue ' D R,R' command to get reply-ID and 
reply this message by REXX?


&nbsp; Any suggestions /samples are highly appreciated !


Thanks a lot!


Jason Cai

--
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

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


re?? how to reply highlight message by REXX

2021-04-29 Thread ibmmain
Hi Bob


  Using  " ISFEXEC SR" verb  is  a good idea.


   Could you see me a sample  REXX for " loop thru the returned 
logical rows to locate the prompt that you are searching for "?


Thanks a lot!


Jason Cai


  


  




how to reply highlight message by REXX

---
You can use SDSF REXX to do this quite easily.

The  " ISFEXEC SR" verb will return the list of outstanding system replies 
(no need to issue and parse "D R,R").

You can then loop thru the returned logical rows to locate the prompt that you 
are searching for and then use "ISFSLASH" to send back the response.

Obviously you will need the associated SDSF and z/OS permissions to do this.

For more info, see the SDSF manuals for information on using SDSF REXX (or have 
a look at various Share presentations on this subject).

Rob Scott
Rocket Software

-Original Message-
From: IBM Mainframe Discussion List https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy


This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

--
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


Re: how to reply highlight message by REXX

2021-04-29 Thread Rob Scott
You can use SDSF REXX to do this quite easily.

The  " ISFEXEC SR" verb will return the list of outstanding system replies (no 
need to issue and parse "D R,R").

You can then loop thru the returned logical rows to locate the prompt that you 
are searching for and then use "ISFSLASH" to send back the response.

Obviously you will need the associated SDSF and z/OS permissions to do this.

For more info, see the SDSF manuals for information on using SDSF REXX (or have 
a look at various Share presentations on this subject).

Rob Scott
Rocket Software

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
ibmmain
Sent: 29 April 2021 14:23
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: how to reply highlight message by REXX

EXTERNAL EMAIL





Hi all 


  After we submit a JOB, we need reply highlight message issued by the JOB 
in console.


 Could you tell us how to issue ' D R,R' command to get reply-ID and reply 
this message by REXX?


  Any suggestions /samples are highly appreciated !


Thanks a lot!


Jason Cai

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

Rocket Software, Inc. and subsidiaries ■ 77 Fourth Avenue, Waltham MA 02451 ■ 
Main Office Toll Free Number: +1 855.577.4323
Contact Customer Support: 
https://my.rocketsoftware.com/RocketCommunity/RCEmailSupport
Unsubscribe from Marketing Messages/Manage Your Subscription Preferences - 
http://www.rocketsoftware.com/manage-your-email-preferences
Privacy Policy - http://www.rocketsoftware.com/company/legal/privacy-policy


This communication and any attachments may contain confidential information of 
Rocket Software, Inc. All unauthorized use, disclosure or distribution is 
prohibited. If you are not the intended recipient, please notify Rocket 
Software immediately and destroy all copies of this communication. Thank you.

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


Re: how to reply highlight message by REXX

2021-04-29 Thread ITschak Mugzach
If you have the same message id and ame answer, consider use of z/os auto
replay (see parmib).

ITschak

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




On Thu, Apr 29, 2021 at 5:05 PM John McKown 
wrote:

> We use the CA/OPS automated operator to do that. Then we execute the
> programmer who wrote the code. 😆
>
> Oh, perhaps it wasn't from a program?
>
> On Thu, Apr 29, 2021, 08:23 ibmmain  wrote:
>
> > Hi all 
> >
> >
> >   After we submit a JOB, we need reply highlight message issued by
> > the JOB in console.
> >
> >
> >  Could you tell us how to issue ' D R,R' command to get reply-ID and
> > reply this message by REXX?
> >
> >
> >   Any suggestions /samples are highly appreciated !
> >
> >
> > Thanks a lot!
> >
> >
> > Jason Cai
> >
> > --
> > 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
>

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


Re: how to reply highlight message by REXX

2021-04-29 Thread John McKown
We use the CA/OPS automated operator to do that. Then we execute the
programmer who wrote the code. 😆

Oh, perhaps it wasn't from a program?

On Thu, Apr 29, 2021, 08:23 ibmmain  wrote:

> Hi all 
>
>
>   After we submit a JOB, we need reply highlight message issued by
> the JOB in console.
>
>
>  Could you tell us how to issue ' D R,R' command to get reply-ID and
> reply this message by REXX?
>
>
>   Any suggestions /samples are highly appreciated !
>
>
> Thanks a lot!
>
>
> Jason Cai
>
> --
> 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


Re: how to reply highlight message by REXX

2021-04-29 Thread Seymour J Metz
Please don't use HTML markup and entities in plain text.

The easiest way is to use CONSOLE; you will need authorization from your 
security folds. Does your job specify a CART? See 
https://www-01.ibm.com/servers/resourcelink/svc00100.nsf/pages/zOSV2R4sa320972/$file/ikja300_v2r4.pdf


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
ibmmain [ibmm...@foxmail.com]
Sent: Thursday, April 29, 2021 9:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: how to reply highlight message by REXX

Hi all 


  After we submit a JOB, we need reply highlight message issued by the JOB 
in console.


 Could you tell us how to issue ' D R,R' command to get reply-ID and reply 
this message by REXX?


  Any suggestions /samples are highly appreciated !


Thanks a lot!


Jason Cai

--
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


how to reply highlight message by REXX

2021-04-29 Thread ibmmain
Hi all 


  After we submit a JOB, we need reply highlight message issued by the JOB 
in console.


 Could you tell us how to issue ' D R,R' command to get reply-ID and reply 
this message by REXX?


  Any suggestions /samples are highly appreciated !


Thanks a lot!


Jason Cai

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