A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.
Moderators: chulett , rschirm , roy
A_SUSHMA
Participant
Posts: 43 Joined: Fri Apr 12, 2013 10:34 am
Post
by A_SUSHMA » Mon Mar 31, 2014 12:29 am
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 » Mon Mar 31, 2014 9:06 am
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.
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Mon Mar 31, 2014 9:32 am
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
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Tue Apr 01, 2014 10:28 am
-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 » Tue Apr 01, 2014 11:27 pm
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 » Tue Apr 01, 2014 11:30 pm
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 » Tue Apr 01, 2014 11:30 pm
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
Posts: 5227 Joined: Thu May 29, 2003 9:47 am
Location: Dallas, TX
Contact:
Post
by kduke » Wed Apr 02, 2014 6:18 pm
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 » Thu Apr 03, 2014 6:10 am
Hi,
I tried to search for pxReplace. But, I didn't find exact link. If possible can you share the link...
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Thu Apr 03, 2014 7:26 am
pxEReplace
-craig
"You can never have too many knives" -- Logan Nine Fingers
priyadarshikunal
Premium Member
Posts: 1735 Joined: Thu Mar 01, 2007 5:44 am
Location: Troy, MI
Post
by priyadarshikunal » Thu Apr 03, 2014 7:35 am
pxEReplace, was originally written by DSGuru2B if that eases your search.
Priyadarshi Kunal
Genius may have its limitations, but stupidity is not thus handicapped.
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Thu Apr 03, 2014 7:55 am
Actually, people posting the correct name of the routine is the greatest search easer.
-craig
"You can never have too many knives" -- Logan Nine Fingers