|Revision as of 18:27, 7 March 2006
Wayne (Talk | contribs)
← Previous diff
|Revision as of 18:31, 11 April 2007
EcaCta (Talk | contribs)
Next diff →
|Line 39:||Line 39:|
|: is a string denoting the version of the object to be accessed||: is a string denoting the version of the object to be accessed|
|-||: condition option is an '&' separated condition which will be applied in choosing the object to be accessed. The separated condition is of the form "<Attr> <CompOp> <Value>", where <Attr> is an MCAT attribute found by Sattrs command, <CompOp> is a comparison operator and <Value> is a numeric or string value. The entire condition should be within a set of double quotes. Example: Scat -A "COPY = 0"||+||: condition option is an '|
|-||: condition option applies to the whole SRB system instead of relative to the current working collection. Example: Scat -c "GUID='123'" will write the objects that haa their Guid set to 123. See Sattrs for details of applicable conditions.||+|
|-||== SEE ALSO ==||+|
Revision as of 18:31, 11 April 2007
Scat - concatenate and display files read from SRB space
Scat [-X][-C n] [-T ticket] [-V versionString] [-A condition] srbObj ...
Scat [-aChlX] [-c condition]
Scat reads each srbObj from SRB space and writes it on the standard output. With -C option, one can read a particular copy of srbObj, if it exists. With -A option, only srbObj which conforms to the condition are chosen.
The second synopsis applies the condition and writes the resulting objects to standard out.
If using a ticket, one need not give a srbObj name if the ticket is issued for a particular dataset.
If any srbObj is replicated then only one of the copies is displayed.
The user should have at least 'read' permission for each SrbObj or a ticket (for user or 'ticketuser' id) to access the SrbObj.
The srbObj argument can be a path name in the SRB collection hierarchy.
- displays command options
- n is an integer denoting which COPY of the object to be accessed.
- to give a filename containing a ticket
- option for giving a ticket directly
- Query using the Master MCAT. The default uses the Slave MCAT (unless the "masterMcat" environment variable is set) if configured.
- is a string denoting the version of the object to be accessed
- condition option is an '