Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
SHOW LOGICAL
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Phillip Helbig---undress to reply  
View profile  
 More options Mar 2 2012, 3:06 pm
Newsgroups: comp.os.vms
From: hel...@astro.multiCLOTHESvax.de (Phillip Helbig---undress to reply)
Date: Fri, 2 Mar 2012 20:06:54 +0000 (UTC)
Local: Fri, Mar 2 2012 3:06 pm
Subject: SHOW LOGICAL
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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
hb  
View profile  
 More options Mar 3 2012, 6:52 am
Newsgroups: comp.os.vms
From: hb <becker....@gmail.com>
Date: Sat, 3 Mar 2012 03:52:27 -0800 (PST)
Local: Sat, Mar 3 2012 6:52 am
Subject: Re: SHOW LOGICAL
On Mar 2, 9:06 pm, hel...@astro.multiCLOTHESvax.de (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?

Dunno. Buglet or defectlet? Looks a feature, now, and it is too late
for an incompatible change :-)

In your workaround, you don't have a wildcard in the argument. Anyway,
a slightly better workaround which includes more information is to
search for "= ", as in
$ pipe sh log decw$incl*/table=* | search sys$pipe  "= "
  "DECW$INCLUDE" = "SYS$SYSROOT:[DECW$INCLUDE]"
        = "SYS$SYSROOT:[DECW$INCLUDE.EXTENSIONS]"
        = "SYS$SYSROOT:[DECW$INCLUDE.ICE]"
        = "SYS$SYSROOT:[DECW$INCLUDE.SM]"
$

VMS search uses RFAs to display a window which goes back as in /
window=(2,0). Unfortunately sys$pipe doesn't support RFAs. But if you
have GNV or a GNU grep on your system you may want to use:
$ pipe sh log decw$incl*/table=* | mc psx$root:[bin]grep "-iB2" "= "
(DECW$LOGICAL_NAMES)

  "DECW$INCLUDE" = "SYS$SYSROOT:[DECW$INCLUDE]"
        = "SYS$SYSROOT:[DECW$INCLUDE.EXTENSIONS]"
        = "SYS$SYSROOT:[DECW$INCLUDE.ICE]"
        = "SYS$SYSROOT:[DECW$INCLUDE.SM]"
$

Is that "all the information" you are looking for?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Hein RMS van den Heuvel  
View profile  
 More options Mar 3 2012, 12:01 pm
Newsgroups: comp.os.vms
From: Hein RMS van den Heuvel <heinvandenheu...@gmail.com>
Date: Sat, 3 Mar 2012 09:01:21 -0800 (PST)
Local: Sat, Mar 3 2012 12:01 pm
Subject: Re: SHOW LOGICAL

> Why can't show logical display only the tables with a match?

Using perl as a workaround...

$ defin SYS$SYSROOT sys$common
$ pipe show log sys$sysro* | perl -ne "$t = $_ if /\(/; if (/=/) { print $t,$_; $t=q()}
(LNM$PROCESS_TABLE)
  "SYS$SYSROOT" = "SYS$COMMON"
(LNM$SYSTEM_TABLE)
  "SYS$SYSROOT" = "$1$DGA1:[SYS0.]"
        = "SYS$COMMON:"

Hein


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jojimbo  
View profile  
 More options Mar 3 2012, 4:41 pm
Newsgroups: comp.os.vms
From: Jojimbo <jjgessl...@gmail.com>
Date: Sat, 3 Mar 2012 13:41:33 -0800 (PST)
Local: Sat, Mar 3 2012 4:41 pm
Subject: Re: SHOW LOGICAL
On Mar 3, 9:01 am, Hein RMS van den Heuvel

<heinvandenheu...@gmail.com> wrote:
> > Why can't show logical display only the tables with a match?

> Using perl as a workaround...

Sigh...

