How to create DataStage Routines?

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
A_SUSHMA
Participant
Posts: 43
Joined: Fri Apr 12, 2013 10:34 am

How to create DataStage Routines?

Post by A_SUSHMA »

Hi All,

How do I create Routines in DataStage? Previously I haven't created any DataStage routines..

Could you please guide me ?
asorrell
Posts: 1707
Joined: Fri Apr 04, 2003 2:00 pm
Location: Colleyville, Texas

Post by asorrell »

This is a very broad topic. Are you a C programmer already? What are you trying to accomplish?
Last edited by asorrell on Mon Mar 31, 2014 9:43 am, edited 1 time in total.
Andy Sorrell
Certified DataStage Consultant
IBM Analytics Champion 2009 - 2020
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

C++ routines for use in a PX job? BASIC routines for use in a Sequence or Server job or as a Before/After job subroutine or in Job Control? As noted, you might want to narrow this down a bit...
-craig

"You can never have too many knives" -- Logan Nine Fingers
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

-craig

"You can never have too many knives" -- Logan Nine Fingers
A_SUSHMA
Participant
Posts: 43
Joined: Fri Apr 12, 2013 10:34 am

Post by A_SUSHMA »

Thank you Chulett...

Can I get sample routines in any site?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Here is probably as good as any. A search for "parallel routine" will throw up a few, but you'll have to filter for those that actually contain code.

You might try a search for "pxReplace" but that code's perhaps a little too detailed for a beginner.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

You get to create routines on the Advanced DataStage training class from IBM (now offered through its training providers).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kduke
Charter Member
Charter Member
Posts: 5227
Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:

Post by kduke »

Do a search for pxReplace. Lots of tips on how to do this. Plust the code is posted so you can test it. BASIC routines are in the SDK. Look at those and see if you can figure them out.
Mamu Kim
A_SUSHMA
Participant
Posts: 43
Joined: Fri Apr 12, 2013 10:34 am

Post by A_SUSHMA »

Hi,
I tried to search for pxReplace. But, I didn't find exact link. If possible can you share the link...
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

pxEReplace
-craig

"You can never have too many knives" -- Logan Nine Fingers
priyadarshikunal
Premium Member
Premium Member
Posts: 1735
Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI

Post by priyadarshikunal »

pxEReplace, was originally written by DSGuru2B if that eases your search.
Priyadarshi Kunal

Genius may have its limitations, but stupidity is not thus handicapped. :wink:
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

Actually, people posting the correct name of the routine is the greatest search easer. :wink:
-craig

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