Release notes for SirPro V7.5: Difference between revisions
m (minor cleanup) |
m (minor cleanup) |
||
Line 108: | Line 108: | ||
</td></tr> | </td></tr> | ||
<tr><th>OR <i>xxxx | <tr><th>OR <i>xxxx</i></th> | ||
<td>Changes the procedure name filter by combining <var class="term">xxxx</var> with the existing value with Or logic. For instance, if the current value of the procedure name filter is <code>A|B</code>, an <code>OR C</code> command changes it to <code>A|B|C</code>. Hence this adds additional procedures to the display listing. | <td>Changes the procedure name filter by combining <var class="term">xxxx</var> with the existing value with Or logic. For instance, if the current value of the procedure name filter is <code>A|B</code>, an <code>OR C</code> command changes it to <code>A|B|C</code>. Hence this adds additional procedures to the display listing. | ||
</td></tr> | </td></tr> | ||
Line 164: | Line 164: | ||
</table> | </table> | ||
==== | ====Sel (selection) field==== | ||
The following procedure selection option | The following procedure selection option is added: | ||
<dl> | |||
<dt>E (Edit) | |||
The following new selection options | <dd>Invokes [[SoulEdit]], the SOUL editor. | ||
</dl> | |||
not installed | The following new selection options are part of [[SirLib]], the | ||
managed update and configuration management system. If SirLib is | |||
not installed, these commands are not valid. | |||
<table class="thJustBold"> | <table class="thJustBold"> | ||
<caption>Options that require SirLib</caption> | |||
<tr class="head"><th>Command</th><th>Description</th></tr> | <tr class="head"><th>Command</th><th>Description</th></tr> | ||
<tr><th>U (Undo)</th> | <tr><th> | ||
U (Undo) | |||
</th> | |||
<td> | <td> | ||
May only be executed against a change deck. This command | May only be executed against a change deck. This command | ||
performs the same operation as <var>Q</var>, resulting in a "working" | |||
procedure and a sequenced copy of that procedure being created | procedure and a sequenced copy of that procedure being created | ||
in the user's selected development | in the user's selected development procedure file. However, the <var>U</var> command specifically includes the change deck against which it is executed in the code for the working procedure, but <b>not</b> in the code from the sequenced copy. In other words, it recreates | ||
command specifically includes the change deck against which it is | |||
executed in the code for the working procedure, but | |||
code from the sequenced copy. | |||
the state of the development procedures that created the change | the state of the development procedures that created the change | ||
deck against which the U command is executed. | deck against which the <var>U</var> command is executed. | ||
Typically, the U command is used to recreate the state of development | Typically, the <var>U</var> command is used to recreate the state of development when the programmer has accidentally deleted the procedures she was working on, either manually, or via the "Clean-up" switch on | ||
when the programmer has accidentally deleted the procedures she | |||
was working on, either manually, or via the "Clean-up" switch on | |||
the Xcompare screen. | the Xcompare screen. | ||
The U command is a special-use feature, and there are a number | The <var>U</var> command is a special-use feature, and there are a number | ||
of ways in which it will fail to work | of ways in which it will fail to work — most notably, if the | ||
selected change deck is somewhere in the middle of a series of | selected change deck is somewhere in the middle of a series of | ||
changes and, by excluding it from procedure creation, some code | changes and, by excluding it from procedure creation, some code | ||
dependency is missing. | dependency is missing. However, for its primary function — | ||
recovering from a mistake that was made very recently, typically | recovering from a mistake that was made very recently, typically | ||
as the most recent change to a procedure | as the most recent change to a procedure — it should always work. | ||
</td></tr> | </td></tr> | ||
<tr><th>Y</th> | <tr><th> | ||
Y | |||
</th> | |||
<td> | <td> | ||
This change-control prefix command provides a special check-out | This change-control prefix command provides a special check-out | ||
Line 210: | Line 210: | ||
of a procedure with changes that have been checked in by other | of a procedure with changes that have been checked in by other | ||
programmers since the working copy was originally taken from | programmers since the working copy was originally taken from | ||
the source procedure file | the source procedure file. | ||
In other words, the | <var>Y</var> is applied against the working | ||
but it is done while changes are in progress, and it slips | procedure, a screen is presented, and the result is both of these: | ||
into place other changes that have occurred since the original | <ul> | ||
<li>A new working procedure with all updates applied <b>and</b> the user's current changes still in place </li> | |||
<li>A sequenced copy that has all updates applied, but the user's current changes not in place </li> | |||
</ul> | |||
In other words, the <var>Y</var> command is very much like a <var>Q</var> command, but it is done while changes are in progress, and it slips into place other changes that have occurred since the original | |||
procedure check-out. | procedure check-out. | ||
</td></tr> | </td></tr> | ||
</table> | </table> | ||
== New PL subsystem== | ==New PL subsystem== | ||
The new <var>PL</var> command allows direct entry to the [[SirPro procedure-list operations#Overview|Procedure List screen]] in SirPro. The format is: | |||
<p class="syntax">PL [<span class="term">procedurePattern</span>] [FILE <span class="term">fileName</span> | GROUP <span class="term">groupName</span>] | |||
<p class=" | |||
</p> | </p> | ||
If FILE or GROUP is not supplied | If <var>FILE</var> or <var>GROUP</var> is not supplied, the current open context is used. The context is obtained using <code>$view('APDFCNTX')</code> (see [[APDFCNTX parameter]]). | ||
Note | <blockquote class="note"> | ||
<p class="code">PL file FILE <filename></p> | <p><b>Note:</b> If a procedure search is required for the words "FILE" or "GROUP," it must be entered as: </p> | ||
where | <p class="code">PL file FILE <i>filename</i></p> | ||
<p> | |||
where: </p> | |||
<ul> | |||
<li><code>file</code> indicates procedures containing the word "file."</li> | |||
<li><code>FILE</code> is required because the context is not automatically added if searching for the words "FILE" or "GROUP." </li> | |||
</ul> | |||
</blockquote> | |||
==Enhanced Help== | ==Enhanced Help== | ||
(in progress) | (in progress) |
Revision as of 18:15, 6 January 2016
This document lists the changes that have been made for SirPro version 7.5. SirPro 7.5 requires Model 204 V7.5 or higher.
SirPro is a member of the RKTools product family; see also the release notes for RKTools version 7.5.
The previous version of SirPro was 707, available in March, 2010.
Procedure Search screen (ProcSearch/PS)
Option 1, Procedure List, from the SirPro main menu brings you to this screen.
Field changes
The searching capabilities are enhanced to provide better impact analysis. The following fields are changed or added.
Search Strings
The maximum length has been increased to ??.
# of context lines
This numeric indicator (0 through 9) specifies the number of lines of code to display before and after the line containing the search string.
# occurrences to display
This number (from 1 to 999) specifies how many occurrences of a search string within a procedure to display.
Hide SEQs/BASEs
SirPro users who are also SirLib users can display or hide SEQ. and BASE. procedures, which are used in code management functions but are not intended to be edited directly.
Ignore Comment Lines
You can ignore any SOUL-formatted comment lines or include all found lines.
New function keys
PF5 - Toggle between case sensitive/insensitive
In case-sensitive mode, a search for "html" finds only the lowercase version of that string. In case-insensitive mode, the same search finds procedures containing either "html" or "HTML".
PF6 - Create Proc
Enter the SoulEdit editor within a skeleton procedure-creation template.
Other features
Logical And/Or for Procedure Name search
If a procedure name is entered and any matching procedures are found, a procedure list is presented.
As in previous SirPro versions, wildcard strings are valid in this field, using an asterisk (*) as a substitution character for any number of characters in the procedure name. For example: *XYZ
finds all procedure names ending in the string "XYZ", and XYZ*
finds all procedure names beginning with "XYZ".
New in version 7.5:
- A space indicates a logical And operation. Entering
PU END
returns only those procedures whose names contain both the character sets "PU" and "ND", for example,PUNP-
orPUMPKIN.SPENDER
. - A vertical bar (|) indicates a logical Or operation.
PU|ND
finds procedures containing the strings "PU" or "ND", for example,PUMP
,COLORPURPLE
, andNINTENDO
. - Wildcards can be used in conjunction with the And/Or
selections.
PUPR*|SCPR*|MOPR*
finds all procedures starting with any of the above strings.
Note: You must use caution when combining And and Or selections, because the routine currently has a bias in favor of Or selections. Specifying
PUPR*|SCPR AND
for example, does not work. It returns all procedures beginning with "PUPR", then attempts to add to the list any procedure with the characters "SCPR AND", which finds nothing because of the embedded space.
Field error tagging
In case of an error in field specification, for example an invalid Context field, the field is tagged red and an error message is displayed above the PF keys.
Longer procedure names
Better subsystem transfer
Save profile for each change
Procedure List screen (ProcList/PL)
This screen displays a list of the procedures that satisfy the specifications made on the Procedure Search screen described above.
Field changes
Command line
Most of the functions you can perform on the Procedure Search screen may now be done as commands in the command line field. In addition, You can string commands together using a semicolon as a delimiter.
For example, to switch to a new file, SIRIUS, and display those procedures that have "HELP" in their name, specify:
FL SIRIUS;A HELP
An erroneous command remains on the screen so it can be amended.
Most commands have a full name and an abbreviation.
Command | Description |
---|---|
{PROCS | A} [xxxx] | Changes the procedure name filter to 'xxxx'. Wildcarding is assumed and fully supported, so for instance, the command PROCS CADDIE finds all procedures with the string "CADDIE" in its name.
If you use specific wildcard characters, the search is done for the
specified pattern, so If the filter name xxxx is omitted, all procedures are displayed. |
AND xxxx | Changes the procedure name filter by combining xxxx with the existing value with And logic, applying the "distributive law" if necessary. For instance, if the current value of the procedure name filter is A|B , an AND C command changes it to A C|B C by applying the distributive law:
(A|B) C -> A C|B C Hence this filters the current display listing to show only those that also meet the new criteria. |
+AND xxxx | Changes the procedure name filter by combining xxxx with the existing value with And logic, but without applying the "distributive law." It just simply appends xxxx to the existing procedure name filter. For instance, if the current value of the procedure name filter is A|B , an AND C command changes it to A|B C .
|
OR xxxx | Changes the procedure name filter by combining xxxx with the existing value with Or logic. For instance, if the current value of the procedure name filter is A|B , an OR C command changes it to A|B|C . Hence this adds additional procedures to the display listing.
|
{CREATEPROC | CREATE | CP} [xxxx] | Creates a new procedure named xxxx in the current file/group context. If there is no xxxx specified, an unnamed procedure is created.
|
{FILE | FL} xxx | Changes the file context to xxx using the existing privileges to the file. |
FLP xxx | Changes the file context to xxx with a prompt for password. |
{GROUP | GP} xxx | Changes the group context to xxx using the existing privileges to the group. |
GPP xxx | Changes the group context to xxx with a prompt for password. |
PASSWORD | PWD | Reopens the current file or group with a prompt for password. It implies a switch of privileges associated with the password to the current file or group. |
{LASTID | LID} [xxx] | Changes the value of the Last Updater ID field. The valid value for xxx is a string not longer than 10, or is a blank. |
{HAS | HA | H} [xxx] | Changes the selection to procedures containing the specified string xxx. HAS $GETG restricts procedures to those containing $GETG . HAS does not support wildcards, so a search for locate* looks for the string "locate*".
If the string xxx is omitted, the search string is cleared. |
{DISPLAY | CODE | SHOW | CL} [n] | With these commands you can alter the number of lines of code to be displayed, beginning with the first of any found search string. If no search string was specified on the previous screen, this command has no effect.
Valid values for n are 0 through 9. If there is no n specified, it gives a default value of 0 to the # of context lines field. |
OCC [nnn] | Changes the value of the # of occurrences to find field. The valid value for the optional nnn is a number between 1 and 999 or it is ALL. If there is no nnn specified, it gives a default value of 1 to the # of occurrences to find field. |
IC [x] | Changes the value of the Ignore Comment lines field. The valid values for the optional x are Y and N . If there is no x specified, it gives a default value of Y to Ignore Comment lines.
|
HS [x] | Changes the value of the Hide SEQs/BASEs field. The valid value for the optional x is Y or N . If there is no x specified, it gives a default value of Y to Hide SEQs/BASEs.
|
Sel (selection) field
The following procedure selection option is added:
- E (Edit)
- Invokes SoulEdit, the SOUL editor.
The following new selection options are part of SirLib, the managed update and configuration management system. If SirLib is not installed, these commands are not valid.
Command | Description |
---|---|
U (Undo) |
May only be executed against a change deck. This command performs the same operation as Q, resulting in a "working" procedure and a sequenced copy of that procedure being created in the user's selected development procedure file. However, the U command specifically includes the change deck against which it is executed in the code for the working procedure, but not in the code from the sequenced copy. In other words, it recreates the state of the development procedures that created the change deck against which the U command is executed. Typically, the U command is used to recreate the state of development when the programmer has accidentally deleted the procedures she was working on, either manually, or via the "Clean-up" switch on the Xcompare screen. The U command is a special-use feature, and there are a number of ways in which it will fail to work — most notably, if the selected change deck is somewhere in the middle of a series of changes and, by excluding it from procedure creation, some code dependency is missing. However, for its primary function — recovering from a mistake that was made very recently, typically as the most recent change to a procedure — it should always work. |
Y |
This change-control prefix command provides a special check-out ability in which the user can "refresh" their local working copy of a procedure with changes that have been checked in by other programmers since the working copy was originally taken from the source procedure file. Y is applied against the working procedure, a screen is presented, and the result is both of these:
In other words, the Y command is very much like a Q command, but it is done while changes are in progress, and it slips into place other changes that have occurred since the original procedure check-out. |
New PL subsystem
The new PL command allows direct entry to the Procedure List screen in SirPro. The format is:
PL [procedurePattern] [FILE fileName | GROUP groupName]
If FILE or GROUP is not supplied, the current open context is used. The context is obtained using $view('APDFCNTX')
(see APDFCNTX parameter).
Note: If a procedure search is required for the words "FILE" or "GROUP," it must be entered as:
PL file FILE filename
where:
file
indicates procedures containing the word "file."FILE
is required because the context is not automatically added if searching for the words "FILE" or "GROUP."
Enhanced Help
(in progress)