Skip to main content

data_set_details

Creates, updates, deletes, gets or lists a data_set_details resource.

Overview

Namedata_set_details
TypeResource
Idaws.m2.data_set_details

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
blocksizeintegerThe size of the block on disk.
creation_timestring (date-time)The timestamp when the data set was created.
data_set_namestringThe name of the data set. (pattern: <code>^\S{1,200}$</code>)
data_set_orgobjectThe type of data set. The only supported value is VSAM.
file_sizeinteger (int64)File size of the dataset.
last_referenced_timestring (date-time)The last time the data set was referenced.
last_updated_timestring (date-time)The last time the data set was updated.
locationstringThe location where the data set is stored. (pattern: <code>^\S{1,2000}$</code>)
record_lengthintegerThe length of records in the data set.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_data_set_detailsselectapplication_id, data_set_name, regionGets the details of a specific data set.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
application_idstringThe unique identifier of the application that this data set is associated with.
data_set_namestringThe name of the data set.
regionstringAWS region (default: us-east-1)

SELECT examples

Gets the details of a specific data set.

SELECT
blocksize,
creation_time,
data_set_name,
data_set_org,
file_size,
last_referenced_time,
last_updated_time,
location,
record_length
FROM aws.m2.data_set_details
WHERE application_id = '{{ application_id }}' -- required
AND data_set_name = '{{ data_set_name }}' -- required
AND region = '{{ region }}' -- required
;