Define User Defined Field In FDT

Document ID : KB000019325
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

How can we set up a user defined field in CA Top Secret for an email address?

Solution:

You can use the following command to define the FDT field to TSS:


TSS ADD(FDT) FDTNAME(name) FDTCODE(nn) MAXLEN(yyy)                         
     DISPLAY(display-name) SEGMENT(segment-name) ATTR(attr)               
                                                                          
where 'name' is the name you want for the field.                           
     'nn' is an FDT code (x'01' - x'FF') that is not currently in use     
     'yyy' is the length of the field (in bytes)                          
     'display-name' is the name of the field that will display in the     
         list output. (1-11 characters. Use single quotes if this contains
         spaces.)                                                         
     'segment-name' is the name of the segment this field will belong to  
         (optional, 1-8 characters)                                       
     'attr' (optional) is an attribute such as  MIXED if the field should 
         support mixed case      

So for an email address, you might use something like:


 	TSS ADD(FDT) FDTNAME(EMAIL) FDTCODE(nn) MAXLEN(50)       
 DISPLAY('EMAIL ADDR') SEGMENT(USERINFO) ATTR(MIXED)