FW: VMS DCL UTILITIES

rkessler rich@thestewart.org
Wed, 10 Mar 1999 11:16:27 -0600



-----Original Message-----
From:	STEWARTM@dteenergy.com [SMTP:STEWARTM@dteenergy.com]
Sent:	Wednesday, March 10, 1999 10:47 AM
To:	powerh-l@lists.swau.edu
Subject:	VMS DCL UTILITIES

Mark, 
Not sure I follow the VMS side of the question, 
but my experience with UNIX has been that it's 
fun to cook up your own solution. 

How about things like :
===================================
command = 'ww'
--------------------------------
#!/bin/csh
echo 'Who        : ' `who am i`
echo 'Directory  : ' `pwd`
echo 'VASDATA    : ' $VASDATA
echo 'Dictionary : ' $PHD
echo ' '
echo ' '
=============================
command = elemname <some dictionary item>
-------------------
:
qshow auto=/home/bin/show.elem | grep -v Page | grep -v "E L E M" | \
                        grep -v DICTIONARY | \
                        grep -v Element | \
                        grep -i $1 |more
-----------
where /home/bin/show.elem file =
---------------
show elements
exit
===================================
command = powname <some dictionary file>
------------------
:
qshow auto=/home/bin/show.files | grep -v Page | grep -v "F I L E" | \
                        grep -v DICTIONARY | grep -v Filename | \
                        sed 's/CISAM//' | sed 's/UNIXIO/ /'  |  \
                        sed 's/INDEXED//' | sed 's/SEQUENTIAL/   /'  |  \
                        sed 's/\$VASDATA\///'   |  \
                        grep -i $1 |more
---------------
where /home/bin/show.files =
------------------
show files
exit
===================================

I am a mere apprentice.  Challenge some of the Guri out here with your
desires.....

Richard Kessler
rich@thestewart.org
===============================
=============================
 
>I was wondering if PowerHouse for UNIX had shell scripts located in an 
>installation directory similar to DCL command procedures for PowerHouse for 
>VMS.  For example PowerHouse for VMS has the following: 
 
>SHOWDIC*TIONARY == "@PH_LOCATION:SHOWDICT" 
>SHOWPOW*ERHOUSE == "@PATH$POWERHOUSE:[000000]SHOWPOWERHOUSE.COM" 
 
>Does UNIX have any hidden shell scripts that can be used as shortcut
>commands? 
 >VMS has a few operating system commands that invoked some useful little 
>programs.  I'm curious because I just did a SHOWPOW for the first time since 
>moving to UNIX and nothing happened.  I looked in /ph_location but it wasn't 
>there either.  I've got the DCL source code so it wouldn't be a big task to 
>convert to HP-UX.  That was a useful little DCL program when switching back 
>and forth between dictionaries.  Sorry, more griping over missing VMSisms. 
 
---------------------- 
Mark Stewart 
Consultants Club Corp. 
Windsor, Ontario 
CANADA


= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Subscribe: "subscribe powerh-l" in message body to majordomo@lists.swau.edu
Unsubscribe: "unsubscribe powerh-l" in message to majordomo@lists.swau.edu
powerh-l@lists.swau.edu is gatewayed one-way to bit.listserv.powerh-l
This list is closed, thus to post to the list, you must be a subscriber.