How to save and pass the variable to the BindingInfo resources xWebSite DSC setting.

Let's say I want to share data and configuration and I would love to sites linking information in the DSCConfigurationdata file, separately from DSC configuration like this:

xWebsite xWebsite1
{
Name = "site.name.com".
ApplicationPool = "site.name.com."
Ensure = 'Present '.
PhysicalPath = "C:\Inetpub\wwwroot\site.name.com."
State = "started".
BindingInfo = $Node.BindingInfo
}

and DSCConfigurationdata file will contain something following:

BindingInfo = @)
@{
Protocol = "HTTP".
Port = 80
IPAddress = "1.1.1.1".
Hostname = "site.name.com."
},
@{
Protocol = 'HTTPS '.
Port = 443
IPAddress = "1.1.1.1".
Hostname = "site.name.com."
CertificateThumbprint = "54634563456345."
NomMagasinCertificat = "accommodation".
}
)

[But since BindingInfo must be of type [CimInstance []]] and it's resource set instance specific ICD I can instantiate and create an array of items of CimInstance (actually MSFT_xWebBindingInformation class).

So can anyone please can help me on how to do this.

Thanks in advance.

JK

This issue is outside the scope of this site and must be placed on Technet or MSDN

Tags: Windows

Similar Questions

  • I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    I get videos from cell phones of the people with a type of file like 3GP. I need to know how to save and change the format so I can open them.

    Trying to convert to the. WMV format:

    There are many converters available on the net... some
    free... some detail.

    The following freeware converter is just one example:

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    Format Factory (freeware)
    http://www.videohelp.com/tools/Format_Factory
    (the 'direct link' is faster download)
    (the file you want to download is: > FFSetup295.zip<>
    (FWIW... installation..., you can uncheck
    ('all' boxes on the final screens)
    (Windows XP / Vista / 7)

    First, you will need to decompress the file or just open the
    Drag > FFSetup295.exe< out="" of="" the="">
    and drop it on your desktop. To install left click.

    Next, after the download and installation of Format
    Factory... you can open the program and
    left click on the toolbar, the "Option" button and
    "Select an output folder to" / apply / OK.
    (this is where you find your files after they)
    are converted)

    Drag and drop your video clips on the main screen...

    Select "all to WMV" / OK...

    Click on... Beginning... in the toolbar...

    That should do it...

    Good luck...

  • Start-up of the menu for my 4th gen Apple TV came in Chinese, and I can't figure out how to save and restart the whole upward in English (so I can read it).  Anyone know how to restart the whole upward in English?

    Start of the menu for my fourth generation Apple TV came in Chinese, I can't read. Can someone tell me how to save the boot menu and start again in English?

    I think that this article should help you:

    https://support.Apple.com/en-us/HT202799

  • [ADF, JDev12.1.3] Lined back workflow a lot of values used as a dialog box. How to specify and pass the values to the btf appellant?

    Hallo,

    I've created a workflow bounded (containing JSPX pages) that I use as dialog box.

    There a lot of return values...

    I would like to how to go and read all values ret in the workflow limited appeal because the return value of dialogue seems to not allow a value...

    Thank you

    Federico

    You can try with returnListener, then to returnEvent.getReturnParameters ( https://myfaces.apache.org/trinidad/trinidad-api/apidocs/org/apache/myfaces/trinidad/event/ReturnEvent.html#getReturnParameters%28%29 )

    Dario

  • How to save and delete the file

    Hi, I'm really confused on how to use my computer. When I save the files that they disappear. Say if I record a song that it does not record the "music" file I only find under downloads. I also have a bunch of pictures I want to delete and I don't know how. Also open PDF files full screen and I don't want them that way. How can I fix it? :(

    When you delete a file from your computer, it is actually just moved to the trash, where it is temporarily stored until the Recycle Bin is empty. This gives you an opportunity to recover accidentally deleted files and bring back them to their original location.

  • How to save and export the address book from thunderbird to MS Excel

    I need to save my address book content in a file in order to protect all my contacts in case of PC failure and be able to export it.

    Open the address book window.
    Select tools-export
    To open it in Excel and save it as a comma separated file

  • How can I build and pass a variable to the function getField?

    I need to know how to build and pass a variable to the function getField():

    I have a form of several sections similar to a spreadsheet.  Each section contains 5 rows of 11 columns.  Currently I have calculations in the field I want to consolidate and move to the level of the document.  The field names in each column are identical except for a row identifier.  For example, in the 1st row: a_debtType1, a_debtTerm1, adebtRate1, etc.  I want to be able to pass to a function of level document line identifier and that connect a function "getField.  Here is an example:

    Document-level:

    function calculateLoan (lineNumber) {}

    var myDate = getField("a_debtType"+lineNumber).valueAsString;

    var myDate = getField("a_debtTerm"+lineNumber).valueAsString;

    .. few treatment

    return

    }

    Level of the form:

    change the information in the form is ready for line 1

    function calculateLoan("1");

    Thanks in advance for any help.

    It seems good except how you call the function of what you have. The calculation script should be something like:

    Custom calculate script

    calculateLoan("1");

    Note that you can also get the line number if it is contained in behalf of the field that calls the script if you don't disturb him passing as parameter, assuming you named the fields correctly.

    For example, to calculate the field is called "row_total.1", you can get the line number in the script like this:

    var no_lig = event.target.name.split(".") [1] ;

  • How to save data from the COM port to file?

    Hi all

    can someone tell me please how to save data from the COM port on file? I transfer 1 byte of serial port... attached is the image of the vi... very basic.

    I would like to save the data in a table... I mean, 1 data--> data--> data tab 2 tab 3rd--> tab

    and so on... can anyone help?


  • How to read and understand the information in the event logs

    Hey Microsoft, I performed a task of Information on performance. I have several criticisms and doubtful window logs in Event Viewer that is as much affect performance. I don't understand all the information on how to deal with them as I have not very in computer science. Can you please tell me how I deal/delete and those to save using total evidence silly English. There is also an application firewall re being not recognized even if I have AVG and Works installed.

    Thanks for your help.

    OT: EVENT LOGS

    Hello LadyWilliamson,

    Click on this article which describes the event logs in Windows XP. Most of the information is still topical for Windows Vista and Windows 7.
    308427 KB - how to view and manage the event logs in Event Viewer in Windows XP

     
    Vijay B information should answer your other questions.

    Thank you

    Marilyn

  • doubt Doc ID 1618305.1 how to install and configure the user interface for content with WebCenter content 11.1.1.8.0

    doubt Doc-ID 1618305.1 How to install and configure the user interface with WebCenter content 11.1.1.8.0 content

    The portal_domain field contains;

    AdminServer (admin) and Enterprise Manager, (port 7001)

    IBR_server1, (port 16250)

    UCM_server1, (port 16200)

    WC_Spaces1, (port 8888).

    On the same machine, I have another weblogic, admin and for the ITS.

    The case is that continued to develop for the upgrade to the new skin WebCenter content.

    That's my goal.

    Then I did some research and came to the following notes in support.

    1 - how to install and configure the UI content with WebCenter content 11.1.1.8.0 and 11.1.1.9.0 (Doc ID 1618305.1()

    https://support.Oracle.com/epmos/faces/DocContentDisplay?_afrLoop=290841671406625 & ID = 1618305.1 & _afrWindowMode = 0 & _adf. CTRL-State = c7eq7vwdt_216

    and

    2 - update of the 11.1.1.8.0 UI content after you apply the Patch of Bundle WebCenter content 3 (MLR 3) or higher (Doc ID 1617477.1()

    https://support.Oracle.com/epmos/faces/DocContentDisplay?_afrLoop=291485823387355 & ID = 1617477.1 & _afrWindowMode = 0 & _adf. CTRL-State = c7eq7vwdt_245

    The UCM_server1 has the following House / app / oracle / Middleware / Oracle_ECM1 /.

    And the list of patches;

    ===================================================================================================

    Installed products of higher level (1):

    Oracle WebCenter content management install 11.1.1.8.0

    There are 1 products in this House of Oracle.

    Installed products (40):

    Cloning of the 11g Application Server 11.1.1.8.0 component

    Enterprise Manager Application Server Integrator Plugin - Management Service Support11.1.1.7.0

    FMW Control Plugin for Oracle inbound refinery 11.1.1.8.0

    FMW Control Plugin for Oracle WebCenter Capture 11.1.1.8.0

    Component install SDK 11.1.0.9.0

    Oracle Application Server Configuration 11.1.1.7.0

    Part of Oracle 11.1.1.7.0 Bali

    Oracle 11.1.1.8.0 capture

    Common files Oracle WebCenter content management 11.1.1.8.0

    Oracle Content Server 11.1.1.8.0

    Content of Oracle 11.1.1.8.0 Server component

    Content access Content Server Oracle 11.1.1.8.0

    Access to the contents of the Oracle Content Server 11.1.1.8.0 files

    Oracle Content Server Core 11.1.1.8.0

    Oracle 11.1.1.8.0 server content distribution

    Oracle extended Windowing Toolkit 11.1.1.7.0

    Oracle Fusion Middleware Admin Config 11.1.1.6.0

    Oracle Help for Java 11.1.1.7.0

    Oracle Help for the Web - UIX 11.1.1.7.0

    Oracle Help for the Web Shared Library 11.1.1.7.0

    Oracle Help share library 11.1.1.7.0

    Ice browser Oracle 11.1.1.7.0

    Oracle IRM                                                           11.1.1.6.0

    Oracle extended JFC Windowing Toolkit 11.1.1.7.0

    One-time correction of Oracle 11.1.0.9.9 installer

    Oracle outside in technology 8.4.0.0.0

    Oracle Remote Client of Intradoc 11.1.1.8.0

    Component of Oracle 11.1.1.7.0 rules

    Oracle SOA 11.1.1.7.0 workflow

    Universal Oracle install 11.1.0.9.0

    Oracle Upgrade Wizard 11.1.1.8.0

    Oracle Upgrade Wizard 11.1.1.8.0

    Upgrade Oracle WebCenter content management 11.1.1.8.0 Assistant

    Oracle WebCenter Capture 11.1.1.8.0

    Oracle Webcenter content - rights 11.1.1.7.0 documentalist

    Oracle WebCenter content - Universal Content Manager 11.1.1.8.0

    Oracle WebCenter content management install 11.1.1.8.0

    Oracle WebCenter content 11.1.1.8.0 management product suite

    Oracle WebCenter content: Imaging 11.1.1.8.0

    OracleAS Documentation 11.1.1.8.0

    There are 40 products installed in this House of Oracle.

    Interim plates (2):

    Patch 18188143: applied the sea Mar 19 17:37:32 BRT 2014

    Patch ID: 17263162

    Created February 5, 2014, 12:56:41 pm

    Bugs fixed:

    15872313, 17184457, 17515691, 16633496, 14317920, 15991141, 16892410

    14071471, 17929776, 13414481, 16042293, 17018964, 17627211, 16768600

    16037162, 14521663, 17768056, 14738077, 16460053, 17567819, 17806416

    15905591, 16080297, 17569908, 17043756, 18139768, 17211093, 17805499

    16418434, 16828356, 16671687, 17039391, 16698130, 17943394, 17632731

    17560900, 14246603, 15941347, 16045712

    Location of patch in the inventory:

    / app/Oracle/middleware/Oracle_ECM1/Inventory/oneoffs/18188143

    Patch location in the storage area:

    /app/Oracle/middleware/Oracle_ECM1/.patch_storage/18188143_Feb_5_2014_12_56_41

    Patch 18088049: applied the sea Mar 19 17:35:58 BRT 2014

    Patch ID: 17182855

    Created February 16, 2014 20:35:48 hrs PST8PDT

    Bugs fixed:

    17919101, 17894065, 17884570, 17883868, 17883112, 17854549, 17835742

    17832305, 17819213, 17812338, 17789722, 17783376, 17778867, 17761746

    17740542, 17733871, 17698852, 17658821, 17642431, 17636186, 17622384

    17616664, 17616611, 17616489, 17613656, 17608703, 17589960, 17581458

    17574153, 17567413, 17565564, 17558210, 17558068, 17546505, 17545841

    17540480, 17528590, 17514070, 17511368, 17511271, 17511089, 17501678

    17500375, 17475733, 17449617, 17421368, 17417817, 17416821, 17416807

    17416771, 17416377, 17416343, 17402732, 17401071, 17401052, 17397875

    17393920, 17393892, 17369286, 17368525, 17368096, 17362858, 17362130

    17354877, 17353764, 17352746, 17335303, 17335290, 17330493, 17324707

    17323595, 17323038, 17317268, 17314494, 17313064, 17313052, 17313000

    17312990, 17312933, 17312863, 17312366, 17298386, 17295962, 17290804

    17285105, 17270986, 17261952, 17255019, 17219134, 17216119, 17206903

    17201035, 17200854, 17199763, 17187804, 17185539, 17171852, 17171818

    17164502, 17160600, 17153780, 17074852, 17050451, 17049175, 17026301

    17008220, 17007746, 17007534, 17006378, 16999307, 16999291, 16991380

    16980256, 16980207, 16980196, 16979042, 16961904, 16958142, 16954858

    16941623, 16936055, 16936048, 16936036, 16936020, 16936006, 16935987

    16935976, 16921682, 16908287, 16858148, 16815976, 16796213, 13931337

    17424037, 17006115, 17171834

    OPatch succeeded.

    ==============================================================================================

    And contains the following configurations in config.cfg

    ==============================================================================================

    SocketAddressHostSecurityFilter = 127.0.0.1 | 0:0:0:0:0:0:0:1 | 192.168.1. * | 10.62.1.79

    xPortalSecurityPropagate = true

    Web server = javaAppServer

    AllowUpdateForGenwww = 1

    SearchIndexerEngineName = OracleTextSearch

    IndexerDatabaseProviderName = SystemDatabase

    AdditionalEscapeChars = -: #.

    FileEncoding = UTF8

    MaxQueryRows = 2000

    DisableAuthorizationTokenCheck = true

    IntradocServerPort = 4444

    SchemaPublishInterval = 604800

    SSAllowDelayedProjectWrites = true

    IdcServerThreadQueryTimeout = 120

    DisableQueryTimeoutSupport = false

    MaxSearchConnections = 20

    #Cache

    UseSearchCache = false

    #

    #AdditionalEscapeChars = _: #, -: {-}, has: A, GOLD: GOLD, CAN: CAN, AND: AND at the END:

    # Accesing a content item on a mapped Web URL (WebUrlMap) fails with the error: "unable to retrieve the content. Security access denied» (Doc ID 1639028.1()

    MaxAccountsInSecurityClause = 300

    # end (Doc ID 1639028.1()

    #Search fails for external users in WCC after upgrade to 11.1.1.8.0 (Doc ID 1676468.1()

    DoCaseInsensitiveAcctSearch = false

    # end (Doc ID 1676468.1()

    #MigrationFormatForfApplicationGUID = dCollectionName:dCollectionGUID

    ==============================================================================================

    To my UCM_Server1 content WebCenter.

    As I already have a WebCenter content I have to follow the second part of the note

    How to install and configure the UI content with WebCenter content 11.1.1.8.0 and 11.1.1.9.0 (Doc ID 1618305.1).

    Install and configure content WebCenter ADF WebUI against WebCenter Content Server

    Step 1) install the MDS schema

    (Step 2), install the Weblogic Server

    11 GR 1 material step 3) DOWNLOAD and install Oracle Application Development Framework (11.1.1.6.0) in the new WebUI WLS Middleware House, found here

    Step 4) Download and apply Patch 16, 546 129.

    Step 5) Download and apply Patch 16, 546 157.

    Step 6) download and apply the Patch and then 19,469,801, 18,102,108 Patch

    Step 7) copy the wccadf files in the field of user interface

    Step 8) Oracle on demand services (MDS) metadata registry

    Step 9) Place the WebCenter content domain user interface model

    Step 10) run the Setup Wizard on the new home of Middleware WebUI to create the new domain

    Step 11) updated the Oracle ADF of shared libraries

    Step 12) start the domain WebUI administration server

    Step 13) Save target Managed Server with the MDS repository and create the metadata partition

    Step 14) start the server managed WebUI.

    Step 15) associate UI WebCenter content to Content Server.

    Step 16) reboot the WebUI ADF server managed.

    Step 17 access the WebUI

    Step 18) complete the Configuration of the workflow

    Step 19) apply the latest Patch Bundle content UI of WebCenter

    MY DOUBT IS:

    To read the steps that I understood, to 19, with success, in the end, I will have an another WebLogic with a domain name and its respective EM.

    I have two servers weblogic?

    portal_domain (explained above) and a new wccui_domain wls and domain.

    This fix it?

    Two WLS to keep WebCenter portal and content, and other elements.

    Because I'm not able to do with the WLS even where I UCM_server1 today?

    Thanks for all suggestions and criticism.

    To read the steps that I understood, to 19, with success, in the end, I will have an another WebLogic with a domain name and its respective EM.

    I have two servers weblogic?

    portal_domain (explained above) and a new wccui_domain wls and domain.

    This fix it?

    Two WLS to keep WebCenter portal and content, and other elements.

    Because I could not do with the WLS even where I UCM_server1 today?

    Yes, up to 11.1.1.9.0, you will need to install a new wls House (new wls server admin) and then configure WCC ui there. User interface and COE will not work in the same field. You can have the portal and content under the same House of wls and install a new one for the user interface.

    This is due to a problem with ADF and WCC libraries.

    With 12 c, this dependence is not there, and you can install / configure all 3 (Portal, content and adf ui) applications on the same domain.

  • How to save documents in the clouds of Adobe Reader?

    Please, I beg you! Can someone explain how to save documents in the clouds of Adobe Reader?

    Hi serjk86479664,

    Go to the file menu, select Save under-> click on the tab "Document Cloud", sign in using your Adobe ID (if you are not logged in) and click Save.

    Kind regards
    Nicos

  • How to copy and paste the image parameters to image with ACR 9.1.1

    How to copy and paste the image parameters to image with ACR 9.1.1

    Hi nicholast15140269

    • You can save the current settings of the image or can save them outside in the form of XMP file. Then use as a preset.

    Concerning

    ~ Assani

  • IM using windows 8 How to save work in the creative cloud as a file CS6?

    IM using windows 8 How to save work in the creative cloud as a file CS6. Ron C

    CC 2014, save under CC, and then open it in CC and save it as CS6. See here: open projects After Effects of previous versions and re-registration in previous versions

    If you do not know how to install older versions, see this: CC help | Install, update, or uninstall applications

  • How to debug and find the exact constraint violation error

    {14:22:36:ErrorCode 122712 - 1 with ErrorMessage as ORA-00001: unique constraint (OPS$ CMS.)} {PK_TB_ML_EXER_UPLOAD) violated appeared [SSO16063259009], pk_xop_subsales.pr_process_exer [CMSCOST_USER]}

    {Pr_process_exer (PROCEDURE)
    p_voucher_num tb_xop_order_manager_t.voucher_num%TYPE,
    p_status_type tb_xop_order_manager_t.status_type%type,
    p_dest tb_xop_order_manager_t.dest%type,
    p_reference_key tb_xop_order_manager_t.reference_key%type,
    p_seq_num tb_xop_order_manager_t.seq_num%type,
    p_return_code tb_xop_order_manager_t.return_code%type,
    p_reason_desc tb_xop_order_manager_t.reason_desc%type,
    p_activity_qty tb_xop_order_manager_t.activity_qty%type,
    p_leaves_qty tb_xop_order_manager_t.leaves_qty%type,
    p_exec_price tb_xop_order_manager_t.exec_price%type,
    p_current_status tb_xop_order_manager_t.current_status%type,
    p_err_cur ON ref_cursor)
    IS
    CURSOR get_order_dtls (v_voucher_num tb_xop_order_manager_t.voucher_num%type)
    IS
    SELECT *.
    OF tb_xop_order_manager_t
    WHERE voucher_num = v_voucher_num;

    CURSOR get_mail_cd (v_opt_num OPTIONEE.opt_num%TYPE) IS
    SELECT mail_cd, sp_mail_cd
    OF XOP_OPTIONEE
    WHERE opt_num = v_opt_num;

    cursor get_opt_dtls (v_opt_num OPTIONEE.opt_num%TYPE) IS
    Select
    SUBSTR (Trim (O.name_first) |) ' ' || Trim (O.name_mi) | ' ' ||
    Trim (O.name_last), 1: 35) p_name,.
    SUBSTR (O.address1, 1, 35) opt_addr1,.
    SUBSTR (O.address2, 1, 35) opt_addr2,.
    SUBSTR (O.address3, 1, 35) opt_addr3,.
    SUBSTR (O.address4, 1, 35) opt_addr4,.
    SUBSTR (O.address5, 1, 35) opt_addr5,.
    SUBSTR (O.address6, 1, 35) opt_addr6,.
    SUBSTR (Trim (O.City) |) ' ' || Trim (O.State) | ' ' ||
    Trim (O.zip) | ' ' || Trim (O.Country), 1: 35) city_state_zip_country,.
    Trim town (O.City),
    Trim (O.State) State,
    Trim (O.zip) zip,
    Trim (O.Country) countries
    of the option o holder
    where o.opt_num = v_opt_num;
    -CQ: PCTUP00210726 - added wire instructions audit for info thread deleted.
    CURSOR (c_wire_instruction)
    in_wire_seq_no TB_XOP_WIRE_INSTRUCTIONS.wire_seq_no%TYPE) IS
    SELECT ml_brok_acct_num,
    SSN,
    plan_num,
    instr_type,
    aba_routing_num,
    swift_routing_code,
    bank_name,
    bank_acct_num,
    name_on_account,
    bank_addr_1,
    bank_addr_2,
    bank_addr_3,
    City,
    State,
    countries,
    zip,
    bank_ident_num,
    addtl_info
    OF TB_XOP_WIRE_INSTRUCTIONS
    WHERE wire_seq_no = in_wire_seq_no
    UNION
    SELECT ml_brok_acct_num,
    SSN,
    plan_num,
    instr_type,
    aba_routing_num,
    swift_routing_code,
    bank_name,
    bank_acct_num,
    name_on_account,
    bank_addr_1,
    bank_addr_2,
    bank_addr_3,
    City,
    State,
    countries,
    zip,
    bank_ident_num,
    addtl_info
    OF TB_XOP_WIRE_INSTRUCTIONS_AUDIT
    WHERE wire_seq_no = in_wire_seq_no;

    CURSOR c_order_qty IS
    SELECT order_qty
    OF tb_xop_order_manager
    WHERE voucher_num = p_voucher_num;
    v_order_qty tb_xop_order_manager.order_qty%TYPE;

    v_wire_instruction c_wire_instruction % ROWTYPE;
    v_order_dtls get_order_dtls % rowtype;
    v_opt_dtls get_opt_dtls % rowtype;
    v_settle_dt tb_ml_exer_upload.settle_dt%type;
    v_cusip_num corp.cusip_num%type;
    number of v_err_cd (12): = 0;
    v_err_msg varchar2 (4000);
    v_compy_nme tb_fc_Compy.compy_nme%type;
    v_ml_sec_num tb_fc_compy.ml_sec_num%type;
    v_mail_cd xop_optionee.mail_cd%type;
    v_count1 PLS_INTEGER: = 0;
    v_sum_activity_qty tb_xop_order_manager_t.activity_qty%TYPE;
    v_transact_no PLS_INTEGER;

    v_ivr_plan_num tb_fc_compy.ivr_plan_num%TYPE;

    wait_for_more EXCEPTION;
    exceeds_order_qty EXCEPTION;
    -Added CQ # PCTUP00481233
    number of v_sub_totfee;
    number of v_sub_fixedfee1;
    number of v_sub_fixedfee2;
    number of v_sub_fixedfee3;
    number of v_sub_secfee;
    number of v_sub_feenum;
    -Added CQ # PCTUP00481233
    v_fixedfee1 tb_xop_order_manager_t.fixed_fee1%TYPE; -SPIF # 43161 - variable to contain the fixed mensuels1

    BEGIN

    OPEN c_order_qty.
    SEEK c_order_qty INTO v_order_qty;
    CLOSE C_order_qty;
    DBMS.output.put_line ('completed1');
    IF v_order_qty <>p_activity_qty THEN
    DBMS.output.put_line ('completed2');
    IF p_status_type = "EO" AND v_order_qty < p_activity_qty THEN
    RAISE exceeds_order_qty;
    DBMS.output.put_line ('completed3');
    ELSIF p_status_type = 'EO' AND v_order_qty > p_activity_qty THEN
    -Partial enforcement
    INSERT INTO tb_xop_hold_multi_orders
    (voucher_num
    reference_key
    seq_num
    return_code
    reason_desc
    status_type
    activity_qty
    leaves_qty
    exec_price
    current_status
    waiting
    activ_dt)
    VALUES
    (p_voucher_num
    p_reference_key
    p_seq_num
    p_return_code
    p_reason_desc
    p_status_type
    p_activity_qty
    p_leaves_qty
    p_exec_price
    p_current_status
    , 'Y'
    SYSTIMESTAMP);
    DBMS.output.put_line ('completed4');
    ON THE OTHER
    IF p_status_type = "BE" THEN
    SELECT COUNT (1) IN v_count1
    OF tb_xop_hold_multi_orders
    WHERE voucher_num = p_voucher_num;
    DBMS.output.put_line ('completed5');
    IF v_count1 > 0 THEN
    INSERT INTO tb_xop_hold_multi_orders
    (voucher_num
    reference_key
    seq_num
    return_code
    reason_desc
    status_type
    activity_qty
    leaves_qty
    exec_price
    current_status
    waiting
    activ_dt)
    VALUES
    (p_voucher_num
    p_reference_key
    p_seq_num
    p_return_code
    p_reason_desc
    p_status_type
    , (-1) * p_activity_qty
    p_leaves_qty
    p_exec_price
    p_current_status
    , 'Y'
    SYSTIMESTAMP);
    UPDATE tb_xop_hold_multi_orders
    QUEUE = 'Y '.
    WHERE voucher_num = p_voucher_num;
    DBMS.output.put_line ('completed6');
    END IF;
    END IF;
    END IF;
    DBMS.output.put_line ('completed7');
    SELECT SUM (NVL(activity_qty,0)) IN the v_sum_activity_qty
    OF tb_xop_hold_multi_orders
    When pending = 'Y '.
    AND voucher_num = p_voucher_num;

    IF v_sum_activity_qty > 0 THEN
    IF v_sum_activity_qty <>v_order_qty THEN
    RAISE wait_for_more;
    ON THE OTHER
    -final order in the case of partial performance; complete the process
    UPDATE tb_xop_hold_multi_orders
    PUT on hold = ' don't
    process_dt = SYSDATE
    WHERE voucher_num = p_voucher_num;
    END IF;
    END IF;
    END IF;

    UPDATE tb_xop_order_manager_t
    SET activ_dt = TO_CHAR (SYSDATE, "YYYY-MM-DD HH24:MI:SS") | '. 000'
    dest = p_dest
    reference_key = p_reference_key,
    seq_num = p_seq_num
    return_code = p_return_code
    reason_desc = p_reason_desc,
    status_type = p_status_type
    , activity_qty = v_order_qty - p_activity_qty
    , leaves_qty = 0 - p_leaves_qty
    exec_price = p_exec_price,
    WHERE voucher_num = p_voucher_num;
    DBMS.output.put_line ('completed8');
    /*
    * SPIF # 43161 - update of the current situation to the PO moved to the end, even in works of the PROD.
    */

    IF (p_status_type = "EO") THEN

    BEGIN
    Select cusip_num
    in v_cusip_num
    Corp;
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    SELECT cusip_num
    IN v_cusip_num
    OF tb_xop_espp_compy
    WHERE compy_acronym = replace (replace(user,'CMS'), '_USER');
    WHILE OTHERS THEN
    NULL;
    END;

    Select compy_nme, ml_sec_num, ivr_plan_num
    in v_compy_nme, v_ml_sec_num, v_ivr_plan_num
    of tb_fc_compy
    where compy_acronym = replace (replace(user,'CMS'), '_USER')
    UNION ALL
    Select compy_nme, je_ml_security_number, ivr_plan_num
    of tb_xop_espp_compy
    where compy_acronym = replace (replace(user,'CMS'), '_USER');
    -where ivr_plan_num = replace (substr(p_voucher_num,1,7), 'NORTH', 'XOP');

    Open get_order_dtls (p_voucher_num);
    SEEK get_order_dtls INTO v_order_dtls;

    v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_order_dtls.exer_date + 1));
    v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));
    v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));

    FOR c_mail_cd IN get_mail_cd (v_order_dtls.opt_num)
    LOOP
    v_mail_cd: = c_mail_cd.mail_cd;
    -We need get sp_mail_cd and overlay with the sp_mail_cd in order_manager_t?
    END LOOP;

    OPEN get_opt_dtls (v_order_dtls.opt_num);
    SEEK get_opt_dtls INTO v_opt_dtls;
    CLOSE Get_opt_dtls;

    v_fixedfee1: = nvl (v_order_dtls.fixed_fee1, 0);
    /*
    * SPIF # 43161 - at least one transaction per day fees
    */
    v_fixedfee1: = pk_xop_enh_exerupdate.chrg_tranxfixed_fee (v_fixedfee1,
    v_order_dtls. Symbol,
    v_order_dtls.corp_acronym,
    v_order_dtls.opt_num);
    -Insert in tb_ml_exer_upload
    -Added CQ # PCTUP00481233
    Pk_Xop_Transactmodel.GET_FEE (v_order_dtls. GROUP_ID, v_order_dtls. SVC_ID, 'SQ', v_order_dtls.opts_exer,
    round (v_order_dtls.exec_price, 4), v_sub_totfee, v_sub_fixedfee2, v_sub_fixedfee1,.
    v_sub_fixedfee3, v_sub_secfee, v_sub_feenum, LPAD (v_order_dtls. SSN, 9, 0));
    v_order_dtls.sec_fee: = v_sub_secfee;
    UPDATE tb_xop_order_manager_t
    SET sec_fee = v_sub_secfee
    WHERE voucher_num = p_voucher_num;

    DBMS.output.put_line ('completed8');
    -End CQ # PCTUP00481233
    INSERT INTO tb_ml_exer_upload
    (exer_num, exer_seq,
    exer_dt, written_flag, backout_flag, output_line,
    je_flag, opts_exer,
    tot_tax, shrs_sold, comm_value, tot_fee,
    mkt_prc, exer_type, soc_sec,
    name_first, name_mi,
    name_last, check_addr_1, check_addr_2, check_addr_3,
    check_addr_4, check_addr_5, city, state, zip, country,.
    city_state_zip_country,
    p_name, opt_addr1, opt_addr2, opt_addr3, opt_addr4,
    opt_addr5, opt_addr6,
    settle_dt, send_to_citibank_flag,
    dom_chek_distr, foreign_currency_code,
    distribution_method, wire_seq_no,
    cusip_num, ml_retail_account, multi_curr_handling_fee,
    ml_sec_num, corp_name, upd_optionee_addr,
    outbound_flag,-there are N
    corp_symbol, taxwire_approve,-not make applicaplabe
    exersource,
    mail_cd, sp_mail_cd,
    backup_withholding,
    user_id,
    acct_num_othr)
    VALUES (v_order_dtls.exer_num, 0, v_order_dtls.exer_date, 'No', not, NULL,)
    -Would be PG 12/12/05 Changed to fill the resulting je_flag of dom_chek_distr',.
    -PG 16/12/05 I should not be generated for international controls... If 'Y' always
    'Y',-je_flag
    v_order_dtls.opts_exer, 0,-total tax will be 0.
    v_order_dtls.opts_exer, shrs_sold,
    v_order_dtls.comm_value,
    -SPIF # 43161 - replaced nvl (v_order_dtls.fixed_fee1, 0), with v_fixedfee1
    v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), - v_order_dtls.fees_amt,
    round (v_order_dtls.exec_price, 4), v_order_dtls.exer_type.
    LPAD (v_order_dtls. SSN, 9, '0'),-v_order_dtls.ssn, modified by Suresh on 08/02/07 for SPIF # 37210
    v_order_dtls.name_first, v_order_dtls.name_mi, v_order_dtls.name_last,
    v_order_dtls.check_addr_1, v_order_dtls.check_addr_2, v_order_dtls.check_addr_3,
    v_order_dtls.check_addr_4, v_order_dtls.check_addr_5, NVL (v_order_dtls. City, v_opt_dtls. (City),
    NVL (v_order_dtls. State, v_opt_dtls. State), NVL (v_order_dtls.zip, v_opt_dtls.zip).
    NVL (v_order_dtls. Country, v_opt_dtls. (Country),
    SUBSTR (nvl (v_order_dtls.city | v_order_dtls.)) State | v_order_dtls.zip | v_order_dtls. Country,
    v_opt_dtls.city_state_zip_country), 1: 34),-COLUMN LENGTH MAX IS 35
    v_opt_dtls.p_name, v_opt_dtls.opt_addr1, v_opt_dtls.opt_addr2, v_opt_dtls.opt_addr3,
    v_opt_dtls.opt_addr4, v_opt_dtls.opt_addr5, v_opt_dtls.opt_addr6,
    v_settle_dt, Decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
    v_order_dtls.dom_chek_distr, v_order_dtls.foreign_currency_code,
    v_order_dtls.distribution_method, v_order_dtls.wire_seq_no,
    v_cusip_num, v_order_dtls.acct_num, v_order_dtls.multi_curr_handling_fee,
    -nvl (fn_get_sec_num (replace (substr (p_voucher_num, 1, 7), 'NORTH', 'XOP'), v_order_dtls.symbol), v_ml_sec_num).
    NVL (fn_get_sec_num (v_ivr_plan_num, v_order_dtls.symbol), v_ml_sec_num).
    v_compy_nme, v_order_dtls.upd_optionee_addr,
    'N'-' is for outgoing flag.
    v_order_dtls. Symbol, 'd', --a ' for disabled taxwires
    The of ', - the of ' source being a subsequent sale.
    v_mail_cd, need to get mail_Cd?
    v_order_dtls.sp_mail_cd, v_order_dtls.backup_withholding,
    (User, v_order_dtls.acct_num_othr);

    IF (NVL(v_order_dtls.wire_seq_no,0) > 0) THEN

    OPEN c_wire_instruction (v_order_dtls.wire_seq_no);
    SEEK c_wire_instruction INTO v_wire_instruction;
    CLOSE C_wire_instruction;

    INSERT INTO TB_XOP_TRANSACT_WIRE_INSTR
    (user_id, exer_num, wire_seq_no, ml_brok_acct_num, ssn,
    plan_num, instr_type, aba_routing_num,
    swift_routing_code, bank_name, bank_acct_num,
    name_on_account, bank_addr_1, bank_addr_2, bank_addr_3,
    City, State, country, zip, bank_ident_num, addtl_info)
    VALUES
    (USER, v_order_dtls.exer_num, v_order_dtls.wire_seq_no,
    v_wire_instruction.ml_brok_acct_num, v_wire_instruction.ssn,
    v_wire_instruction.plan_num, v_wire_instruction.instr_type, v_wire_instruction.aba_routing_num,
    v_wire_instruction.swift_routing_code, v_wire_instruction.bank_name, v_wire_instruction.bank_acct_num,
    v_wire_instruction.name_on_account, v_wire_instruction.bank_addr_1, v_wire_instruction.bank_addr_2,
    v_wire_instruction.bank_addr_3, v_wire_instruction.city, v_wire_instruction.state, v_wire_instruction.country, v_wire_instruction.zip,
    (v_wire_instruction.bank_ident_num, v_wire_instruction.addtl_info);
    DBMS.output.put_line ('completed10');
    END IF;


    / * PG 05/01/06 call conversion check only for international controls and son * /.
    IF = v_order_dtls.dom_chek_distr ' n AND v_order_dtls.distribution_method IN ('W' ' d ","C"" ") THEN
    / * PG 20/12/05 to treat the subsequent sales with the wire or the distribution of currency * /.
    v_transact_no: = 88;
    pk_xop_citibank_forex.pr_cashconversion_ins_request (v_order_dtls.acct_num
    LPAD(v_order_dtls.ssn,9,'0') - v_order_dtls.ssn, modified by Suresh on 15/02/07 for SPIF # 37210
    v_order_dtls.distribution_method
    v_order_dtls.foreign_currency_code
    v_order_dtls.wire_seq_no
    , TOWER ((v_order_dtls.opts_exer * ronds (v_order_dtls.exec_price, 4)), 2)
    -ROUND(v_order_dtls.comm_value,2)
    -ROUND (nvl(v_order_dtls.fixed_fee1,0) + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), 2)
    -nvl(v_order_dtls.multi_curr_handling_fee,0)
    -product net nvl(v_order_dtls.backup_withholding,0)-
    , v_order_dtls.multi_curr_handling_fee - handling fee
    -Modified by Billon/Suresh on 03/02/2006-, v_order_dtls.login_name
    , CASE v_order_dtls.login_name WHEN ' CUSTOMER /' THEN v_order_dtls.login_name |' SSO' ELSE v_order_dtls.login_name |' / SSO' END
    , v_transact_no - transact_no as a placeholder for the 88 exer_type
    v_order_dtls.check_addr_1
    v_order_dtls.check_addr_2
    v_order_dtls.check_addr_3
    v_order_dtls.check_addr_4
    v_order_dtls.upd_optionee_addr
    v_order_dtls.city
    v_order_dtls.state
    v_order_dtls.zip
    v_order_dtls.country
    v_order_dtls.login_ipaddress
    v_order_dtls.fcnum
    v_order_dtls.opt_num
    v_settle_dt,
    p_exer_num = > v_order_dtls.exer_num
    );
    END IF;

    COMMIT;

    close get_order_dtls;

    END IF;

    /*
    * SPIF # 43161 - update of current status in IN. is moved to this part, even PROD.
    */
    UPDATE tb_xop_order_manager_t
    SET exec_dttime = decode (p_status_type, "EO", to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), null)
    exer_date = trunc (sysdate)
    , cancel_dttime = decode (p_status_type, 'CX', to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), 'UR', to_char (sysdate, "MON-DD-YYYY HH24:mi:ss), null)
    , current_status = "PO."
    sum_status = decode(p_status_type,'EO','X','C'),
    sum_stat_dttime = SYSDATE
    WHERE voucher_num = p_voucher_num;

    v_err_cd: = sqlcode;
    v_err_msg: = sqlerrm;

    Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;

    EXCEPTION
    DBMS.output.put_line ('completed200');
    / * PG 02/10 managed 'order of partial fill' exception * /.
    When wait_for_more then
    v_err_cd: = 0;
    v_err_msg: = ' ORA-0000: normal completion, successfully ';
    pr_xop_log_errors (' partially filled;) Pending-activity qty:' | TO_CHAR (v_sum_activity_qty) | "pk_xop_subsales.pr_process_exer");
    Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
    When exceeds_order_qty then
    v_err_cd: = sqlcode;
    v_err_msg: = sqlerrm;
    Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
    pr_xop_log_errors ("exceeded the amount of activity Order_qty - activity qty: ' | ') TO_CHAR (p_activity_qty) | "pk_xop_subsales.pr_process_exer");
    while others then
    v_err_cd: = sqlcode;
    v_err_msg: = sqlerrm;
    Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
    pr_xop_log_errors (' error code ' | ') SQLCODE |' with ErrorMessage like ' | SQLERRM |' occurred '. the user | (' pk_xop_subsales.pr_process_exer');
    DBMS.output.put_line ('completed125');
    END pr_process_exer;
    }

    Hi friends, any1 help me how set ref-cursor in the declaration section and how to find the constraint error situation has occurred...

    956684 wrote:
    Hello.

    Friends please help... How to debug and find the exact position of the constraint violation... Thank you for the help...

    It's not a way to track it unless you have taken the exception raised.

    As a way to start debugging, you will need to monitor
    1. all DML against the Table on which you have constraint. Specifically, the DML that Act on the column you will be forced.
    2. use the exception handling, to record the error and the data that causes the constraint to fail.
    3. don't forget to monitor triggers, if used, could write data in the column you have forced on.

    Or

    Another track is to:

    select *
      from user_source
    where lower(text) like '%your_table_name%';
    order by type, name, line;
    

    Look at the lines, exclude that are in the statement or in the SELECT statements and targets of the DML.

    Looking at the unformatted code, that you have published, this statement looks like a culprit.

    INSERT INTO tb_ml_exer_upload
    (exer_num,exer_seq,
    exer_dt, written_flag, backout_flag, output_line,
    je_flag, opts_exer,
    tot_tax,shrs_sold,comm_value,tot_fee,
    mkt_prc,exer_type, soc_sec,
    name_first, name_mi,
    name_last,check_addr_1,check_addr_2,check_addr_3,
    check_addr_4,check_addr_5,city,state,zip,country,
    city_state_zip_country,
    p_name,opt_addr1,opt_addr2,opt_addr3,opt_addr4,
    opt_addr5,opt_addr6,
    settle_dt,send_to_citibank_flag,
    dom_chek_distr,foreign_currency_code,
    distribution_method,wire_seq_no,
    cusip_num, ml_retail_account,multi_curr_handling_fee,
    ml_sec_num, corp_name,upd_optionee_addr,
    outbound_flag, -- make it N
    corp_symbol,taxwire_approve, -- make it not applicaplabe
    exersource,
    mail_cd, sp_mail_cd,
    backup_withholding,
    user_id,
    acct_num_othr)
    VALUES(v_order_dtls.exer_num,0,v_order_dtls.exer_date,'N','N',NULL,
    -- PG 12/12/05 Changed to populate the je_flag based on dom_chek_distr 'D',
    -- PG 12/16/05 JE should not be generated for international checks.. So 'Y' always
    'Y', --je_flag
    v_order_dtls.opts_exer,0,--total tax will be 0.
    v_order_dtls.opts_exer, --shrs_sold,
    v_order_dtls.comm_value,
    --SPIF# 43161- replaced nvl(v_order_dtls.fixed_fee1, 0) with v_fixedfee1
    v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), --v_order_dtls.fees_amt,
    round(v_order_dtls.exec_price, 4),v_order_dtls.exer_type,
    LPAD(v_order_dtls.ssn,9,'0'), --v_order_dtls.ssn, Modified by Suresh on 02/08/07 for SPIF # 37210
    v_order_dtls.name_first,v_order_dtls.name_mi,v_order_dtls.name_last,
    v_order_dtls.check_addr_1,v_order_dtls.check_addr_2,v_order_dtls.check_addr_3,
    v_order_dtls.check_addr_4,v_order_dtls.check_addr_5,nvl(v_order_dtls.city,v_opt_dtls.city),
    nvl(v_order_dtls.state,v_opt_dtls.state),nvl(v_order_dtls.zip,v_opt_dtls.zip),
    nvl(v_order_dtls.country,v_opt_dtls.country),
    SUBSTR(nvl(v_order_dtls.city||v_order_dtls.state||v_order_dtls.zip||v_order_dtls.country,
    v_opt_dtls.city_state_zip_country),1,34), -- COLUMN LENGTH MAX IS 35
    v_opt_dtls.p_name,v_opt_dtls.opt_addr1,v_opt_dtls.opt_addr2,v_opt_dtls.opt_addr3,
    v_opt_dtls.opt_addr4,v_opt_dtls.opt_addr5,v_opt_dtls.opt_addr6,
    v_settle_dt,decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
    v_order_dtls.dom_chek_distr,v_order_dtls.foreign_currency_code,
    v_order_dtls.distribution_method,v_order_dtls.wire_seq_no,
    v_cusip_num,v_order_dtls.acct_num,v_order_dtls.multi_curr_handling_fee,
    -- nvl(fn_get_sec_num(replace(substr(p_voucher_num,1,7),'SSO','XOP'),v_order_dtls.symbol),v_ml_sec_num),
    nvl(fn_get_sec_num(v_ivr_plan_num, v_order_dtls.symbol),v_ml_sec_num),
    v_compy_nme,v_order_dtls.upd_optionee_addr,
    'N', --'N' is for outbound flag.
    v_order_dtls.symbol,'D', --'D' for taxwires disabled
    'S', -- 'S' for source being subsequent sale.
    v_mail_cd, --need to get mail_Cd??
    v_order_dtls.sp_mail_cd,v_order_dtls.backup_withholding,
    user,v_order_dtls.acct_num_othr);
    

    What is the structure of the tb_ml_exer_upload Table and the columns do you have constraints?
    Which column of the tb_ml_exer_upload table is your primary key (because the constraint name mentions pk_tb_ml_exer_upload)?

    Published by: Jen K on January 4, 2013 12:57

  • How to compress and decompress the file in mac

    How to compress and decompress the file in mac

    I will use third party software to do this.

Maybe you are looking for