Basic code

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
Shree0410
Participant
Posts: 70
Joined: Tue Nov 29, 2005 7:25 pm

Basic code

Post by Shree0410 »

Hi guyz, I am new to DataStage, cross platformed from the legacy systems to the ETL.

I am using the 7x and all my jobs are server, I guess this is due to the fact that the client shop do not have more than 1 node.

Now, what is Basic code in DataStage and what is the need to this.
I heard some people telling me that we don't need Basic anymore due to the flexibility of the sequencers and stuff.

Please guide me further, thanks guys, this is a gr8 forum.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

Your Server job design is translated into DS BASIC and then compiled. All supporting Routines, Functions, Transforms, constraints, key expressions, and derivations are DS BASIC. You can't get away from it, you will use it.

The only question is whether you want to do more. If you wish to write some fancy Functions or Routines, go for it. If you don't like the Sequencer, use the same API's as the Sequencer and write your own job control.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
Shree0410
Participant
Posts: 70
Joined: Tue Nov 29, 2005 7:25 pm

Post by Shree0410 »

So, this is more of like a machine level language, that means, DS runs on the BASIC compiler?

also, from what I got from ue lines, the string manipulations, and all kinds of transformations we do in DS are indirectly BASIC code, right?

thanks for ur reply
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

No, not 'machine level language', more like pop or intermediate code. BASIC is interpreted by the various flavors of the runtime engine in place per O/S.

All such transformations, derivations, etc are directly BASIC code, compiled right in with everything generated by the other objects on the canvas. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Shree0410
Participant
Posts: 70
Joined: Tue Nov 29, 2005 7:25 pm

Post by Shree0410 »

thanks chulet.

so I have been using the basic code in my transformations without really knowing that it is BASIC.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Read all about it in on-line help (a good start point is the BASIC Tasks topic) or in the DataStage BASIC manual (basic.pdf).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Shree0410
Participant
Posts: 70
Joined: Tue Nov 29, 2005 7:25 pm

Post by Shree0410 »

Ray, can you please point me to the on-line help link.
Thanks a ton
kris007
Charter Member
Charter Member
Posts: 1102
Joined: Tue Jan 24, 2006 5:38 pm
Location: Riverside, RI

Post by kris007 »

Shree,
Online help doesnt really mean something "online" per se.
It is stored in your client pc, go to Start->Programs->Ascential Datastage-> Online Manuals.
There you have all kinds of manuals necessary to develope Datastage Server/Paralell jobs along with the DS-BASIC Manual.
Though I would suggest you go through the Server first if you are developing server jobs.
HTH
Kris

Where's the "Any" key?-Homer Simpson
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Bring up the online help from inside Designer (Help/Help Topics) switch to the Index tab, type 'BASIC Tasks' and press enter.
-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 »

I can see where Shree's confusion arose. I meant "online" as "immediately available". I grew up (and was educated) before the invention of the World Wide Web, even before ARPAnet. No terminals for us - it was all punched cards and batch runs, and spoolers and despoolers were real hardware that used paper tape! (Let's close the nostalgia kick right now!) I shall try to avoid "online" as a term in future posts.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Krazykoolrohit
Charter Member
Charter Member
Posts: 560
Joined: Wed Jul 13, 2005 5:36 am
Location: Ohio

Post by Krazykoolrohit »

Ray,

You are perfectly fine by using the term online. Even IBM uses this term in the folder path to install support documents:-)

Ascential DataStage --> Online Manuals -->DataStage Documentation
Post Reply