Encrypting the Flat File

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
rkumar28
Participant
Posts: 43
Joined: Tue Mar 30, 2004 9:39 am

Encrypting the Flat File

Post 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
:(
ogmios
Participant
Posts: 659
Joined: Tue Mar 11, 2003 3:40 pm

Re: Encrypting the Flat File

Post by ogmios »

On UNIX look at "man crypt". You have to get the password to use from somewhere though.

Ogmios
rkumar28
Participant
Posts: 43
Joined: Tue Mar 30, 2004 9:39 am

Re: Encrypting the Flat File

Post 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
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post 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.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Willo
Participant
Posts: 10
Joined: Fri Jan 02, 2004 2:07 am

Post 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.
lclapp
Premium Member
Premium Member
Posts: 21
Joined: Wed May 19, 2004 2:43 pm

Post 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 :?:
Post Reply