droach
ADSM.ORG Senior Member
When doing SELECT statements from DSMADMC I usually truncate the fields if the results won't display in tabular format. Take FILESPACE_NAME for instance. Because of the length of this field, anytime you have that in a SELECT statement you won't get tabular format unless you truncate it.
So I use either CHAR or SUBST in the SELECT statement to truncate...something like this:
select substr(Filespace_name,1,20) as "12345678901234567890" , filespace_ID from filespaces
It puts out this as a result:
So my question is how can I prevent DSMADMC from adding all this additional width to the Filespace_Name column? I have truncated the field to 20 characters and have my column heading is also at 20 characters. In this case DSMADMC has added 21 additional characters to the column heading width, but my filespace name is still truncated at 20. Anyone know how to prevent this?
So I use either CHAR or SUBST in the SELECT statement to truncate...something like this:
select substr(Filespace_name,1,20) as "12345678901234567890" , filespace_ID from filespaces
It puts out this as a result:
So my question is how can I prevent DSMADMC from adding all this additional width to the Filespace_Name column? I have truncated the field to 20 characters and have my column heading is also at 20 characters. In this case DSMADMC has added 21 additional characters to the column heading width, but my filespace name is still truncated at 20. Anyone know how to prevent this?