To import data from Simple Storage Service (S3), you can use a cron task to import data
that is read by the S3 handler.
About this task
To import data, configure an endpoint that uses the S3 handler to read the data. Then, import the
data by using one of the following cron tasks:
- LOADXMLJSONOBJECT
- Loads XML and JSON files from cloud storage.
- LOADFLATOBJECT
- Loads flat files, such as CSV files, from cloud storage.
Procedure
-
Create three buckets in any S3 volume for the data that you want to load, one to store the
files that you import, one to recover the files, and a third bucket to store backups of the files
that you want to import.
Attention: In S3-based loading,
Maximo® Manage
supports two ways to setup S3 buckets:
- In the End Points application, create an endpoint that specifies the
S3 handler.
- In the Cron Task Setup application, create and activate the cron task instance to import
the files:
- Create a cron task instance for the cron task that you want to use to import files.
You can select one of the following cron tasks:
Table 1. Cron
tasks for loading S3 files
Cron task |
Description |
LOADXMLJSONOBJECT |
Loads XML and JSON files from cloud storage. |
LOADFLATOBJECT |
Loads flat files, such as CSV files, from cloud storage. |
When you configure the
ENDPOINTNAME parameter for the cron
task instance, ensure that you specify the end point that you created in step
2. The endpoint name must be in uppercase.
- Provide any other instance details and enter a schedule for running the cron task
instance.
- Activate the cron task.