- Newest
- Most votes
- Most comments
I understand you're having trouble importing VSAM datasets for your carddemo application deployed on BluAge with AWS Mainframe Modernization (M2). It's unfortunate that the import task failed for most of the datasets. To get more detailed information about why the dataset import failed, you have a few options:
-
Check the AWS Mainframe Modernization console: Navigate to the Applications page, select your application, then go to the Data sets tab. Look for any error messages or status indicators for the failed imports.
-
Use the AWS CLI to get more details: You can try using the
describe-data-set-import-task
command instead ofget-data-set-import-task
. This might provide more detailed information about the failure reasons.aws m2 describe-data-set-import-task --task-id {task_id} --application-id {app_id}
-
Review your import configuration: Ensure that your JSON configuration file for the dataset import is correctly formatted and includes all necessary information for VSAM datasets. Make sure you've specified the correct
datasetOrg
,encoding
,format
,primaryKey
, andrecordLength
values for each VSAM dataset. -
Check S3 permissions: Verify that the M2 service has the necessary permissions to access the S3 bucket where your dataset files are stored.
-
Examine the data files: Ensure that the data files in your S3 bucket match the specifications in your import configuration, including file format and encoding.
-
Contact AWS Support: If you're still unable to determine the cause of the failures, consider reaching out to AWS Support for assistance. They may be able to provide more detailed logs or insights into the import process.
Remember that when importing VSAM datasets, you need to ensure that the data has been properly transferred from the mainframe to AWS in a format compatible with the BluAge runtime engine. If the data transfer or formatting was incorrect, it could lead to import failures.
If you're able to get more detailed error information, it would help in diagnosing and resolving the specific issues causing the import failures.
Sources
AWS Blu Age Blusam - AWS Mainframe Modernization
AWS Mainframe Modernization data set definition reference - AWS Mainframe Modernization
Import data sets for AWS Mainframe Modernization applications - AWS Mainframe Modernization
CreateDataSetImportTask - AWS Mainframe Modernization
DataSetImportTask - AWS Mainframe Modernization
Relevant content
- asked 7 months ago
- asked 10 months ago