I did not know about F8 - that will come in handy!!!
And I did not know about F9 with '*' - that is handy too!
-----Original Message-----
From: MIDRANGE-L <midrange-l-bounces@xxxxxxxxxxxxxxxxxx> On Behalf Of
smith5646midrange@xxxxxxxxx
Sent: Tuesday, June 21, 2022 2:23 PM
To: 'Midrange Systems Technical Discussion' <midrange-l@xxxxxxxxxxxxxxxxxx>
Subject: F8 and F9 at the command line
I just learned something really useful and wanted to pass it along in case
others missed it...now if only I can remember to use it.
Everyone knows that you can press F9 to recall previous commands. I just
found out that you can type part of the command followed by an * and then
hit F9 and it will retrieve the commands that start with the prefix. For
example, you have executed several WRKOBJ commands along with other commands
such as DBU, STRPDM, STRSQL, etc.. If you type WRK* and press F9, it will
search backwards through your previous command that begin with WRK (WRKOBJ,
WRKOBJPDM, WRKSPLF, etc.) and skip anything that doesn't start with WRK.
Now for the downside. This doesn't work if you are inside of PDM and a few
other commands. However, if your attn key is set to give you a command line
(I know QUSCMDLN works. I haven't tried QCMD but I have no reason to doubt
that it would work), you can press the attn key and get to this
functionality.
To add another piece of cool to this, you can also do an F8 to come forward
one command. So, you are hitting F9 to get to a previous command and you
overshoot it (one F9 too many). Now you can press F8 and it will roll
forward to the one that you overshot. This also does not work in PDM and a
few other commands.
Now a question. I found the F9* thing after accidentally hitting F8 in PDM
(I already knew that it didn't do the scrolling but forgot) and then
googling to try to figure out what F8 does. If you are middle of the member
list and hit F8, it looks like it takes you to the bottom two members. Hit
it again and it looks like it takes you to the top. Hit it again and it says
it's an Invalid function key. Anybody have any idea what F8 really does in
PDM? :)
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list
To post a message email: MIDRANGE-L@xxxxxxxxxxxxxxxxxx To subscribe,
unsubscribe, or change list options,
visit:
https://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives at
https://archive.midrange.com/midrange-l.
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related
questions.
Help support midrange.com by shopping at amazon.com with our affiliate link:
https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.