access.any

Modifier/Access: Verbs, Releases: AP 6.1

searches entire item for match, all attributes and values.

Syntax

with {not} any attr.name {operator} {'value'} {any}

Description

search entire item for a match, all attributes and all values.

Each value is compared to the selection criteria and if the value passes the criteria, then the item is selected for further processing. This feature is useful for searching non-attribute oriented files for specific words or phrases, such as word processor documents, source programs, etc.

The word ANY may be used to mean ANY attribute, value, or subvalue in the item. ANY may be used in selection criteria (WITH, IF), or specified for output. If ANY is specified for output, it must also be specified in selection criteria. The output of the ANY attribute definition will be any subvalue, value or attribute which passes the selection criteria.

Example

select entity with any name '[john doe]'

This selects all entity items which contain the name 'john doe'

list entity with any 'sally' any
Page 1 entity

entity.... ..........................

332 004 sally
1234 001 sally

This indicates that the 'any' found two items which had an attribute,
value, or subvalue which exactly matched the string 'sally'. The
output of the second 'any' displays the attribute, value, or subvalue
number on which the match was found as well as the actual data in that field.

See Also

Command Name Type Description
access.introduction Introductory a Pick facility to retrieve and output data.
access.with Modifier Defines selection criteria in Access sentence.
access.attr.name Attribute Defining Item Specifies item(s) from the dictionary of the file.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.