Page 1 of 1
Encrypting the Flat File
Posted: Wed Apr 28, 2004 10:49 am
by rkumar28
Hi,
I have generated a flat file using DataStage7.x on unix. Is there a way to encrypt this flat file either using DataStage or Unix. Actually I have to FTP an encrypted file.
I will really appreciate any help on this.
Thanks
Raj
Re: Encrypting the Flat File
Posted: Wed Apr 28, 2004 11:23 am
by ogmios
On UNIX look at "man crypt". You have to get the password to use from somewhere though.
Ogmios
Re: Encrypting the Flat File
Posted: Wed Apr 28, 2004 4:44 pm
by rkumar28
Is there a way to encrypt the file in .pgp and the format needs to be in ASCII.
ogmios wrote:On UNIX look at "man crypt". You have to get the password to use from somewhere though.
Ogmios
Posted: Wed Apr 28, 2004 5:22 pm
by ray.wurlod
With an after-stage or after-job subroutine, or in Job Control code, you can do anything for which you have a command line interface.
Posted: Thu Apr 29, 2004 3:00 am
by Willo
You'll need an old version of pgp not the new one as it doesn't have the command line. Create a bat file that pgp's the file and as Ray said call that it in an after stage job.
Posted: Wed May 19, 2004 3:48 pm
by lclapp
Another approach may be through the use of the Filter Command box on the ff stage. I have this to unzip(input) or zip(output) and I don't see why you couldn't use a command line encryption program. Mind you, I have not done seems possible