3.2.2 - Get Version Control
Action Option -GV (-GetVersion) :
retrieves DOI/Version control records from GDEXDB for a given dataset.
Available mode option:
formats each column to a uniform fixed width |
Use -FN (-FieldNames) to specify which version control fields to retrieve. Defaults to ‘VIEDSJX’. Use -FN ALL to retrieve all available fields.
Valid version control field names and their corresponding Info options:
Names |
Descriptions |
|
|---|---|---|
V |
version control index |
|
I |
Internal version number |
|
E |
External version number to publish |
|
D |
DOI number created for the version control |
|
S |
version control status, A-Active, P-Pending and H-History |
|
J |
date the version control starts at |
|
K |
time the version control starts at |
|
X |
date the terminated version control ends by |
|
Y |
time the terminated version control ends by |
|
N |
note for the version control record |
Use -OF (-OutputFile) to save the retrieved information to a file. Without it, results are displayed on screen.
EXAMPLE 4. To retrieve all version control fields for d132000 and save to a file:
Content of output file d132000.vrsn:
Dataset<=>d132000
VersionIndex<:>InternalVersion<:>ExternalVersion<:>DOINumber<:>VersionStatus<:>BeginDate<:>BeginTime<:>EndDate<:>EndTime<:>Description<:>
9<:>1<:><:>10.5065/D6SQ8XDW<:>A<:>2013-03-04<:>14:38:44<:><:><:><:>