BASIC command execution

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
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

BASIC command execution

Post by DSguru2B »

hi guys,

Is there any feature in DS to execute basic commands in seperate window in order to test the built-in functions.

or

Do we have to always design a job for this..?


for eg.,

Trim (" develop ") --->develop

Thanks
appreciate your time
Amos.Rosmarin
Premium Member
Premium Member
Posts: 385
Joined: Tue Oct 07, 2003 4:55 am

Post by Amos.Rosmarin »

Hi,

I think the best way is to create a routine for those kind of tests, the routine as the test option which is very helpfull.

so following you example, if you want to see how trim works, write a routine that looks like this:

Code: Select all

Ans = Trim (" develop ") 
print "original length=" : len(" develop ") 
print "length after trim=" : len(Ans)

Return(Ans)
HTH,
Amos
Post Reply