Custom Build & Wrapper stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
nvalia
Premium Member
Premium Member
Posts: 180
Joined: Thu May 26, 2005 6:44 am

Custom Build & Wrapper stage

Post by nvalia »

Hi,

I need to come up with a couple of Build stages for certain complex functionality in PX. Is there any help on the language & functions that can be used for building this stage? e.g APT_DATE::daysInYear(<year>)
Also what is the basic difference between Custom, Build & Wrapper stages?

Regards,
NV
thompsonp
Premium Member
Premium Member
Posts: 205
Joined: Tue Mar 01, 2005 8:41 am

Post by thompsonp »

For the difference between the three take a look at the Parallel Job Advanced Developers Guide, Section 'Specifying Your Own Parallel Stages' on page 5-1

As far as help with the language goes I don't think the classes are documented anywhere except in their own header files.

There is of course plenty of information about C++ in general on the web.
nvalia
Premium Member
Premium Member
Posts: 180
Joined: Thu May 26, 2005 6:44 am

Post by nvalia »

Hi thompsonp,

Thanks for ur prompt response.The advanced guide does list all the header file names.
Where on the DS server (path) can I find these Header files to be able to have a look at them, if I can!

Regards,
Nirav
bcarlson
Premium Member
Premium Member
Posts: 772
Joined: Fri Oct 01, 2004 3:06 pm
Location: Minnesota

Post by bcarlson »

On Unix, your user profile should include a variable called APT_ORCHHOME that is the base directory where the PXEngine resides. You should be able to find your header files in :

$APT_ORCHHOME/include/apt_util

For example, on our system it is something like this:

APT_ORCHHOME = /apps/Ascential/DataStage/PXEngine/

and the include files are in:

Code: Select all

[bradsid@myserver 14568]: cd $APT_ORCHHOME
[bradsid@myserver 14569]: ls include/apt_util
archive.h             custreport.h          field_traversal.h     iostream_s.h          msg_exception.h       status.h
argvcheck.h           date.h                fileset.h             isdynamic.h           null.h                string.h
assert.h              decimal.h             fmtable.h             keygroup.h            parse_err.h           strstream_s.h
bad_alloc.h           endian.h              fstream_s.h           keylookup.h           persist.h             time.h
basicstring.h         env_flag.h            hash.h                locale.h              proplist.h            unicode_utils.h
bool.h                errind.h              hostfilename.h        locator.h             random.h              ustring.h
cdebug.h              errlog.h              identifier.h          logmsg.h              random64.h            varargs-array.h
condition.h           errorconfig.h         int53.h               lookupops.h           resbund.h
converter.h           exception.h           ints.h                lookuptable.h         rtti.h
converter_registry.h  fast_alloc.h          iosfwd_s.h            message.h             sstring.h

[bradsid@myserver 14570]:
Hope this helps,

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

Post by ray.wurlod »

Wow, 14570 items in your command history! Don't you ever log out?!!
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
devnull
Premium Member
Premium Member
Posts: 37
Joined: Wed Mar 29, 2006 11:17 am
Location: Minneapolis, MN USA

Post by devnull »

ray.wurlod wrote:Wow, 14570 items in your command history! Don't you ever log out?!!
14560 of those items are typing the "ps" command. ;)
Michael Mabin
Minneapolis, MN USA
d3vvnull@com.gmail
(Reverse com and gmail to send email)
Post Reply