Skip to content

/AWS1/CL_M2=>LISTDATASETS()

About ListDataSets

Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.

Method Signature

IMPORTING

Required arguments:

IV_APPLICATIONID TYPE /AWS1/M2_IDENTIFIER /AWS1/M2_IDENTIFIER

The unique identifier of the application for which you want to list the associated data sets.

Optional arguments:

IV_NEXTTOKEN TYPE /AWS1/M2_NEXTTOKEN /AWS1/M2_NEXTTOKEN

A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.

IV_MAXRESULTS TYPE /AWS1/M2_MAXRESULTS /AWS1/M2_MAXRESULTS

The maximum number of objects to return.

IV_PREFIX TYPE /AWS1/M2_STRING200 /AWS1/M2_STRING200

The prefix of the data set name, which you can use to filter the list of data sets.

IV_NAMEFILTER TYPE /AWS1/M2_STRING200 /AWS1/M2_STRING200

Filter dataset name matching the specified pattern. Can use * and % as wild cards.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_M2_LISTDATASETSRSP /AWS1/CL_M2_LISTDATASETSRSP