zoukankan      html  css  js  c++  java
  • OMFCL 使用

    1. Spec文件
    Option=value,relation-name,[relation-attributes],relate-class

    X的含义:
    Value  Description 
    0  Creates object without first checking to see if it exists in Teamcenter Enterprise. Data is to be used only to create a new object. If an option value of 0 is used with data that matches a preexisting object, UCL displays an error message indicating that duplicate key attributes exist. 
    1  Checks before creating object to see if the object (with the specified attributes) exists. (UCL checks the attributes in the EXIST constant to determine if an object exists.) Data can be used either to create a new object or to change a preexisting object. If it is used to change a preexisting object, UCL compares the supplied data with the preexisting objects. If a match is found, the data is used to change the preexisting object. If no match is found, the data is used to create a new object. 
    2  Retrieves the object, which is uniquely identified by existing attributes, and relates it to a specified class. Data is to be used only to change a preexisting object. It could be used to update it (for example, to change the document description), to revise it, or to add additional attachments to it. If an option value of 2 is used with data that does not match a preexisting object, UCL displays an error message indicating that no match can be found.  
    3  Invokes file system item processing (to be used for file system objects only). Processing depends on the attributes supplied.

    • If FullPath is specified, copies the file from FullPath to a temporary work location and registers it. Also transfers the file to a vault or vault location if one is specified.

    • If FullPath,HostName are supplied as attributes, copies the file from FullPath in the specified host and registers it (transfer can also be performed). The MUX and dispatcher must be up and running on the specified host.

    • If RelativePath,OwnerName,OwnerDirName are specified as attributes, registers the file at OwnerName,OwnerDirName. (UCL assumes the preexisting file, RelativePath, is already present in the specified vault location or work location, OwnerName,OwnerDirName). When registering file system items, UCL uses the minimum required information. Additional specified attributes are added by updating the object. (Note that UCL cannot register directory objects under a work location; use the OPTIONS keyword with a value of 1 or 0 to create directory objects.)

     

    relation-name is not used, so it is represented by a zero (0).
    relation-attributes are not present in the sample line.
    relate-class is not used, so it is represented by a zero (0).

    2. omfcl command
    omfcl -- PdmRoot BulkLoadDataDmm spec_file data_file [ErrorLog=Yes]
  • 相关阅读:
    最牛B的编码套路
    CRM运维工程师主要职责
    SQL ROUND函数用法
    VMware不能完全卸载问题
    如何建立真正支持业务的高效运维体系?
    【TensorFlow】tf.nn.softmax_cross_entropy_with_logits的用法
    L1正则化与L2正则化详解及解决过拟合的方法
    TensorFlow学习笔记之--[tf.clip_by_global_norm,tf.clip_by_value,tf.clip_by_norm等的区别]
    TensorFlow学习笔记之--[compute_gradients和apply_gradients原理浅析]
    Windows10+Tensorflow1.12-gpu+CUDA+cudnn+Anaconda3.5+Pycharm3.5 离线GPU开发环境搭建
  • 原文地址:https://www.cnblogs.com/hcfalan/p/567896.html
Copyright © 2011-2022 走看看