A State of SHOW Me
Inside VESOFT covers tips and techniques you can use with VESOFTs products, especially MPEX.
We are in the midst of what I consider to be the bicentennial years of one of the most significant events in the history of the United States. Between 1803 and 1806, Meriwether Lewis and William Clark led an expedition of almost 40 men through sections of what would be 11 different states to explore the newly-purchased territory. That territory expanded this country from the Atlantic to the Pacific and these men made geographic, geological and biologic discoveries as they went along.
Showing them the way was a series of guides, the most notably, a young Shoshone woman (although not much more than a girl) named Sacajawea. Since war parties never traveled with women, her presence was a sign to other Indian tribes that the expedition was peaceful. On more than one occasion, she recognized landmarks in her home land and showed the party the way through dangerous land
Just like the
storied guides of the new land, MPEX has learned that it needs to
show the way to help its followers and it has enough SHOW commands to
lead you through the wilderness. The simplest is just %SHOW, which
shows you your MPEX capabilities, default modes and the date
CURRENT LOGON: STEVE,MANAGER.SYS,PUB
Hey, look at
that! Along with the usual SHOWME information, when you add
;DETAIL to the command, you get your capabilities. This
is especially useful of you do a CHLOGON in the middle of your MPEX
The ERR! at the end of the line indicates that second job terminated abnormally, while the first one was probably aborted by the operator before he started the 9pm backup job.
MPEX tweaks SHOWOUT a bit more with the SHOWOUTJ command, letting you define the job/session name without using the spool file attributes:
called for any jobs in FINANCE. If you say %SHOWOUTJ BIGJOB,
thats like asking for BIGJOB,@.@ and %SHOWOUTJ ,MGR.PRODACCT
then you are asking for @.MGR.PRODACCT. Its a shorthand for a
very common (and powerful) use of SHOWOUT.
QPRI CPUTIME STATE JOBNUM PIN (PROGRAM) STEP #s1325, steve,manager.sssprogs,pub (ldev 236) C152 0:00.142 WAIT S1325 158 :MPEX C163 0:03.252 READY S1325 88 (MAIN.PUB.VESOFT) C152 0:00.610 WAIT S1325 71 (QEDIT.PUB.ROBELLE)Here I am running a session as MANAGER.SSPROGS and I have MPEX (which runs MAIN.PUB.VESOFT) running and I have suspended a process running QEDIT. If I want to see what files I have open I just run:
%showproc;format=files QPRI CPUTIME STATE JOBNUM PIN (PROGRAM) STEP # filename code recsz access eof rec# #ios ty #s1325, steve,manager.sssprogs,pub (ldev 236) 152 0:00.142 WAIT S1325 158 :MPEX 8 ci .pub .sys nmprg 128w rxl 182 0 0 p 9 udcsys .pub .sys 88b r 36 26 5 p 10 snmpudc .net ..sys 80b r 29 0 0 p 11 mpex ..pub .sys 80b r 2 2 4 p C200 0:03.351 READY S1325 88 (MAIN.PUB.VESOFT)Trust me - theres a lot more lines to this display, but what it does show you is file name, type of file, record size, current access to the file, current EOF, current record number in use and the number of disc I/Os that have been performed on it in this process. Ive never needed to use this information, but I know there are times (maybe debugging) when such data items are very helpful.
When you are working with variables - SHOWVAR and SHOWLVAR (for local variables) will show you those items. A simple SHOWVAR gives you the all the modifiable variables while SHOWVAR @ gives you everything - all MPEX variables, along with the HP/MPE variables. You can use wildcards to tailor the SHOWVAR to your needs.
Other SHOW commands we have mentioned in as part of earlier columns are SHOWALARM (to show which alarms are set), SHOWGOON (to show which processes are in the GOON - or go on state), SHOWPAUSED and SHOWSAVED (to show what jobs are to be restarted when you execute the DOSAVED command).
Steve Hammond, who works for a professional association in Washington, DC, has been known to show off on occasion.
Copyright The 3000 NewsWire. All rights reserved.