[Info-vax] SHOW LOGICAL

Arne Vajhøj arne at vajhoej.dk
Sat Mar 3 19:40:11 EST 2012


On 3/2/2012 3:06 PM, Phillip Helbig---undress to reply wrote:
> If SHOW LOGICAL has an exact match, it displays it and nothing else.  If
> it has no match, it says so.  However, if the argument to SHOW LOGICAL
> contains a wildcard, then all the corresponding tables (e.g. those in
> LNM$FILE_DEV or all if /TABLE=* was specified) are shown, even if they
> have no match.  An ugly workaround is
>
>     $ PIPE SHOW LOGICAL FOO/TABLE=* | SEARCH SYS$PIPE FOO
>
> though this might not include all the information one wants.
>
> Why can't show logical display only the tables with a match?

Somebody designed it that way many years ago.

It does not necessarily have some brilliant rationality.

But when coding something and it can be done in N different ways,
then you make a decision.

Arne






More information about the Info-vax mailing list