Previous Topic: Specify Multiple VariablesNext Topic: Specify Variables Without Assigned Values


Specify Multiple Values

You can also specify more than one value in the extraction criteria for a particular variable. For example, the following EXTRACT statement produces an output file named KEYUSERS that contains the user records for each user who has a menu key of PA1, PA2, or PA3:

EXTRACT GIVING(KEYUSERS) USER AND NO SESSIONS (UIDXMKEY(PA1 PA2 PA3))

Note: A record needs to match only one of the specified criteria to be extracted.