Page 1 of 1

Pad char in Sequantial File stage. Where is it?

Posted: Wed Jul 26, 2006 1:07 pm
by splayer
In the Advanced Developer's Guide, in "Using Sequential File Stages", it talks about the "Pad char" property in the Edit Column Meta Data box. I have DS 7.5. When I open the Edit Column Meta Data box, I don't see this property. Is it because of the version issue?

Re: Pad char in Sequantial File stage. Where is it?

Posted: Wed Jul 26, 2006 2:04 pm
by rwierdsm
SPlayer,

I'm running 7.5x2, and this is how I can get at the pad character property

- Go to the Columns tab of the properties of the sequential file stage
- double click on the row number column (the grey column with a number)
- highlight the Integer type or String type branch in the Properties box
- Pad Char is one fo the available properties

Rob

Posted: Wed Jul 26, 2006 3:18 pm
by splayer
Thanks rwierdsm. My DS version says just 7.5 but I'll try. Appreciate your help.

Posted: Wed Jul 26, 2006 4:34 pm
by ray.wurlod
Instead of double click on the row number in the Columns grid you can also right click on the row, and choose Edit Row from the pop-up menu to get to the dialog.

You can also triple-click (!) on the row using the left mouse button, but you have to get the timing of a triple-click just right.

Posted: Wed Jul 26, 2006 5:04 pm
by splayer
ray, Edit Row does not work. It brings up the Edit Column Meta Data dialog box but I don't see the Pad char property. This might be because I am on Windows 2003, DS 7.5.

Posted: Wed Jul 26, 2006 5:22 pm
by ray.wurlod
Click on the Server tab in the Edit Column Meta Data dialog, and fill in the Padding character there.

Posted: Wed Jul 26, 2006 9:54 pm
by alphac
If you want to apply to whole project, you may set environment variable APT_STRING_PADCHAR. Thats quite convenient in Parallel engine.