file


The <file> element defines a file name within a product or solution definition or as part of a template definition.

  • When the <file> element is part of a product or solution definition, this element is a child of the <files> element and you use it to specify a file used by product or solution exits.
  • When the <file> element is a child of the <template> element, you use this element to identify a ZFS or HFS file where the template resides.

Parent element: <files> or <template>

Child elements: None.

Attributes:

Name

Type

Required?

Default

Description

type

string

no

dsn

Indicates the type of file defined.

Valid values are dd and dsn.

fmt

string

no

load

The only valid value for this attribute is load.

id

string

no


Identifies a unique string identifier for the file.

Use this attribute to refer to the file with the refid attribute on another <file> definition.

refid

string

no


Identifies the id attribute of another file from which to pick up its characteristics.

Example:

<register>                                                 
   <product id="ZLGCA10" prodlist="no" replace="yes">      
      <name>BMC Product Management</name>                  
      <prodcode>LGC</prodcode>                             
      <prodvrsn>1011</prodvrsn>                            
      <files>                                           
            <file id="kjdexit">RDAKJD.WKJD.LOAD.EXIT</file>
      </files>                                          
      <templates>                                          
         <template type="help">                            
            <dsn>LGC.WDBB1011.USERXML</dsn>                
            <member>LGCHELP</member>                       
            <help>                                         
               <dsn>LGC.WDBB1011.XML</dsn>                 
               <member>LGCHELP</member>                    
            </help>                                        
         </template>                                       
         <template type="optcoll">                         
            <dsn>LGC.WDBB1011.USERXML</dsn>                
            <member>OPTCOLL</member>                       
            <help>                                         
               <dsn>LGC.WDBB1011.USERXML</dsn>             
               <member>OPTCOLLH</member>                   
            </help>                                        
         </template>                                       
      </templates>                                         
   </product>                                              
</register>

Related topic


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*