Table of Contents

Search

  1. Preface
  2. Introduction to PowerExchange Bulk Data Movement
  3. PowerExchange Listener
  4. Adabas Bulk Data Movement
  5. Datacom Bulk Data Movement
  6. DB2 for i5/OS Bulk Data Movement
  7. DB2 for Linux, UNIX, and Windows Bulk Data Movement
  8. DB2 for z/OS Bulk Data Movement
  9. IDMS Bulk Data Movement
  10. IMS Bulk Data Movement
  11. Microsoft SQL Server Bulk Data Movement
  12. Oracle Bulk Data Movement
  13. Sequential File Bulk Data Movement
  14. VSAM Bulk Data Movement
  15. Writing Data with Fault Tolerance
  16. Monitoring and Tuning Options

Bulk Data Movement Guide

Bulk Data Movement Guide

Example: File Not Allowed to Persist Unencrypted on Disk

Example: File Not Allowed to Persist Unencrypted on Disk

You receive an encrypted file from an external source. The security policy prevents the file from being persisted on disk in decrypted, readable format.
A solution that calls a user access method program includes the following elements:
  • A data map with access method type USER specifies the file name, a decryption command such as "gpg -d %FILENAME%", and the file type of text or binary.
  • The pipe is created using API popen(), which executes the gpd command to decrypt the file and write the output to stdout.
  • The decrypted records in the pipe are read by using the APIs fgets() for a text file or fread() for a binary file.
  • The pipe is closed at the end of the run.

0 COMMENTS

We’d like to hear from you!