RETURNS UNKNOWN

Get the opinion of e-mail back to the mail I have not sent

Someone is probably using your address to send mass spam. It will probably stop in a day or two.

Tags: Windows

Similar Questions

  • vminfo.pl returns 'unknown' for certain fields

    Hello

    I'm very new to vmware, anyway I have been using the script vminfo.pl from my windows machine and can return machines virtaul running on my host, however using this script, the guest operating system, I, host name, and ipaddess fields are that all returned "not known". any ideas on why this is would be so great

    Here is the command I am running

    Perl vminfo.pl - of-xx.x.x.xx - password xxxxxx Server username

    Here is the result for one of the virtual machine

    Computer information virtual backup1

    Name: backup1

    CPU lol: 1

    Memory size: 384

    Virtual disks: 1

    Model: 0

    vmPathName: backup1/centos_base.vmx

    Guest operating system: unknown

    ID: not known

    Host name: not known

    IP address: Not known

    VMware Tools: VMware tools has never been installed, or has not executed on the virtual machine.

    CPU usage: 89 MHz

    Use of the host's memory: 383 MB

    Use of memory comments: 3 MB

    General situation: the entity is OK

    Any help would be great

    The

    You can only get the same fields after the installation of vmware tools (e.g. host name:, IP address :))

  • Class Win32_Volume WMI chkdsk returns "unknown error."

    I'm trying to use powershell v2 to automate running chkdsk

    I will carry out something like this in a powershell script:
    $volume = gwmi win32_volume-filter "driveletter ='C:'.
    $chkResult = $volume. CHKDSK ($true, $false, $false, $false, $false, $true)
    On Windows 7 or Windows Server 2008 64-bit systems, I always get a value of 5 (unknown error). There is no indication of an error in the Application or system event log.
    When I run chkdsk /f from the command line, I get
    "Chkdsk cannot run because the volume is in use by another process. You want to schedule this volume to check the next time the system restarts? (Y/N) »
    The utility then runs without incident on reboot.
    Any thoughts on what could be the cause of the problem?

    Hello

    The question you have posted is better suited for the TechNet forums, I suggest you to post the question on the TechNet forums for assistance.

    http://social.technet.Microsoft.com/forums/en-us/winserverwsus/threads

    I hope this helps!

  • CSS file for counting in ADF return «Unknown pseudo-class» errors

    Hi all
    I'm relatively new to ADF and I am working to try to the skin of my request.
    So far, I did the following steps:
    Creates a CSS file inside my Web content folder:
    Skins/Custom/Custom.CSS
    with the following code
    * af | menu: bar-point-text {*}
    color: white;
    *)*
    and I did a Trinity - skins.xml and the Trinity - config.xml in my WEB - INF
    file and added the following code in each respectively:

    * <? XML version = "1.0" encoding = "ISO-8859-1? > *.
    * < skins xmlns = "http://myfaces.apache.org/trinidad/skin" > *.
    * < skin > *.
    * < id > customSkin.desktop < /ID >. *
    * < family > CustomSkin < / family > *.
    * < extends > fusion.desktop < / extends > *.
    * < render-kit-id > org.apache.myfaces.trinidad.desktop < / render-kit-id > *.
    * < style-sheet-name > skins/custom/CustomSkin.css < / style-sheet-name > *.
    * < / skin > *.
    * < / skins > *.

    * <? XML version = "1.0" encoding = "UTF-8"? > *.
    * < trinidad-config xmlns = "http://myfaces.apache.org/trinidad/config" > *.
    * < skin-family > CustomSkin < / skin-family > *.
    * < / Trinity-config > *.

    However when I enter information in my CSS file 'AutoComplete' text only comes up with a few items and when I get the strings to my compnants he said that they are not recognized. In addition is does not load this CSS.

    Thanks in advance for any help you might be able to give.

    See you soon,.
    Fudz

    Published by: user8887767 on January 8, 2010 12:05

    First of all, make sure that the following check box is checked:
    Tools-> preferences-> CSS Editor-> ADF Faces Extension

    I noticed a few places where auto-complete contains all of the options, or I use a valid pseudo-class and indicated as invalid in the CSS Editor. Does not have a negative effect on the result however.

  • Unknown phone number

     String phoneNr = Phone.getDevicePhoneNumber(false);
            if ( phoneNr == null )
            {
                return "";
            }
            else
            {
                return phoneNr;
            }
    

    Hello

    This code may return 'Unknown number' as response? In the javadoc, I read that it returns null if the phone number is unknown...

    I'm not sure... maybe that the customer has changed the logfile before he sent it?

    The device is Bold 9700, I don't know that it is GSM or CDMA

    This is a bug known/device OS 5.0, as far as I know.

  • Zero cases - InstanceCount resulting in 'unknown '.

    I have trouble understanding why the InstanceCount translates as 'unknown', if there is zero cases. If you add an instance of the entity being counted, then delete, InstanceCount translated by 0. When you start debugging, the result is unknown.

    Here is an example of a simple rule. "the people of the family" are a number to be several relations of overall to the person:

    the individual count = InstanceCount (people of the family)

    Thanks for any help!

    Hello!

    InstanceCount will return unknown if:
    -containment is not complete for this entity (I assume you are using OPA 10.2 or newer)
    - or if you have not set the relationship to 'know' if there is a reference relationship

    Next time, when you start the debugger (new session), do nothing else, but right-click on the members of the family and click on "complete containment. The individual count implied as 0 unless you need to add an and then take away it.

    Where containment is not complete, this essentially signifies OPA that "there are more to come... "or"it is not yet over... ". ", so it cannot count the instances with reliability and therefore returns unknown. Marking of full containment tells OPA that "that won't change, no more will be added or removed" and therefore the OPA can deduct the InstanceCount with reliability.

    It is exactly the same for a reference relationship (manual). If you do not set the relationship to "known" in the debugger, OPA retains the InstanceCount as unknown, until it is explicitly set to "known."

    Most of the time the debugger OPM handles for you - once you add an OPM brand instance automatically containment complete for convenience so that you do not manually keep ticking "full containment." Even if you delete the initial instance, the containment is always marked as finished, once again for convenience, which is why you see that 0 automatically deducted when remove you it. It's the same principle for the entity collection screens - once the screen has been submitted - even though no cases have been added - containment is marked as completed.

    Hope this helps, let me know if you have any other questions.
    See you soon,.
    Ben

  • not showing caller ID does not display

    I see that someone else had same problem a year ago that never responded.

    I have an Officejet Pro 8600 more again.  When a fax arrives, the caller ID does not appear on the screen.  It is connected to a single line with caller ID.  Is something wrong with the display? It just says: "Receive faxes", but no caller ID.  The phone line has caller ID

    This has nothing to do with the blocking of unwanted faxes.  I want just the caller ID to show on the screen.

    Thank you!

    Hi jachang, sorry to hear that you have a problem with the caller ID on your printer. A few factors can come into play with the issue you are experiencing. One thing that could happen is that you don't have the number stored in your address book to the printer. If a number is a private number, it will return unknown number on the printer no matter whether or not you have a caller id on your phone line. I suggest that if you have several different numbers fax you who invents it like an unknown number, you take those numbers and record them in your directory of contact on the printer with the names as well so that it is displayed on the printer when these people fax you. If you are positive that the fax number you is NOT a private number and it should appear, then I call your phone company and have them test your configuration of line just in case any problems.

    If you have any other questions, feel free to write again.

    Thank you

  • utility library error function string?

    I'm working on a library Error Handler, slaughtered most of these wonderful for a (Roberto!).  I can't find a generator of string of code error for the functions in the library of good content (in particular, functions like RenameFile, CopyFile, GetDir, SetDir, MakeDir, all file IO functions).

    Most people refer to types of maximum error tolerated with some explanations of plain text.  But there is no mention of a nice string code converter function, as it is in other libraries.  For example, for the RS232 library, there are GetRS232ErrorString.  Formatting & IO Library, there is GetFmtIOErrorString.

    I don't see it somewhere?  Inside the library of utilities, there is a function called CmtGetErrorMessage multithreaded error code.

    You are right: the library of Urility does not include a function that translates into a meaningful text error codes. I guess that it is due to the fact that error codes overlap in part, so a single function could not be used.

    For example, the-1 error means file not found in almost all file IO Library functions, but it translates into no file found matching the criteria of research GetFirstFile (), for not more files in GetNextFiles () and invalid parameters in MakePathname ().

    Another example: error-2 means GetFirstFile must be called before if returned by GetNextFile () and resulting path too long if returned by MakePathname ().

    And cela given that e/s file section of the library!

    While developing my own toolbox of utilities, I created the following function I know is far from perfect and covers only the file IO features:

    char * CVIFUNC GetULibFileIOErrMsg (int error)
    
    // Messages associated to error codes returned by functions in File Utilities class in Utility Library
    {
        switch (error) {
            case 0: return "Success";
            case -1:    return "One of the path component not found";
            case -2:    return "Resulting pathname longer than 260 chars";
            case -3:    return "General I/O error occurred";
            case -4:    return "Insufficient memory to complete operation";
            case -5:    return "Invalid path";
            case -6:    return "Access denied";
            case -7:    return "Specified path is a directory, not a file";
            case -8:    return "Disk is full";
            case -9:    return "New file already exists";
            default:    return "Unknown error";
        }
        return NULL;
    }
    
  • BB10 network plugin fails on the second call

    Hi all

    I created a plugin(native extension) network that works very well when you call the first javascript application.

    The entrance to this extension is: {'url' ": '"http://example.com ', imeOut: '4'}

    When I try to call this plugin the next time, he demonstrated "operation cancelled" due to the delay. If I delete the time-out period of extension, not getting not response in onRequestFinished and it returns nothing for javascript application.

    Please, help me find an error code below.

    It is very urgent.

    Thanks in advance.

    template_js.hpp
    
    #ifndef TemplateJS_HPP_
    #define TemplateJS_HPP_
    
    #include 
    #include "../public/plugin.h"
    #include "template_ndk.hpp"
    
    class TemplateJS: public JSExt {
    
    public:
        explicit TemplateJS(const std::string& id);
        virtual ~TemplateJS();
        virtual bool CanDelete();
        virtual std::string InvokeMethod(const std::string& command);
        void NotifyEvent(const std::string& event);
        bool StartThread();
        std::string params;
    
    private:
        std::string m_id;
    
    };
    
    #endif /* TemplateJS_HPP_ */
    
    
    
    template_js.cpp
    
    #include #include "../public/tokenizer.h"#include #include "template_js.hpp"#include "template_ndk.hpp"
    
    using namespace std;
    
    /** * Default constructor. */TemplateJS::TemplateJS(const std::string& id) : m_id(id) {
    
    }
    
    /** * TemplateJS destructor. */TemplateJS::~TemplateJS() {
    
    }
    
    /** * This method returns the list of objects implemented by this native * extension. */char* onGetObjList() { static char name[] = "TemplateJS"; return name;}
    
    /** * This method is used by JNext to instantiate the TemplateJS object when * an object is created on the JavaScript server side. */JSExt* onCreateObject(const string& className, const string& id) { if (className == "TemplateJS") { return new TemplateJS(id); }
    
     return NULL;}
    
    /** * Method used by JNext to determine if the object can be deleted. */bool TemplateJS::CanDelete() { return true;}
    
    /** * It will be called from JNext JavaScript side with passed string. * This method implements the interface for the JavaScript to native binding * for invoking native code. This method is triggered when JNext.invoke is * called on the JavaScript side with this native objects id. */string TemplateJS::InvokeMethod(const string& command) { // command appears with parameters following after a space int index = command.find_first_of(" "); std::string strCommand = command.substr(0, index); std::string arg = command.substr(index + 1, command.length()); params = arg; if (strCommand == "doNSIRequest") { StartThread(); strCommand.append(";"); strCommand.append(command); return strCommand; }
    
     return "Unknown C++ method";}
    
    void* SignalThread(void* parent) { TemplateJS *pParent = static_cast(parent);
    
     int argc = 0; char **argv = NULL; QCoreApplication QCoreApplication(argc, argv); webworks::TemplateNDK *m_signalHandler = new webworks::TemplateNDK(pParent); m_signalHandler->doNetworkRequest();
    
     QCoreApplication::exec(); delete m_signalHandler; return NULL;}
    
    bool TemplateJS::StartThread(){
    
     pthread_attr_t thread_attr; pthread_attr_init(&thread_attr); pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED);
    
     pthread_t m_thread; pthread_create(&m_thread, &thread_attr, SignalThread, static_cast(this)); pthread_attr_destroy(&thread_attr); if (!m_thread) { return true; } else { return false; }}
    
    // Notifies JavaScript of an eventvoid TemplateJS::NotifyEvent(const std::string& event) { std::string eventString = m_id + " "; eventString.append(event); SendPluginEvent(eventString.c_str(), m_pContext);}
    
    template_ndk.hpp
    
    
    
    #ifndef TEMPLATENDK_HPP_#define TEMPLATENDK_HPP_
    
    #include #include #include #include #include 
    
    using namespace bb::device;
    
    class TemplateJS;
    
    namespace webworks {
    
    class TemplateNDK : public QObject {
    
     Q_OBJECT
    
    public: explicit TemplateNDK(TemplateJS *parent = NULL); virtual ~TemplateNDK(); void doNetworkRequest();
    
    public Q_SLOTS: void onRequestFinished(QNetworkReply *reply); void connectionStateChanged (bb::device::CellularConnectionState::Type connectionState); void onNetworkTimeOut();
    
    private: void doNSIRequest(); void disconnectService(); void parseXml(const QByteArray buffer, int httpCode, QString status, QString errorInfo); void parseJsonParams();
    
    private: TemplateJS *m_pParent; QNetworkAccessManager *_networkAccessManager; CellularDataInterface *_cellularDataInterface; int networkTimeout; std::string url;};
    
    } // namespace webworks
    
    #endif /* TEMPLATENDK_H_ */
    
    
    
    template_ndk.cpp
    
    #include #include #include #include #include #include #include #include "template_ndk.hpp"#include "template_js.hpp"
    
    namespace webworks {
    
    TemplateNDK::TemplateNDK(TemplateJS *parent) {
    
     m_pParent = parent; _networkAccessManager = 0; _cellularDataInterface = 0; networkTimeout = 0; url = "";
    
    }
    
    TemplateNDK::~TemplateNDK() {
    
     if (_networkAccessManager){ delete _networkAccessManager; _networkAccessManager = 0; } if (_cellularDataInterface) { if (_cellularDataInterface->connectionState() == CellularConnectionState::Connected) { disconnectService(); } delete _cellularDataInterface; _cellularDataInterface = 0; } if(m_pParent){ delete m_pParent; m_pParent = 0; }}
    
    void TemplateNDK::doNetworkRequest(){ _networkAccessManager = new QNetworkAccessManager(); _cellularDataInterface = new CellularDataInterface(); connect( _networkAccessManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(onRequestFinished(QNetworkReply*)));
    
     connect(_cellularDataInterface, SIGNAL(connectionStateChanged(bb::device::CellularConnectionState::Type)), this, SLOT(connectionStateChanged(bb::device::CellularConnectionState::Type)));
    
     parseJsonParams();
    
     doNSIRequest();}
    
    void TemplateNDK::parseJsonParams() { std::string networkParams = m_pParent->params;
    
     // Parse the arg string as JSON Json::FastWriter writer; Json::Reader reader; Json::Value root; bool parse = reader.parse(networkParams, root);
    
     if (!parse) {
    
     QByteArray buffer(NULL); parseXml(buffer, 1, "fail", "Cannot parse input JSON object");
    
     } else {
    
     url = root["url"].asString(); int timeout = root["timeOutValue"].asInt(); networkTimeout = timeout * 1000; //converting into milliseconds
    
     }}
    
    /** * Set name for mobile data and attempt to activate the network connection if name is valid */
    
    void TemplateNDK::doNSIRequest() { _cellularDataInterface->setName("blackberry"); if (_cellularDataInterface->isValid()) { QString networkInterfaceName =_cellularDataInterface->networkInterfaceName();
    
     if (!networkInterfaceName.isEmpty()) { _cellularDataInterface->requestConnect(); } else { QByteArray buffer(NULL); QString strError = "Mobile data off"; parseXml(buffer, 1, "fail", strError); }
    
     } else { QByteArray buffer(NULL); QString strError = ""; if (_cellularDataInterface->networkInterfaceName() == ""){ strError = "No Sim Available"; }else{ strError = "Invalid cellular data services"; }
    
     parseXml(buffer, 1, "fail", strError); }}
    
    /** * Attempt to de-activate the network connection */
    
    void TemplateNDK::disconnectService(){ _cellularDataInterface->requestDisconnect(); unsetenv("SOCK_SO_BINDTODEVICE");}
    
    /** * Slot getting called after successful connection to Mobile data. * If connected then send server request else handling error */
    
    void TemplateNDK::connectionStateChanged (bb::device::CellularConnectionState::Type connectionState){ QString strError = ""; if (connectionState == CellularConnectionState::Connected) {
    
     int EOK = 0; if (setenv("SOCK_SO_BINDTODEVICE", _cellularDataInterface->networkInterfaceName().toAscii().constData(), 1) == EOK) { QNetworkRequest request = QNetworkRequest(); QString inputUrl = QString::fromUtf8(url.c_str()); request.setUrl(QUrl(inputUrl)); QNetworkReply* response = _networkAccessManager->get(request);
    
     QTimer *timer = new QTimer(response); timer->setSingleShot(true); connect(timer, SIGNAL(timeout()), this, SLOT(onNetworkTimeOut())); timer->start(networkTimeout);
    
     } else { strError = "Not connected to 2g/3g connection! Please try again"; }
    
     } else if (connectionState == CellularConnectionState::PendingConnect) { strError = "Pending Connect! Please try again";
    
     } else if (connectionState == CellularConnectionState::Disconnected) { strError = "Disconnected! Please try again"; unsetenv("SOCK_SO_BINDTODEVICE");
    
     } else { strError = "Not Connected! Please try again"; } if (!strError.isEmpty()){ QByteArray buffer(NULL); parseXml(buffer, 2, "fail", strError); }
    
    }
    
    void TemplateNDK::onNetworkTimeOut() { QTimer *timer = qobject_cast(sender()); QNetworkReply *response = qobject_cast(timer->parent()); response->abort();}
    
    /** * Handling response coming from server */void TemplateNDK::onRequestFinished(QNetworkReply *reply){ int httpStatusCode = reply->attribute(QNetworkRequest::HttpStatusCodeAttribute).toInt(); httpStatusCode = reply->error(); QString status = ""; QByteArray buffer(NULL); QString strErrorInfo = ""; if (reply->error() == QNetworkReply::NoError) {
    
     const int available = reply->bytesAvailable(); if (available > 0) { status = "success"; buffer = reply->readAll();
    
     }else{ status = "fail"; httpStatusCode = 2; strErrorInfo = "Response is null"; }
    
     } else {
    
     strErrorInfo = reply->errorString(); if (strErrorInfo.contains("\"\"")) { //case like: Protocol "" is unknown strErrorInfo = strErrorInfo.remove("\"\""); } status = "fail";
    
     } parseXml(buffer, httpStatusCode, status, strErrorInfo); reply->deleteLater();}
    
    /** * parses xml coming from server as response, Create JSON object and calling notify */void TemplateNDK::parseXml(const QByteArray buffer, int httpCode, QString status, QString errorInfo) { QXmlStreamReader xml; std::string event = "NSI_requestCallbackResult";
    
     // Parse the arg string as JSON Json::FastWriter writer; Json::Reader reader; Json::Value root;
    
     root["language"] = ""; root["subId2"] = ""; root["accountSubType"] = ""; root["status"] = status.toLocal8Bit().constData(); root["httpCode"] = httpCode; root["errorInfo"] = errorInfo.toLocal8Bit().constData();
    
     try{ if (!buffer.isNull()) { xml.addData(buffer);
    
     while (!xml.atEnd()) { xml.readNext();
    
     if (xml.isStartElement()) { if (xml.name() == "eamLanguage") { root["language"] = xml.readElementText().toLocal8Bit().constData();
    
     } if (xml.name() == "subId2") { root["subId2"] = xml.readElementText().toLocal8Bit().constData(); } if (xml.name() == "accountSubType") { root["accountSubType"] = xml.readElementText().toLocal8Bit().constData(); } }
    
     } } }catch (...) { QString status = "fail"; int httpCode = 2; QString strBuffer(buffer); QString errorInfo = "Exception:FormatException Function:parseXml ServerResponse: " + strBuffer;
    
     root["status"] = status.toLocal8Bit().constData(); root["httpCode"] = httpCode; root["errorInfo"] = errorInfo.toLocal8Bit().constData(); }
    
     m_pParent->NotifyEvent(event + " " + writer.write(root));
    
    }
    
    } /* namespace webworks */
    

    Finally I found the solution of the present.

    Question is due to every javascript function call new pthread is be created every time and existing thread is never destroyed. However, I assumed that this local variable of pthread_t destroyed but it is not run like that. If trying to kill thread existing manually using pthread_cancel(), application crashes. Application of network function is called in this thread and QNetworkAccessManager slot is never get called except for the first time.

    To solve it, I used a public global variable that allow to create the thread only once and give the signal for the following applications when native code receives a StartThread function call. For signalling, used pthread mutex lock and characteristic signal.

    Here is the code for the function StartThread:

    bool TemplateJS::StartThread()
    {
    
        parseJsonParams();
    
        if (!g1.g_isSignalThreadCreated) {
            g1.g_isSignalThreadCreated = true;
    
            pthread_attr_t thread_attr;
            pthread_attr_init(&thread_attr);
            pthread_attr_setdetachstate(&thread_attr, PTHREAD_CREATE_DETACHED);
            pthread_t m_thread;
            pthread_create(&m_thread, &thread_attr, SignalThread, static_cast(this));
            pthread_attr_destroy(&thread_attr);
    
        } else {
            pthread_mutex_lock(&mutex);
            pthread_cond_signal(&cond);
            pthread_mutex_unlock(&mutex);
    
        }
        return true;
    }
    

    And here's the code must call after event notification.

    void TemplateNDK::Workerthread_waitForNextTime()
        {
            pthread_mutex_lock(&mutex);
            pthread_cond_wait(&cond, &mutex);
            pthread_mutex_unlock(&mutex);
    
            //keeps waiting here until get Signal from StartThread.
            doNetworkRequest();
        }
    
  • Is it possible to reset an attribute in an interview?

    I need to leave my clients to change their minds on something and then have the related attributes False or unknown value.  For example, the maintenance request "want to buy an extended warranty?  If the user answers "Yes" then a container with a question during the period becomes visible and the user selects '12 months' among the choice and then pass through the interview.  At some point the user changes his mind about the extended warranty, goes back to the question "Do you have an extended warranty?" and becomes the 'yes' 'No' and then proceeds to finish the interview.

    I want to be able to reset the attribute of warranty return 'unknown' or at least '0', based on the new answer 'no '.

    How this is done?

    With the help of a simple rule such as the following does not work.

    Warranty period = 0 if

    Warranty? = false

    Once you have entered a value of an attribute you cannot deduce it a different value. You may achieve what you want here in having 2 attributes, "asked the warranty duration" and "guarantee length" with a rule something like:

  • UPDATE to update trigger another table

    I am trying to write a trigger to the table (AFTER UPDATE) in which I want to update the same table in a different pattern. Notice that both tables has no unique or primary key constraint, so I am forced to compare the values in the column all the to the place where the condition.

    Update OTHERSCHEMA. T1

    the value =:NEW.c1 c1, c2 is:NEW.c2...

    where c1 =:OLD.c1

    AND c2 =:OLD.c2

    Problem is when a column is null, it would seem that it is not comparable. I even tried

    Update OTHERSCHEMA. T1

    the value =:NEW.c1 c1, c2 is:NEW.c2...

    where NVL (c1, NULL) = NVL (:OLD.c1, NULL)

    AND NVL (c2, NULL = NVL (:OLD.c2, NULL)

    Nothing helps. Can someone help me to write the correct statement?

    Hello

    eyap wrote:

    I am trying to write a trigger to the table (AFTER UPDATE) in which I want to update the same table in a different pattern. Notice that both tables has no unique or primary key constraint, so I am forced to compare the values in the column all the to the place where the condition.

    Update OTHERSCHEMA. T1

    the value =:NEW.c1 c1, c2 is:NEW.c2...

    where c1 =:OLD.c1

    AND c2 =:OLD.c2

    Problem is when a column is null, it would seem that it is not comparable. I even tried

    Update OTHERSCHEMA. T1

    the value =:NEW.c1 c1, c2 is:NEW.c2...

    where NVL (c1, NULL) = NVL (:OLD.c1, NULL)

    AND NVL (c2, NULL = NVL (:OLD.c2, NULL)

    Nothing helps.

    Naturally.  NVL (x, NULL) is always x, no matter what x is.

    Can someone help me to write the correct statement?

    x = is returns TRUE if (and only if) x and have the same value, and it returns FALSE if (and only if) x and have 2 different values.

    NULL is not a value; in fact, it's quite the opposite.  NULL means that there is no value.  If x or is NULL, then x = y returns UNKNOWN.

    DECODE allows to compare values or NULL values, so you can do something like

    Update OTHERSCHEMA. T1

    the value of c1 =: NEW.c1

    , c2 =: NEW.c2

    ,       ...

    where LESS (DECODE (c1,:OLD.c1, 1, 0)

    , DECODE (c2,:OLD.c2, 1, 0)

    )

    ;

    If you would care to a full test script so that I can reproduce the problem, then I could test this.

    Triggers often indicate a bad table design.  Why do you need to replicate the data in another table?

    As you do, why not add a primary key?

  • Difference of ESXi hosts between analysis of updates and patches of scene

    Hello

    I have two ESXi hosts with round about 700 applicable patches.

    What is the difference between "stage Patches"und"search for updates"?

    Do I need maintenance mode for the scene fixes?

    Kind regards

    Roland

    screenshot.jpg

    Hello

    Scan for updates will scan the hosts against the basic lines of patch you have attached to them and to report on the status of this host against the base line, so, essentially, Scan for updates will tell you what patches and updates to your departure are absent from the host if the return "non-compliant" or "compliant" if all patches are already installed.  It can also return 'Unknown' or 'Inconsistent' according to the status of the host and other factors.

    Step will basically copy all files to update and patch that must be installed to the willing host for the conversion, which will be more actually to install patches.  Staging of updates to date does not make service, you don't need to put the host in maintenance mode, while the staging, the host must be in service during the reclamation mode.  You can trigger a reorganization without staging, but the benefit of the staging is, first of all, you will reduce the amount of time that your host is out of action because all patches and updates are already in place in anticipation of final approval, which means that the rehabilitation phase is much faster.

    I hope this helps.

    vM

    -----------------------

    VCAP-DCD / VCAP-DCA / VCP-CLOUD / VCP - DT / VCP5 / VCP4

    -----------------------

    vMustard.com

  • Decision tree for user input


    I am creating a workflow that accepts a user input and I'm trying to figure out how I can take a parameter selected between an entry and the next choice of entry poplulate.  For example:

    parameters: location, area

    Location (an array of strings) New York, London, Tokyo

    Therefore, based on the chosen of the location of the field parameter change

    New York - area: Prod, Test

    London - area: Prod, Dev, Test

    Tokyo - area: Dev, Test, Eng

    Hi Shaka,

    First, you must create an action (using vCO Client Java) that accepts the rental of type string input parameter and returns an array of strings containing fields for this location.

    If the signature of the action would be something like

    Array/string getDomainListByLocation(string location)
    

    And the action script content would be something like

    if (location == "New York") {
      return ["Prod", "Test"];
    } else if (location == "London") {
      return ["Prod", "Dev", "Test"];
    } else if (location == "Tokyo") {
      return ["Dev", "Test", "Eng"];
    } else {
      return ["Unknown location"];
    }
    

    Then, create a workflow with input parameters 2 - 'rental' of type string and 'areas' of type Array/string. Go to the "Présentation" tab in the editor of vCO and assign the following properties for entries

    • 'rent' entry - adds 'Predefined answers' property and fill its value with locations - New York, London and Tokyo
    • 'areas' entry - add "Data binding" property and bind to action that you created in the first step. Thus, the value of the property must contain OGNL action call expression, something like
    GetAction("my.actions.module","getDomainListByLocation").call( #location )
    

    Now, when you run the workflow, the first entry should be rendered in a dropdown menu with locations and when you choose one of them, the data binding action will be called and the value of the second entry should be amended.

    Hope this helps,

    -Ilian

  • Apply a transformation to a map of AD in v9.1.6

    Hello world.

    I'm trying to apply a transformation to a VSM data map, and I can't get the code right.

    I have a value from AD - for example '4300', and I need to turn it so that it shows as "Company" in VSM.

    In the domain of transformation in VSM, I defined the Argument (ParentDivision) as a string data Type and the return Type as string.

    .. .and I wrote this as my code:

    If ParentDivision = ' 4300 "

    Then return 'Enterprise '.

    End If

    .. .but when I test, I get an error that says: "expected Expression."

    I know that the code is supposed to be in VB.NET syntax, but "cannot contain a function, class, Sub, Structure, ownership and imports or declarations of Member public, private, or protected. We must assume that the code is the body of a static function defined by the Type of data type and must include a Return statement that returns a value that is the transformed value. »

    In the coding is definitely not my strong point, someone can point me in the right direction here, or give a few examples of the work of transformations that I can look at mine?

    Any advice would be very welcome!

    Thank you

    Holly.

    I hope this can help: this is the transformation code that I use for a mapping of SCCM/CI works well; the only difference I see is that I use double quotes so maybe it's just it? :

    The Argument is defined as 'OS As String' and the return Type is defined as a String

    If OS = "Microsoft Windows NT Workstation 5.1" Then

    Return "Windows XP."

    Else if OS = "Microsoft Windows NT Workstation 5.2" Then

    Return "Windows XP x 64"

    Else if OS = "Microsoft Windows NT Workstation 6.0" Then

    Return "Windows Vista".

    Else if OS AS "Microsoft Windows NT Workstation 6.1" then

    Return "Windows 7."

    Else if OS AS "Microsoft Windows NT Workstation 6.2 m $ *" then

    Return ' Windows 8 '.

    On the other

    Return ' unknown ("& OS &" ' ").

    End If

  • I promise you that the police _is_ it. :(

    OK, so I'm having problems dynamically fonts management process in an automated build.

    To be clear;

    (a) I have a police

    (b) I really, really, really _know_ I have this font

    (c) I checked once again, police _is_ it

    After reviewing this, I get the police using app.fonts.itemByName (fontName) and then try to _use_ the police think I _know_ I.

    It works for about 650 to 710 fonts.

    For others... I just saw "the font style requested is not available."

    _WHY_?

    _WHY_?

    Please, please, please...

    Anyone?

    Thank you

    G

    found.fontFamily: Baskerville
    found.fontStyleName: regular
    found.fontStyleNameNative: regular
    found.fontType: 1718898516 (OPENTYPE_TT)
    found.fullName: Baskerville
    found.fullNameNative: Baskerville
    found.index:-1
    found.isValid: true
    found. Location: C:\Program Files\Adobe\Adobe InDesign 2014\Fonts\Baskerville.ttf CC
    found. Name: BaskervilleRegular
    found. Ordering:
    found.parent: [object Application]
    found.platformName: Baskerville
    found.postscriptName: Baskerville
    found. Properties: [object Object]
    found. Registry:
    found.restrictedPrinting: false
    found. Status: 1718831470 (ok)
    found.version: Version 1.00
    found.writingScript: 0

    ERROR: {"Filename": "printFinal.jsx", "lineNumber": "368", "templateId": 'TEMPLATE', 'message': "font style requested is not available.", "inputArguments": {}}

    [code]

    var found = app.fonts.itemByName (cleanedFontFamily);

    function writeFontType (val) {}

    {Switch (Val)}

    case FontTypes.ATC: return "ATC"

    case FontTypes.BITMAP: return 'BITMAP ';

    case FontTypes.CID: return 'CID ';

    case FontTypes.OPENTYPE_CFF: return "OPENTYPE_CFF";

    case FontTypes.OPENTYPE_CID: return "OPENTYPE_CID";

    case FontTypes.OPENTYPE_TT: return "OPENTYPE_TT";

    case FontTypes.TRUETYPE: return 'TRUETYPE ';

    case FontTypes.TYPE_1: return of the 'TYPE_1 ';

    case FontTypes.UNKNOWN: return 'UNKNOWN '.

    }

    return 'unknown '.

    }

    This.Debug ("\tNATIVE:\n\t" +]

    "found.fontFamily:" + found.fontFamily, "

    "found.fontStyleName:" + found.fontStyleName, "

    "found.fontStyleNameNative:" + found.fontStyleNameNative, "

    "found.fontType:" + found.fontType + "(" + ((found.fontType) writeFontType) + ")", "

    "found.fullName:" + found.fullName, "

    "found.fullNameNative:" + found.fullNameNative, "

    "found.index:" + found.index, "

    "found.isValid:" + found.isValid, "

    "found.location:" + found.location, "

    "found.name:" + found.name, "

    "found.ordering:" + found.ordering, "

    "found.parent:" + found.parent, "

    "found.platformName:" + found.platformName, "

    "found.postscriptName:" + found.postscriptName, "

    "found.properties:" + found.properties, "

    "found.registry:" + found.registry, "

    "found.restrictedPrinting:" + found.restrictedPrinting, "

    ' found.status: '+ found.status +' ('+ (found.status is FontStatus.INSTALLED?'. "(OK_»_:_«_enquêter_») +"). "

    "found.version:" + found.version, "

    ' found.writingScript: ' + found.writingScript

    (] .join ("\n\tclick"));

    style.appliedFont = found;

    [/ code]

    OK, so had some help from Vlad / vamitul offline and the list of fonts can be cleaned with a save to IDML, then reopen and crushing the INDD.

    All good, thanks Marc, thanks Vlad!

    G

Maybe you are looking for