# Update the set of mainframe datasets and their attributes associated with a mainframe dataset ruleset in bulk Endpoint: PUT /mainframe-dataset-rulesets/{mainframeDatasetRulesetId}/bulk-mainframe-dataset-update Version: 5.1.47 Security: api_key ## Path parameters: - `mainframeDatasetRulesetId` (integer, required) The ID of the mainframe dataset ruleset to update the mainframe dataset for ## Request fields (application/json): - `mainframeDatasetMetadata` (array, required) Example: [{"fileName":"file.dat","rulesetId":1,"mainframeDatasetFormatId":2}] - `mainframeDatasetMetadata.fileName` (string, required) The name of the Mainframe Dataset metadata. This name must match the name of a file in the ruleset it is created on. This name must be unique for the given ruleset; in other words, the same file cannot be added to a ruleset more than once. Example: "file.dat" - `mainframeDatasetMetadata.rulesetId` (integer, required) The ID of the ruleset to create the Mainframe Dataset metadata on. Example: 1 - `mainframeDatasetMetadata.mainframeDatasetFormatId` (integer) The ID of the Mainframe Dataset format corresponding to this Mainframe Dataset metadata. It is used to determine the fields for this file. This field is required. Example: 2 - `mainframeDatasetMetadata.recordFormat` (string) The record format type for the mainframe data set. Note that this enum corresponds to the Variable Length checkbox in the UI. Enum: "FIXED_BLOCKED", "VARIABLE_BLOCKED" - `mainframeDatasetMetadata.nameIsRegularExpression` (boolean) Whether or not this file name represents a regular expression. ## Response 200 fields (application/json): - `asyncTaskId` (integer) The ID of the AsyncTask. This field will be generated by the Masking Engine. Example: 1 - `operation` (string) The type of operation that the AsyncTask is performing. Enum: "ADD_MAPPINGS", "ALGORITHM_CREATE", "ALGORITHM_MIGRATE", "ALGORITHM_UPDATE", "DATAFILE_BULK_UPDATE", "ENCRYPTION_KEY_CREATE", "EXPORT", "EXPORT_CLASSIFIER_FILES", "EXPORT_MAPPINGS", "EXPORT_PROFILE_SET", "EXPORT_SL_VALUES", "GENERATE_EXECUTION_INVENTORY", "IMPORT", "RULESET_REFRESH", "TABLE_BULK_UPDATE", "MAINFRAME_DATASET_BULK_UPDATE", "SUPPORT_BUNDLE_GENERATE" - `reference` (string) The reference for the AsyncTask. An example of a reference is the ruleset ID for a RULESET_REFRESH operation. Example: 13 - `status` (string) The status of the AsyncTask in regard to its completion. Enum: "CANCELLED", "FAILED", "RUNNING", "SUCCEEDED", "WAITING" - `startTime` (string) The date and time that this AsyncTask was started. - `endTime` (string) The date and time that this AsyncTask completed. - `cancellable` (boolean) True if the AsyncTask can be cancelled, false otherwise. - `exceptionDetail` (string) The details associated with the Java exception that caused this async task to fail, if applicable. ## Response 400 fields ## Response 403 fields ## Response 404 fields