Question on how to code REXX

25 pts.
Tags:
AF/OPER
REXX
I am trying to learn REXX and I am learning on my own.  What I want to do is make a wildcard for the end of FWEBSRV to either an "I" or an "M". I have looked at some other code and it looks like people have used a "namer" and "rname" in the code.  Do I need to do this?  "TRAP ADD(OWWEBERR)", "        WTO (IEF404I FWEBSRV - ENDED')", "        ENABLE", "        SUPPRESS", "        ACTION ('WTO ''FWEBSRV HAS ENDED",               "E-MAIL JOHN DOE' 'DESC(2) NOMSGID')" RETURN

Software/Hardware used:
REXX, AF/OPER, mainframe
ASKED: March 25, 2012  4:43 PM
UPDATED: March 26, 2012  3:11 PM

Answer Wiki

Thanks. We'll let you know when a new response is added.

2012 comes, in order to thank everyone, characteristic, novel style, varieties, low price and good quality, and the low sale price. Thank everyone .
Welcome to ==== http://www.fashion-long-4biz.com
Air Jordan (1-24) shoes $35
UGG BOOT $50
Nike shox (R4, NZ, OZ, TL1, TL2, TL3) $35
Handbags ( Coach Lv fendi D&G) $35
T-shirts (polo, ed hardy, lacoste) $16
Jean (True Religion, ed hardy, coogi)$34
Sunglasses (coach, Gucci, Armaini)$15
New era cap $16
Bikini (Ed hardy, polo) $18
FREE SHIPPING
==== http://www.fashion-long-4biz.com ==

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

http://www.fashion-long-4biz.com

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    What I want to do is make a wildcard for the end of FWEBSRV to either an "I" or an "M". That doesn't make sense to me. Can you explain more? Are you trying to test with a wildcard? What is "FWEBSRV"? Is it a literal constant? Is it a name? Are you trying to check two different instances of a web server? What exactly are you trying to accomplish? The TRAP function itself isn't REXX. You would be using REXX to execute an external command. Show the exact command that you want to execute and we can determine how you would use REXX to format the command. Tom
    125,585 pointsBadges:
    report
  • Patticlarke09
    The trap is AF/OPER and I know that works. FWEBSRV(M or I) are two jobs that run. The FWEBSRV is the constant and the (M or the I) is what I want to look for. The way I have it coded for just FWEBSRV works but it doesn't show the ending letter so the operators don't which job ended. I tried putting an "*" in but it comes back with a "*". WTO (IEF404I FWEBSRV* - ENDED')", " ENABLE", " SUPPRESS", " ACTION ('WTO ''FWEBSRV HAS ENDED", "E-MAIL JOHN DOE' 'DESC(2) NOMSGID')" RETURN I hope I am making sense. Patti
    25 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following