PadChar

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
dspxguy
Participant
Posts: 156
Joined: Thu May 24, 2007 4:09 pm
Location: Simi Valley, CA

PadChar

Post by dspxguy »

What impact has the APT_STRING_PADCHAR environmental variable in datastage jobs?

Do we have to add it or is it present by default when creating a project?

Thanks
DSguru2B
Charter Member
Charter Member
Posts: 6854
Joined: Wed Feb 09, 2005 3:44 pm
Location: Houston, TX

Post by DSguru2B »

Whatever value you set in the admin will be used as a default. If you want to overide the default value, then you need to import this env. variable in your job and set the override value.
Creativity is allowing yourself to make mistakes. Art is knowing which ones to keep.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

It specifies the character used to pad strings, particularly Char(N) data types. Its default value is 0x00. You can change this default in the Administrator. To override the default in a particular job, add the environment variable as a job parameter - use $PROJDEF as the default value for the job parameter, and override as necessary when submitting a job run request.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dspxguy
Participant
Posts: 156
Joined: Thu May 24, 2007 4:09 pm
Location: Simi Valley, CA

Post by dspxguy »

ray.wurlod wrote:It specifies the character used to pad strings, particularly Char(N) data types. Its default value is 0x00. You can change this default in the Administrator. To override the default in a particular ...

Thanks guys
Post Reply