Attributes
Attributes provide field values in WUI views.
Attribute fields
You can use an attribute field to contain the attribute value of an object instance.- Create an empty view and add individually selected attributes later.
- Initialize the view with the key attributes. Later, you can add extra attributes and delete the ones that you do not need.
- Initialize the view with all available attributes and delete the attributes that you do not need later.
For some types of attribute, such as clock data, different display formats are available. When you add an attribute to a view, attributes with multiple display formats available appear multiple times in the list of available attributes. You can select the attribute in the appropriate display format.
Display formats for time fields
Clock data can be displayed in up to four different formats, depending on the data type.
Attributes with the data type SCLOCK12, which use the 12-byte CMF interval store clock, can be displayed in any of the time formats. For attributes with the data type SCLOCK (the 8-byte store clock), you can use only certain time formats.
In the time formats that include fractions of a second, t is tenths of seconds, h is hundredths of seconds, m is milliseconds, i is ten-thousandths of seconds, j is hundred-thousandths of seconds, and u is microseconds.
- HHHH:MM:SS.thmiju, which shows a 4-digit count for hours, and displays the time to 6 decimal places (down to one microsecond). This format is the default for the data type SCLOCK12. It is not available for SCLOCK. This format is the same as the format used in the CICS statistics reports.
- DDD.HH:MM:SS.thmiju, which shows a count for days, and displays the time to 6 decimal places (down to one microsecond). This format is available for the data type SCLOCK12. It is not available for SCLOCK.
- HH:MM:SS.thmi, which shows a 2-digit count for hours, and displays the time to 4 decimal places (down to one ten-thousandth of a second). This format is the default for the data type SCLOCK, and it is also available for SCLOCK12.
- HH:MM:SS, which shows a 2-digit count for hours and no decimal places. This format is available for both the data types SCLOCK and SCLOCK12.
Choose one of the longer time formats for larger time values, such as those for long-running tasks, or for time values where you need maximum precision.
For attributes with the data types SCLOCK12 and SCLOCK, you can also display a count. The count is taken from the last 4 bytes of the clock data. It gives the number of measurement periods during which the time recorded by the timer component of the clock was accumulated.