SCHED: GetResourceInfoOpts
Format
SCHED / GetResourceInfoOpts '<ResourceName>' '<FileName>' OptionList
Description
The SCHED GetResourceInfoOpts command returns some of the attributes of the resource specified by the <ResourceName> parameter in a report. Its function is mostly identical to the SCHED GetResourceInfo command, except that the only data in the report is what is specifically requested in the "OptionList".
Parameters
- ResourceName: The parameter is a string of text in single quotes of a comma delimited list of resource names. Resource names should not be in quotes. Supports the use of wildcards.
- FileName: The parameter is a string of text in single quotes of the absolute path of the filename. Empty string is allowed if it is not written out to a file.
- OptionList: One or more strings specifying what fields should be in the report. There are many available, matching the names of the entries in the Resource Report page. If no strings are given, the full report is generated. Note that the options should not be enclosed by quotes.
Examples
Finds the values of the "name" and "priority" attributes of the SSR resource in the active schedule and
save the file "out.txt" located at "C:\Outputs\"
SCHED / GetResourceInfoOpts 'SSR' 'C:\Outputs\out.txt' RR_RESOURCE_NAME RR_PRIORITY
Syntax | Example |
---|---|
<CommandName> | SCHED / GetResourceInfoOpts |
<ResourceName> | 'SSR' |
<FileName> | 'C:\Outputs\out.txt' |
<OptionList> | RR_RESOURCE_NAME RR_PRIORITY |
Return Message
Connect returns a message that contains the specified resource's name and priority. The lines containing this data matches the format specified on the Resource Report page, though lines whose labels are not present in the "OptionList" are omitted.
Group Membership
This command belongs to the following group(s):
Version
11.6