Isn't that how *ix got the way it is now?  By everybody doing their
own thing.  Rather than doing the right thing, everyone did their own
thing.  Result being chaos and programmers walking around SOMA with
big egos, messenger bags and empty heads.  I suggest they all go to
hell in return for the disasters that they have left behind.  Anyone
for figuring out the Facebook API's?

Regards, J


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Subcommandante XDelta  
View profile  
 More options Mar 3 2012, 5:09 pm
Newsgroups: comp.os.vms
From: Subcommandante XDelta <v...@star.enet.dec.com>
Date: Sun, 04 Mar 2012 09:09:18 +1100
Local: Sat, Mar 3 2012 5:09 pm
Subject: Re: SHOW LOGICAL
On Sat, 3 Mar 2012 13:41:33 -0800 (PST), Jojimbo

!- This is a side comment, rather than a thread dispersant -
!-
!- Again, I am reminded, why it is important to preserve the culture
!- of the VMS way (of doing things), by hook or by crook, come hell or
!- high-water, it is too fine a construction and a discipline to be
!- relegated to the footnotes of history. Conceptual Literacy must be
!- preserved!
!-
!- Normal kernel programming is now resumed.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Paul Sture  
View profile  
 More options Mar 3 2012, 6:06 pm
Newsgroups: comp.os.vms
From: Paul Sture <p...@sture.ch>
Date: Sun, 4 Mar 2012 00:06:25 +0100
Local: Sat, Mar 3 2012 6:06 pm
Subject: Re: SHOW LOGICAL

Dunno. As I read somewhere earlier this year, it's a sad day when the
finest brains emerging from universities are paid to encourage other
folks to click on links.

--
Paul Sture


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Arne Vajhøj  
View profile  
 More options Mar 3 2012, 7:40 pm
Newsgroups: comp.os.vms
From: Arne Vajhøj <a...@vajhoej.dk>
Date: Sat, 03 Mar 2012 19:40:11 -0500
Local: Sat, Mar 3 2012 7:40 pm
Subject: Re: SHOW LOGICAL
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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Richard B. Gilbert  
View profile  
 More options Mar 4 2012, 4:36 pm
Newsgroups: comp.os.vms
From: "Richard B. Gilbert" <rgilber...@comcast.net>
Date: Sun, 04 Mar 2012 16:36:44 -0500
Local: Sun, Mar 4 2012 4:36 pm
Subject: Re: SHOW LOGICAL
On 3/3/2012 6:06 PM, Paul Sture wrote:

Clicking on links is a skill both useful and necessary these days.
It's right up there with using a dictionary and an encyclopedia!
It does NOT replace using dictionaries and encyclopedias, online or off,
nor is it a substitute for thought!

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MG  
View profile  
 More options Mar 12 2012, 8:23 am
Newsgroups: comp.os.vms
From: MG <marcog...@SPAMxs4all.nl>
Date: Mon, 12 Mar 2012 13:23:47 +0100
Local: Mon, Mar 12 2012 8:23 am
Subject: Re: SHOW LOGICAL
On 3-3-2012 22:41, Jojimbo wrote:

> On Mar 3, 9:01 am, Hein RMS van den Heuvel
> <heinvandenheu...@gmail.com>  wrote:
>>> Why can't show logical display only the tables with a match?

>> Using perl as a workaround...

> Sigh...

> Isn't that how *ix got the way it is now?  By everybody doing their
> own thing.  Rather than doing the right thing, everyone did their own
> thing.  Result being chaos and programmers walking around SOMA with
> big egos, messenger bags and empty heads.  I suggest they all go to
> hell in return for the disasters that they have left behind.  Anyone
> for figuring out the Facebook API's?

Very good point, that's certainly one of the many reasons why I like
VMS so much.

Fortunately I don't use, nor feel any need to, use "Facebook" or any
"social media".  DR is enough 'social media' for me!  (PHONE and MAIL
work just fine for contacting people.)

  - MG


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »