This commit is contained in:
SJLennon
2021-06-25 16:02:50 -04:00
parent fd78cee53c
commit 54d5ece745
+11 -13
View File
@@ -1,10 +1,8 @@
# Developer Utilities These are personal utility commands that I wrote somewhere in my career. They made my life easier. Maybe they will make your life easier.
These are personal utility commands that I wrote somewhere in my career, to make my life easier. Maybe they will make your life easier.
And you can see some examples of simple command definitions. And you can see some examples of simple command definitions.
## QRY Query (List) File Contents # QRY - Query (List) File Contents
This just a quick and dirty shorthand way to look at the contents of a file. You probably know that you can list the contents of a file by `RUNQRY *NONE filename`. I got tried of typing the *NONE and instead wanted to simply enter `QRY filename`. Hence this command. This just a quick and dirty shorthand way to look at the contents of a file. You probably know that you can list the contents of a file by `RUNQRY *NONE filename`. I got tried of typing the *NONE and instead wanted to simply enter `QRY filename`. Hence this command.
@@ -12,11 +10,11 @@ QRY invokes RUNQRY internally. RUNQRY is the runtime component of the old Query/
![QRY Prompter](Images/QRY_1.jpg) ![QRY Prompter](Images/QRY_1.jpg)
### Typical QRY, file in library list ## Typical QRY, file in library list
![Typical QRY](Images/QRY_2.jpg) ![Typical QRY](Images/QRY_2.jpg)
### QRY With Selection ## QRY With Selection, specifying the library
![Qry with Selection](Images/QRY_3.jpg) ![Qry with Selection](Images/QRY_3.jpg)
@@ -27,15 +25,15 @@ With results like this:
![QRY results](Images/QRY_3B.jpg) ![QRY results](Images/QRY_3B.jpg)
#### QRY ### QRY
The command source The command source
#### QRYC ### QRYC
The CLP command processing program The CLP command processing program
## RC - Display File Record Count # RC - Display File Record Count
This provides a popup window showing the number of records in a file. This provides a popup window showing the number of records in a file.
@@ -49,21 +47,21 @@ You can press F5 and watch any add or delete activity on the file.
RC defaults to the *FIRST member, but you can specify a member: RC defaults to the *FIRST member, but you can specify a member:
![RC Prompt](Images/RC_1B.jpg) ![RC Prompt](Images/RC_2.jpg)
I also have a PDM User-Defined RC option: `RC FILE(&O/&N)`. So in PDM I can do: I also have a PDM User-Defined RC option: `RC FILE(&O/&N)`. So in PDM I can do:
![RC PDM 1](Images/RC_3A.jpg) ![RC PDM 1](Images/RC_3A.jpg)
which gives this: which gives this:
![RC PDM 2](Images/RC_3B.jpg) ![RC PDM 2](Images/RC_3B.jpg)
### RC ## RC
The command source The command source
### RCC ## RCC
The CLLE source of the command processing program The CLLE source of the command processing program
### RCDD ## RCDD
The display file for the window The display file for the window