Searching the Help
To search for information in the Help, type a word or phrase in the Search box. When you enter a group of words, OR is inferred. You can use Boolean operators to refine your search.
Results returned are case insensitive. However, results ranking takes case into account and assigns higher scores to case matches. Therefore, a search for "cats" followed by a search for "Cats" would return the same number of Help topics, but the order in which the topics are listed would be different.
Search for | Example | Results |
---|---|---|
A single word | cat
|
Topics that contain the word "cat". You will also find its grammatical variations, such as "cats". |
A phrase. You can specify that the search results contain a specific phrase. |
"cat food" (quotation marks) |
Topics that contain the literal phrase "cat food" and all its grammatical variations. Without the quotation marks, the query is equivalent to specifying an OR operator, which finds topics with one of the individual words instead of the phrase. |
Search for | Operator | Example |
---|---|---|
Two or more words in the same topic |
|
|
Either word in a topic |
|
|
Topics that do not contain a specific word or phrase |
|
|
Topics that contain one string and do not contain another | ^ (caret) |
cat ^ mouse
|
A combination of search types | ( ) parentheses |
|
- List: rtecalls
- rtecall("alalnum") function
- rtecall("counter") function
- rtecall("datemake") function
- rtecall("escstr") function
- rtecall("filecopy") function
- rtecall("fileinit") function
- rtecall("filldate") function
- rtecall("getnumber") function
- rtecall("getprimary") function
- rtecall("getrecord") function
- rtecall("getunique") function
- rtecall("isalnum") function
- rtecall("isalpha") function
- rtecall("islower") function
- rtecall("isnumeric") function
- rtecall("isupper") function
- rtecall("log") function
- rtecall("passchange") function
- rtecall("policycheck") function
- rtecall("qbeform") function
- rtecall("recdupl") function
- rtecall("recordexists") function
- rtecall("refresh") function
- rtecall("resetnotebook") function
- rtecall("rfirst") function
- rtecall("rgoto") function
- rtecall("rid") function
- rtecall("scantable") function
- rtecall("sort") function
- rtecall("statusupdate") function
- rtecall("transtart") function
- rtecall("transtop") function
- rtecall("trigger") function
rtecall ("getprimary") function
A RAD function that returns an array containing the primary key values for a current record. The keys can later be used
to retrieve the record using the rtecall("getrecord") function. This function can only be used against tables that have a primary key. Otherwise, error code 2
is returned.
Function
rtecall("getprimary")
Format
$L.void=rtecall($L.fnc.name, $L.errcode, $L.array, $L.file)
Parameters
The following parameters are valid for the rtecall("getprimary") function:
Variable/Value | Description |
---|---|
$L.void = true | If key values are returned in $L.keyvalues. For example, if $L.file represents a current database record. |
$L.void= false | If no key values are returned. For example, if $L.file does not represent a current database record. |
$L.errcode = 0 | The function succeeded. |
$L.errcode = 1 | The $L.file does not represent a file variable. |
$L.errcode = 2 | The file identified by $L.file does not have a primary key defined. |
$L.file | The file variable initialized by the rinit command panel and containing a current record. |
Factors
$L.keyvalues
is an output variable. The output returns an array containing the primary key values for the
record in $L.file. For example, if $L.file is for the problem table, an example of the key values returned in $L.keyvalues
is
{"IM1001",1}
.
Example
$L.void = rtecall( "getprimary", $L.errcode, $L.keyvalues, $L.file )
We welcome your comments!
To open the configured email client on this computer, open an email window.
Otherwise, copy the information below to a web mail client, and send this email to ovdoc-ITSM@hp.com.
Help Topic ID:
Product:
Topic Title:
Feedback: