[Info-vax] CSWS symbols

ken.fairfield at gmail.com ken.fairfield at gmail.com
Tue Mar 24 19:31:28 EDT 2009


On Mar 23, 3:15 pm, "jo jimbo" <joji... at sbcglobal.net> wrote:
> I tried that.  Show symbol remote_user works, the others don't.  Output from
> my
> cgi script is:
>
> $ show symbol remote_user
>   REMOTE_USER = "jgessling"
> $ show sym/local/all
>   P1 = ""
>   P2 = ""
>   P3 = ""
>   P4 = ""
>   P5 = ""
>   P6 = ""
>   P7 = ""
>   P8 = ""
> $ show sym/global/all
>   $RESTART == "FALSE"
>   $SEVERITY == "1"
>   $STATUS == "%X00030001"
>   APACHE$DCL_CMD == "@APACHE$COMMON:[PROTECTED-BIN]TEST.COM"
>
> Still confused.
>
> Jim

Search for the thread with the title, "Q: (long) DCL
symbols not appearing in Show Symbol output
[SLS V2.9H]" which I posted in, oh, mid-to-late 2007.

In the context of procedures called from SLS, I wanted
to know what symbols were available.  And I couldn't
find some I already *knew* were present with wither
Show Symbol/Global/All or Show Symbol/Local/All .

The upshot is that there is a *third* class of symbols
which neither of the above Show Symbol will show:
local symbols defined in an outer procedure.  You
can show global symbols, and you can show symbols
defined local to your own procedure, but you can't
show (/all) symbols local to another procedure.  If
you already know one of these in-between symbol's
name, then you can show it with
Show Symbol <the_name>, but you can't get  list
of them.

Curious, methinks, but that's the answer, such as
it is...

   Cheers, Ken



More information about the Info-vax mailing list