How to encrypt a file in datastage?
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 32
- Joined: Tue Mar 09, 2010 5:56 am
- Location: Bangalore
How to encrypt a file in datastage?
The files that we are generating in datastage, is it possible to encrypt them before sending it to downstream.Actually we are generating some .txt file windows environment.Now the users wants those files as encrypted to maintain tha data level security.
Thanks & Regards,
Partha
Partha
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Encode stage appears to be limited to "data sets" but I haven't used it in production. I think they mean virtual data sets. The documentation is lacking a good example.
I ran a test with the Encode stage on a txt file and the test job ran OK. It requires a UNIX command that accepts input from standard input and writes results to standard output.
Check with your security department to find out which encryption programs are acceptable there. You could also use before and/or after job subroutines to shell out to the OS and call the encryption/decryption program that's external to DataStage.
For transmitting files over an encrypted communication channel, you can configure the FTP Enterprise stage to use FTPS. I have done that in a production environment from a Unix server after configuring security certificates.
I ran a test with the Encode stage on a txt file and the test job ran OK. It requires a UNIX command that accepts input from standard input and writes results to standard output.
Check with your security department to find out which encryption programs are acceptable there. You could also use before and/or after job subroutines to shell out to the OS and call the encryption/decryption program that's external to DataStage.
For transmitting files over an encrypted communication channel, you can configure the FTP Enterprise stage to use FTPS. I have done that in a production environment from a Unix server after configuring security certificates.
Choose a job you love, and you will never have to work a day in your life. - Confucius