If I understand you correctly, you can use the variable instead of the
literal string:

FINDSTR myVar IN MY.LIST SETTING MYRESULT ELSE ...

2010/1/27 master <[email protected]>

> How do you find a variable string in a list of items?
>
> From what I know about FINDSTR, I have the explicitly give the string
> to be searched
>
> for instance, FINDSTR "ABC" IN MY.LIST SETTING MYRESULT ELSE ...
>
> Now, assuming ABC is not defined and is a variable:
>
> myVar=CUSTOMER.NO
>
> MY.LIST= LIST.OF.CUSTOMERS
>
> How do I use the FINDSTR to search for the specific customer stored in
> myVar at that instance?
>
> PS: The example is purely for illustration and may not make business
> sense
>
> --
> Please read the posting guidelines at:
> http://groups.google.com/group/jBASE/web/Posting%20Guidelines
>
> IMPORTANT: Type T24: at the start of the subject line for questions
> specific to Globus/T24
>
> To post, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

Reply via email to