Want to rename Datastage job using 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
jayanthkaliappan
Participant
Posts: 4
Joined: Thu Feb 28, 2008 4:35 am
Location: top

Want to rename Datastage job using script

Post by jayanthkaliappan »

1. I want to rename the job by using scripts.
2. I need to know where the jobnames stored in the server as a file format or any other.Is that easy to rename the job.
3. Please advise me.
HI
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

There's no official API that would allow you to rename anything outside of the GUI.
-craig

"You can never have too many knives" -- Logan Nine Fingers
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

There is no supported method to rename jobs in DataStage from the command line. At V7 the job name is stored in a hashed file called DS_JOBS as well as in hashed file DS_JOBOBJECTS. Both need to be changed. Making a mistake on either file might destroy the project and require a restore.
Post Reply