APT_INSERTION_SORT

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
san_dwh
Participant
Posts: 17
Joined: Tue Dec 28, 2010 9:05 am
Location: hyd

APT_INSERTION_SORT

Post by san_dwh »

What is the exact purpose of APT_INSERTION_SORT
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

There is no environment variable of this name in DataStage.

Is this an interview question?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
XRAY
Participant
Posts: 33
Joined: Mon Apr 03, 2006 12:09 am

Post by XRAY »

Do you mean APT_NO_SORT_INSERTION ?
san_dwh
Participant
Posts: 17
Joined: Tue Dec 28, 2010 9:05 am
Location: hyd

Post by san_dwh »

To ray
yes
san_dwh
Participant
Posts: 17
Joined: Tue Dec 28, 2010 9:05 am
Location: hyd

Post by san_dwh »

@XRAY.

ya i think. I Don't about this. will you please explain something
XRAY
Participant
Posts: 33
Joined: Mon Apr 03, 2006 12:09 am

Post by XRAY »

Having set APT_NO_SORT_INSERTION = FALSE , datastage will insert sort to your job though you have not explicitly defined it in your job.

There is an earlier discussion on this topic

http://66.34.129.47/viewtopic.php?p=386 ... 365c03d1fd

"Join stage

By default, the Join stage sorts data on both input links. This sorting results in output data that is sorted on the join keys. If the InfoSphere DataStage project environment variable APT_NO_SORT_INSERTION is set, the sort is suppressed. Pushing a Join stage into a database source always generates an ORDER BY clause for the sort keys, as if APT_NO_SORT_INSERTION was not set. "
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

As was stated in that thread, the quoted documentation that was referenced by the OP was specifically for InfoSphere Balanced Optimization, an optional licensed add-on to Information Server. The context in which APT_NO_SORT_INSERTION is mentioned here can be misleading as to it's actual purpose.

san_dwh,

APT_NO_SORT_INSERTION, when set to 1, prevents the automatic insertion of sort operators into a parallel job at runtime. This is documented in the Parallel Job Advance Developer's Guide included with Information Server, as well as in the online Information Center documentation for Information Server found on the IBM website and in numerous threads here on DSXchange.com

Regards,
- james wiles


All generalizations are false, including this one - Mark Twain.
san_dwh
Participant
Posts: 17
Joined: Tue Dec 28, 2010 9:05 am
Location: hyd

Post by san_dwh »

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

Post by ray.wurlod »

In an interview I'd still go with "there's no environment variable of this name". It's good to see the PHB discomfited.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply