set LONGNAMES ON

Archive of postings to DataStageUsers@Oliver.com. This forum intended only as a reference and cannot be posted to.

Moderators: chulett, rschirm

Locked
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post by admin »

LONGNAMES is a command within the UniVerse environment.

Therefore it is not set in the same way as an environment variable, as your subject line is suggesting. You can set it at any UniVerse command prompt, including the one in the Administrator client. Yes, you do need to set it in each project, but only once (though you should check after an upgrade to the DataStage server).

LONGNAMES ON affects the names that are used in the operating system when a
hashed file (all UniVerse tables are hashed files) is created. If
LONGNAMES OFF is in effect, the "real" name is used in the UniVerse environment, but a shortened name (the first nine characters plus a three digit sequencer for the data portion) is used for the corresponding operating system object.

This is NOT the same as Type 1 versus Type 19, the topic of a recent thread.

Type 1 and Type 19 are directories (not hashed files). In Type 1, for backwards UNIX compatibility, names are limited to 14 characters. Names longer than 14 characters are chopped into 14 character pieces, each except the last becoming a subdirectory. In order to limit this structure to three levels, UniVerse limits "keys" in Type 1 files to 41 characters.

A Type 1 directory can be recognized by the existence of the .Type1 file in the directory. If the directory is empty, or has no subdirectories, it is sufficient to remove the .Type1 file to turn it into a Type 19. (A Type 19 is a "standard" directory, with no UniVerse-imposed limits on "key" size.) If there are subdirectories, a Type 1 can be converted into a Type 19 using the RESIZE command, for example RESIZE RT_BP4 19, from any UniVerse prompt.
admin
Posts: 8720
Joined: Sun Jan 12, 2003 11:26 pm

Post by admin »

Nothing already in existence will be changed when you switch LONGNAMES ON

-----Original Message-----
From: Desilets, Jean-Guy [mailto:Jean-Guy.Desilets@microcell.ca]
Sent: Wednesday, 11 July 2001 21:48
To: datastage-users@oliver.com
Subject: RE: set LONGNAMES ON


Thanks Ray, but one last questions what will be the impact for the file already create when I will switch LONGNAMES to ON
Locked