While you run the Regenerate TSQ Data job, you can manually set the attribute lengths. To set them correctly, you should be familiar with your data, including the maximum data value length for each attribute. If you set the lengths too short or too long, rerun the process until the lengths are correct.
Changes made to the attribute lengths are:
-
Saved to the associated DDX (schema) file and displayed as the default the next time you open the Regenerate TSQ Input Data window for the entity.
-
Saved to the repository.
-
Viewable as the defaults in the Schema Editor in any process/project that uses the dynamic entity as input.
To modify delimited dynamic entity attribute lengths
-
On the Discover bar, click the Entities tab. A list all real and dynamic entities opens.
- Double-click the dynamic entity with which you want to work. The Data Rows
(Dynamic) List View displays the data set the entity is pointing to in the data
source. Figure 2. Entity Data Rows List View
-
Note the maximum character length for each attribute value. For reference, leave this view open while you work.
-
On the Develop bar, go to the Projects tab. Right-click the dynamic input entity with which you want to work and select Regenerate TSQ data. The Regenerate TSQ Input Data window opens.
-
In the Data section, make any necessary changes. (See Regenerate TSQ Input Data.)
- In the bottom section, specify a character width for each attribute in the entity
(see figure
3). This sets the length of the attribute schema value. For example, if
you set all attribute widths to 6, up to 6 characters display for each attribute
value.
Do one of the following:
-
Enter a number in the Width column for each attribute.
-
Enter a number in the Set all field and click Set all. All fields in the Width column populate with the number.
Note: You must specify a width number (other than zero) for all attributes.Figure 3. Modifying Attribute Lengths
-
-
Click OK. The Schedule Job bar prompts you to run the job now or schedule for later.
-
Click Now to run the job.
-
After the job is complete, open another List View window by clicking Windows > New Window.
-
In the Navigation View, double-click the modified input entity. The Data Rows (Quality Process Flow Project) List View opens in the new window.
-
Click the window’s tab and drag the tab icon toward the bottom of the workspace.
-
When a bar displays across the middle of the workspace, drop the tab icon. Both List Views display horizontally (see figure 4).
-
Check that the attribute lengths for the modified entity display as expected. Compare the lengths to the original data in the entity’s Data Rows (Dynamic) List View. If any lengths are too short, repeat the procedure as needed.