3.3.2 - Get Group Information
Action Option -GG (-GetGroup) :
retrieves group records for the specified dataset. Filter results by providing group indices, names, or a parent index.
Available mode options:
formats each column to a uniform fixed width |
|
gathers subgroups recursively for a given group index |
|
gathers and displays file counts for groups |
Use -FN (-FieldNames) to specify which group fields to retrieve. Defaults to ‘IGXTQSW’. Use -FN ALL for all available fields.
Valid group field names and their corresponding Info options:
Names |
Descriptions |
|
|---|---|---|
I |
group indices |
|
G |
group names, IDs |
|
X |
parent group indices |
|
T |
group titles |
|
R |
group types |
|
P |
common file name patterns for each group |
|
Q |
Quasar Backup flags |
|
A |
top group data file list access flags |
|
S |
path relative to saved home directory for groups |
|
W |
path relative to web home directory for groups |
|
M |
a link to content meta at the group level |
|
D |
group description of data on GDEX Server |
|
N |
group description of internal HPSS data |
Results can be filtered by group index (-GI), name (-GN), or parent index (-PI). The -GN option accepts the ‘%’ wildcard.
EXAMPLE 7. To retrieve the default group fields and file counts for groups 1 and 2 of d260001:
Content of the output:
Dataset<=>d260001
GroupIndex<:>GroupName<:>ParentIndex<:>Title<:>GroupPattern<:>BackupFlag<:>SavedPath<:>WebPath<:>
1<:>DAILY<:>0<:>DAILY OAFlux Products<:><:>P<:><:>daily<:>
2<:>MONTHLY<:>0<:>MONTHLY OAFlux Products<:><:>P<:><:>monthly<:>
2 group records retrieved
d260001-G1: DS-11094192261 DC-327 WC-327 SS-8909173908 SC-51
d260001-G2: DS-552780725 DC-522 WC-522 SS-465789806 SC-51