What is purpose of $APT_RECORD_COUNT and $OSH_PRINT_SCHEMAS?

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
ratuldey
Participant
Posts: 33
Joined: Fri Jul 13, 2007 4:50 pm

What is purpose of $APT_RECORD_COUNT and $OSH_PRINT_SCHEMAS?

Post by ratuldey »

DataStage Edn. 7.5x2
OS : Windows 2003 Server

Hi,
Could anyone please elaborate what is the purpose off setting custom values to the 2 environmental variables-
$APT_RECORD_COUNT
$OSH_PRINT_SCHEMAS

And how does these affect the Job Log in the DataStage Director?

Regards,
Ratul.
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

I know those two are documented in the Programmer's or Advanced Programmer's guide! The APT_RECORD_COUNT variable will, when set, make the actual record counts for all nodes and stages get written to the log file. I've found this quite useful for debugging. The OSH_PRINT_SCHEMAS does the same thing for all schemas used.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Each causes additional entries to be logged. APT_RECORD_COUNT causes each player process to log an entry showing the number of records it processed. It does this as part of its shutdown processing.

OSH_PRINT_SCHEMAS causes each player process to log an entry showing the actual record schema it used. This can be useful to diagnose the impact of using runtime column propagation.
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