regarding subroutine in parallel jobs

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
arun_kumar
Participant
Posts: 58
Joined: Thu Feb 15, 2007 3:42 pm

regarding subroutine in parallel jobs

Post by arun_kumar »

Hi all ,

can any one help me to write a sub routine in paralle jobs.Procedure to write that in parallel jobs.

Thanx in advance.
Arunkumar..
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Before/after subroutines in parallel jobs are exactly the same as in server jobs. They are written in DataStage BASIC.

Enrolling in a Programming with DataStage BASIC class might be beneficial.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
arun_kumar
Participant
Posts: 58
Joined: Thu Feb 15, 2007 3:42 pm

Post by arun_kumar »

ray.wurlod wrote:Before/after subroutines in parallel jobs are exactly the same as in server jobs. They are written in DataStage BASIC.

Enrolling in a [url=http://home.iprimus.com.au/raywurlod/se ... SBASIC.htm ...


Hi ray,

I know Basic languge.But writing subroutine in server jobs is completely diffr from parallel.Can you educate me on writing sunroutins in datastage.

In serverjobs we have tab name code.But in parallel jobs it is completely differ So please educate me regarding this issue.

Thanx in advance....
Arunkumar..
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

[quote="arun_kumar]...But writing subroutine in server jobs is completely diffr from parallel...[/quote]
It is different, Server jobs require DS/Basic knowledge, PX jobs require C or C++ knowledge.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Subroutines are EXACTLY THE SAME and are written in DataStage BASIC whether for parallel or server jobs.

Are you asking about functions?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Ray - that is what I first wrote, but then realized that the routines are the same ONLY for before/after job subroutines, and that wasn't what the poster was asking.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Precision of thought, execution and language are vital in this game.

Routine I could have accepted. Routine can be transform function or before/after subroutine.

The only subroutine is before/after, and it's written in DataStage BASIC.
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 »

You really should have seen that one coming, Arnd. :wink:
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply