EASYRULEで使用できる比較演算子の利用法について記述したマニュアルはありますか?
Release : 14.0
Component : OPS/MVS
現状、EASYRULEで使用する比較演算子に関して文章化はされておりませんが、以下のオペレーションで、説明文をご参照いただけます。
<ご参考>
(1)EASYRULEの MESSAGE RULE -- MESSAGE TEXT CONDITIONS 画面で、OPERATOR の下の ’=’ にカーソルを併せて、F1キーを押下します。
EASYRULE ----------------------------------------------------------------------
M E S S A G E R U L E -- M E S S A G E T E X T C O N D I T I O N S
OPERATOR <--------- VALUE ----------->
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
WORD __ = ______________________________
PRESS ENTER TO STEP THRU EASYRULE, OR END TO RETURN
(2)EASYRULE の MESSAGE RULE - MESSAGE TEXT CONDITION 画面で、COMPARISON OPERATOR にカーソルを併せて、右Ctrlキーを押下します。
EASYRULE ------------- MESSAGE RULE - MESSAGE TEXT CONDITION --------- TUTORIAL
PURPOSE: TO SELECT MESSAGE TEXT WORDS AND USE THEM FOR DETERMINING
WHETHER THE FIRING OF THIS RULE SHOULD CONTINUE OR NOT.
HOW TO: IN THE LEFT-HAND COLUMN, TYPE THE WORD NUMBER THAT WILL BE
USED FOR THE COMPARISON.
IN THE CENTER COLUMN, TYPE THE COMPARISON OPERATOR.
IN THE RIGHT-HAND COLUMN, TYPE THE COMPARISON VALUE.
POSSIBLE SEE THE GLOSSARY FOR AN EXPLANATION OF A "WORD".
INPUTS: TYPE T FOR A LIST AND DISCUSSION OF COMPARISON OPERATORS.
TYPE V FOR AN EXPLANATION OF HOW TO ENTER LITERAL, VARIABLE, OR
WORD NUMBER COMPARISON VALUES.
RESULTS: CODE GENERATED BY THE ENTRIES ON THIS PANEL WILL BE PLACED IN AN
IF STATEMENT IN THE RULE'S )PROC SECTION (SEE EXAMPLE).
TYPE E FOR EXAMPLE, G FOR GLOSSARY, OR PRESS END TO TERMINATE TUTORIAL
(3)F8キーを2回押下しますと、以下の画面が表示されます。
(ご利用エミュレータによっては、F8キーを押下する回数は異なることがあります。)
EASYRULE -------------------- COMPARISON OPERATORS ------------------- TUTORIAL
COMMAND ===>
More: +
OPS/REXX COMPARISONS FALL INTO ONE OF THREE CATEGORIES: STRICT, NORMAL,
AND PSEUDO. STRICT AND NORMAL OPERATORS TRANSLATE DIRECTLY INTO REXX
OPERATORS, BUT EASYRULE CREATES COMPOUND REXX STATEMENTS TO IMPLEMENT
PSEUDO OPERATERS.
ALL COMPARISONS, NORMAL, STRICT OR PSEUDO, CAN BE NEGATED BY USING A
OR PREFIX CHARACTER. FOR EXAMPLE, = MEANS "NOT EQUAL," AND BW MEANS
"DOES NOT BEGIN WITH." LIKEWISE = AND BW HAVE SIMILAR MEANINGS.
NORMAL OPERATORS STRICT OPERATORS
OPERANDS EXAMINED ON A CHARACTER OPERANDS EXAMINED ON A CHARACTER BY
BY CHARACTER BASIS. VALUES ARE CHARACTER BASIS WITH NO PADDING AND
PADDED. LEADING/TRAILING BLANKS THE VALUES MUST BE IDENTICAL. LOGICAL
IGNORED. LOGICAL NEGATIVES CAN NEGATIVES CAN APPLY TO ==, >>, AND <<.
APPLY TO =, >, AND <.
= EQUAL == STRICTLY EQUAL
> GREATER THAN >> STRICTLY GREATER THAN
< LESS THAN << STRICTLY LESS THAN
>< NOT EQUAL >>= STRICTLY GREATER THAN OR EQUAL TO
>= GREATER THAN OR EQUAL TO <<= STRICTLY LESS THAN OR EQUAL TO
<= LESS THAN OR EQUAL TO
PSEUDO OPERATORS
EASYRULE SUPPORTS THE FOLLOWING PSEUDO OPERATORS:
BW - BEGINS WITH
C - CONTAINS
EW - ENDS WITH
IN - INCLUDES
SNN - SUBSTRING STARTING AT POSITION NN
BW - "BEGINS WITH"
COMPARISON OPERATOR BW (BEGINS WITH) CHECKS TO SEE IF THE LEFT-HAND
F1=HELP F2=SPLIT F3=END F4=RETURN F5=RFIND F6=RCHANGE
F7=UP F8=DOWN F9=SWAP F10=LEFT F11=RIGHT F12=RETRIEVE
Old Japanese Knowledge document ID: JTEC003083
CA OPS/MVS IIのその他FAQについては、以下のリンクからご確認ください。