Other links
Radia Support
Multiple values in ZSTOP
Hi,
Is there an option to use OR switch in ZSTOP parameters?
I would like to check below configuration WORDPOS(EDMGETV(ZCONFIG,ZHDWCTYP),'LAPTOP')=0 OR POS('PLD',UPPER(EDMGETV(ZCONFIG,ZHDWCOMP)))=0
Previous 6 comentários
There is no syntax error in the statement.
It will evaluate to True if ZCONFIG,ZHDWCTYP does not contain the word 'LAPTOP' OR if ZCONFIG,ZHDWCOMP translated to uppercase does not contain the string 'PLD'.
In other words, it will stop resolution if machine is not a laptop, or, if machine hostname does not contain the string 'PLD'.
Is this what you wanted?
My suggestion sure works in my 9.1 CP1 lab env.
I presume you have set the ZSTOP at the ZSERVICE level.
Here are my test results, in my case I am dealing with a DESKTOP whose hostname is NO00999535CD89.
(WORDPOS(EDMGETV(ZCONFIG,ZHDWCTYP),'DESKTOP')=0)|(POS('999',UPPER(EDMGETV(ZCONFIG,ZHDWCOMP)))=0)
Evaluates to False, application installed
(WORDPOS(EDMGETV(ZCONFIG,ZHDWCTYP),'LAPTOP')=0)|(POS('999',UPPER(EDMGETV(ZCONFIG,ZHDWCOMP)))=0)
Evaluates to True, application not installed
(WORDPOS(EDMGETV(ZCONFIG,ZHDWCTYP),'DESKTOP')=0)|(POS('909',UPPER(EDMGETV(ZCONFIG,ZHDWCOMP)))=0)
Evaluates to True, application not installed
(WORDPOS(EDMGETV(ZCONFIG,ZHDWCTYP),'LAPTOP')=0)|(POS('909',UPPER(EDMGETV(ZCONFIG,ZHDWCOMP)))=0)
Evaluates to True, application not installed
Participate
Ask, Discuss, Answer