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
harithay
Participant
Posts: 106
Joined: Tue Dec 14, 2004 10:51 pm

SHELL SCRIPT

Post by harithay »

how do we write shell scripts for creating, dropping tables and scheduling jobs.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You begin by posting the quesion in the appropriate Forum. Why would you expect the Editor to know this?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ketfos
Participant
Posts: 562
Joined: Mon May 03, 2004 8:58 pm
Location: san francisco
Contact:

Post by ketfos »

Hi,
Use dsjob command in a shell script and invoke this command with relevant parameters from a Cron job (in Unix) or OS prompt.
Create a file in editor with SQL commands for DDL and invoke them using SQLPLUS (For ORacle only) enviornment (either at SQL prompt or a shell script).


Ketfos
Post Reply