John, quite a lot of questions! Some answers:
1. we have a commandfile called cls:
COMMENT The 'echo' line means home/cleardisp (esc h, esc J)
COMMENT [escape ] [ h ] [escape ] [ J ]
ECHO ![chr(27)]![chr(104)]![chr(27)]![chr(74)]
A special sequence of ESCAPE sequences is needed.
2. PARM: each value seperated by a space or comma is filled into the
corresponding variable.
ANYPARM: everything (including spaces, commas) are put into a parm.
See HELP ANYPARM ALL
Example I use:
PARM PLSRC="" PLSRCDIR="!HPCWD" PLFRM="gif" PLTARDIR="!HPCWD"
ANYPARM PLOTH=' '
COMMENT
COMMENT Usage: PLOTX script,scriptdir,format,targetdir[,options]
COMMENT
COMMENT Ploticus is (c) 1998-2000 Stephen C. Grubb
COMMENT Home page is www.sqpr.net
COMMENT
COMMENT Ploticus 1.35 has been ported to MPE by Andreas Schmidt
COMMENT Home page is www.hillschmidt.de/ploticus/
COMMENT
COMMENT Command file has been written by Andreas Schmidt
COMMENT vers. 1.0 14APR2000
COMMENT
SETVAR PLOPTIONS "!PLSRCDIR/!PLSRC -!PLFRM -o !PLTARDIR/!PLSRC.!PLFRM !PLOTH"
ECHO /usr/local/ploticus/bin/pl !PLOPTIONS
XEQ SH.HPBIN.SYS "-c 'cd /usr/local/ploticus/bin/;pl !PLOPTIONS'"
LISTFILE !PLTARDIR/!PLSRC.!PLFRM,2
ECHO Done.
3. Not that I'm aware of. PRIV files are database files so that you may try it
with DBUTIL
Basically: don't know,
4. You may name it as you like but you have to set a Logon UDC for the
user/account.
See HELP SETCATALOG ALL
To achieve another command prompt you may change the system's setting in SYSGEN,
MISC
Here you can specify a system wide logon prompt and ci prompt.
To have another HOME GROUP you may use the ALTUSER command
See HELP ALTUSER ALL
5. SETCATALOG file;SYSTEM
Such a system wide UDC file cannot be bypassed (except by the SM user using a
special logon parameter)
If you do not have SM ask the SM to do this for you. We have a group called
XECMD.SYS with the caps
XEBHH2:listgroup xecmd
********************
GROUP: XECMD.SYS
DISC SPACE: 18224(SECTORS) PASSWORD: **
CPU TIME : 0(SECONDS) SECURITY--READ : ANY
CONNECT TIME: 0(MINUTES) WRITE : AL
DISC LIMIT: UNLIMITED APPEND : AL
CPU LIMIT : UNLIMITED LOCK : ANY
CONNECT LIMIT: UNLIMITED EXECUTE : ANY
PRIV VOL : NO SAVE : AL
FILE UFID: $05640001 $31D01E59 $0019F5C8 $64022463 $076ED685
MOUNT REF CNT: n/a
HOME VOL SET : MPEXL_SYSTEM_VOLUME_SET
CAP: BA,IA
so that we can have this kind of generell usable files like System Wide Logon
UDCs or the CLS command in here (using the HPPATH variable to point to this
group),
If the SM doesn't want to have this you must activate such a file on account
level using the SETCATALOG file;ACCOUNT command as AM.
6. The Kill of a process will be implemented later in 6.0 as far as I know.
There is another possibility: perform a FCOPY to this file so that the printing
process can read s.th.:
Example: session one:
build xxxxxx;msg
print xxxxxx
< and hangs as described >
session two:
fcopy from;to=xxxxxx
< ignore warnings >
test test test
< will be displayed in session one >
:EOD
< and that's the trick! session one is freed immediately but file remains usable
>
:EOD is the End Of Data indicator for MPE.
7. Security is a special chapter for MPE ... Best answer I'd like to give: it
depends!
... on account structure, on Security Level given, and more.
See special manual available under www.docs.hp.com, especially the two's
describing the Security Monitor/iX.
Hope that will help you a bit.
Best regards, Andreas Schmidt, CSC, Germany
(and welcome in the world of MPE experts ;-)
John Dass <[log in to unmask]>@RAVEN.UTC.EDU> on 20/08/2000 06:31:31 AM
Please respond to John Dass <[log in to unmask]>
Sent by: HP-3000 Systems Discussion <[log in to unmask]>
To: [log in to unmask]
cc:
Subject: [HP3000-L] PLS HELP : MPE Commands
Hello,
I would like to know the following on the MPE iX 5.5
system that I am using - any pointers will be greatly
appreciated.
1. Clear Screen command : Is there a CLS or CLEAR
command in MPE? I cannot find similar command.
2. Scripting Help : I came across some scripts and they
have the parm and anyparm commands in them, but
I cannot find any documentation on MPE scripting
so that I can learn more of such scripting commands.
The MPE manuals (which I just acquired) does not
have any info on this. Any website having this info?
3. PRIV file : How do I use BUILD to create a password
protected PRIV file?
4. What is the file that gets execute first when we login
to an account. The file that sets the command prompt
and the group to drop into, coz I want to change the
command prompt upon login and also change the group
where I drop into (the home group) to another. How to do
this?
5. Is there a way I can put a command into a MPE machine
such that all acounts have access to the command? If
so which account/group should I put it in? If I use the
setcatalog command, then will the command then be available
to all accounts. I only have manager user login security for
almost all accounts where I need the command to be executed.
6. IMPT Question : When I run a process say print a MSG file,
and if the MSG file is empty, the print command just hangs. I
cannot even break it. I have to open another session and kill
the session where the print command hangs. I wonder if I can
actually kill the print process instead of the session. If so, how
can I see what the session is executing? SHOWJOB only shows
the sessions, but what about if I wanna see the process that the
session is executing and wanna kill that process only.
7. What security level is needed for traversing through all accounts
on a MPE machine?
A lot of questions ... I did try to find out as much as I can but
though I managed to learn much, these questions are still pending
in my list and I would greatly appreciate any pointers/tips/tricks.
Thanks in advance to all who respond.
Cheers!
John
|