Shell Script

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
sri27
Participant
Posts: 5
Joined: Thu Apr 07, 2005 1:08 pm
Location: MD

Shell Script

Post by sri27 »

Hi,
Iam new to DS.I need help on writing a shell script to connect to db2 and perform sql operations on it.I want to include this shell script under ExecSH.I know this is not unix forum but please help me if anyone has done this before.
Thanks,
Sri
ranga1970
Participant
Posts: 141
Joined: Thu Nov 04, 2004 3:29 pm
Location: Hyderabad

Post by ranga1970 »

write proceadure or function; call this proceadure or function in shell scripts and call the shell script in before job execution

thanks
RRCHINTALA
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post by Sainath.Srinivasan »

Can you be more specific on what you need. There are several ways to access and obtain results from db2.

You may accomplish SQL tasks directly by DataStage db2 plugin.
Post Reply