Scenario:
- Source System: Mainframe
- Target System: UNIX server
- Use Case: Transfer a file from the mainframe to the UNIX system after data processing in Ab Initio.
Steps in Ab Initio Graph with NDM Integration
1. Ab Initio Graph Design:
- Components Used:
- Input File Component: Reads the file to process.
- Transform Component: Applies necessary transformations.
- Output File Component: Writes the processed data to a local file.
- Run Program Component: Executes the NDM script to transfer the file.
2. Example Graph Flow:
3. Sample NDM Script:
This script is stored as a .ndm file and is executed via the Run Program Component.
NDM Script Example:
4. Run Program Component in Ab Initio:
This component is used to trigger the NDM script.
Run Program Configuration:
- Command: Call the NDM script using the shell.
- Parameters:
- Path to the NDM script (
/scripts/ndm_transfer.ndm). - Additional arguments if needed.
- Path to the NDM script (
5. Error Handling in the Graph:
- Use Conditional Components or check NDM logs to validate the transfer.
- Example: Monitor the output log from the NDM process to confirm success or trigger alerts on failure.
Sample Workflow Execution:
- Input File: The source file is read from the mainframe.
- Processing: The data is transformed in Ab Initio.
- Output File: Processed data is written to a local directory on the ETL server.
- NDM Transfer:
- The
Run Program Componenttriggers the NDM script. - The file is securely transferred to the target system (UNIX server).
- The
- Post-Transfer: Logs are checked to verify successful completion.
Benefits of This Integration:
- Automation: File transfer is seamlessly part of the ETL process.
- Error Recovery: NDM supports checkpoint/restart for interrupted transfers.
- Scalability: Suitable for large file transfers and cross-platform integration.
- Security: Uses encrypted protocols for secure file movement.
No comments:
Post a Comment