Naming a Job

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
davidnemirovsky
Participant
Posts: 85
Joined: Fri Jun 04, 2004 2:30 am
Location: Melbourne, Australia
Contact:

Post by davidnemirovsky »

Finally the abililty to use underscores! Hallelujah!

Does this apply to link names? Hashed files? etc.

It makes for my easier reading of names, that's for sure.
Cheers,
Dave Nemirovsky
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

Post by rasi »

Add this to your list....

Job Names must be unique within the project.

Job Names are Case Sensitive.

Datastage Does allows to put special characters in the job name(Alt+ 255 for space, Alt +254 for | symbol)

Note :

In Version 7.0.1 the max length you can give to a job is 260 Characters.

Thanks
Siva
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

Post by rasi »

The link Name has the same standard of the Job Names but you can have more number of characters compared to jobnames.

Hash file Names is limit to the operating system limitation.

Thanks
Siva
davidnemirovsky
Participant
Posts: 85
Joined: Fri Jun 04, 2004 2:30 am
Location: Melbourne, Australia
Contact:

Post by davidnemirovsky »

Thanks Siva. That was a good idea. Now my job names are far more readable. This also works for link names!

Too bad the Alt+255 character doesn't work for routine names too.
Cheers,
Dave Nemirovsky
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Job, link and stage names can have underscores in version 7.1r1 (Engine release 7.0.1.1r4). :D

They must, however, begin with an alphabetic character.

There are no limits on the name of a hashed file other than what the operating system imposes. Even a single underscore is legal as a hashed file name (don't do it!):

Code: Select all

CREATE.FILE _ 30
Creating file "_" as Type 30.
Creating file "D__" as Type 3, Modulo 1, Separation 2.
Added "@ID", the default record for Retrieve, to "D__".
Can't check any earlier releases right now
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rasi
Participant
Posts: 464
Joined: Fri Oct 25, 2002 1:33 am
Location: Australia, Sydney

Post by rasi »

David

It is not a good practise to had Alt 255 and other special characters in routines names and jobs names. Use the combination of underscores, Tile Cases to make it more readable.


Thanks
Siva
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

One recent colleague coined the term "camel case" because of the humps.
I liked it. :lol:

Example svDromeDary
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Recently coined? Sorry, Camel Case goes back quite aways. Recently mentioned, perhaps. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

True, I had my DataStage context hat on.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply