Connecting the Sequence Operator to the Mapping Output Parameter?

my OWB Client: 10.2.0.2.8
my OWB Repository: 10.2.0.2.0
I need to obtain a sequence number (from the Sequence Operator), then output it
using the Mapping Output Parameter, if possible.
I have tried two things:
1. Connect Sequence Operator nextval variable to the Mapping Output Parameter.
This generates error:
"Table,View Or Sequence reference 'xx_SEQ.NEXTVAL' not allowed in this
context"
2. Join the Sequence Operator nextval variable with a source table, then
connect a port from the dataflow to Mapping Output Parameter.
This generates error:
"Mapping Input Parameter and Mapping Output Parameter are intended to be
executed before and after the data flow of the mapping and cannot accept
inputs from any part of the data flow."
From what I have seen so far, it appears it may not be possible to use the
Sequence Operator along with the Mapping Output Parameter. If Im wrong, please
let me know of an example of how the Sequence Operator and Mapping Output
Parameter can be connected.
Thanks

User -
Look at adding a Post-Mapping Process to your mapping, there you have a choice of built in functions or custom ones that could return a sequence value for you. You may have to create the sequence outside of OWB ...
TXB

Similar Messages

  • Resetting the Sequence operator in OWB

    I have a Sequence operator for one column in the mapping. It correctly increments by 1 for each row (nextval) . I have done some testing and now I want to reset the next increments. Like I want to start from 1 instead of some 588 like that which is result of my testing.
    How to reset the sequence operator so that it starts from 1 again.
    Thanks

    Hi Tom,
    First you should create a store procedure that resets the last_number of a specified sequence w/ parameters sequence_name and start value. Then just call the stored proc from OWB to reset your sequence.
    --stored proc ex:
    create or replace PROCEDURE reset_sequence (
    seq_name IN VARCHAR2, startvalue IN PLS_INTEGER) AS
    cval INTEGER;
    inc_by VARCHAR2(25);
    BEGIN
    EXECUTE IMMEDIATE 'ALTER SEQUENCE ' ||seq_name||' MINVALUE 0';
    EXECUTE IMMEDIATE 'SELECT ' ||seq_name ||'.NEXTVAL FROM dual'
    INTO cval;
    cval := cval - startvalue + 1;
    IF cval < 0 THEN
    inc_by := ' INCREMENT BY ';
    cval:= ABS(cval);
    ELSE
    inc_by := ' INCREMENT BY -';
    END IF;
    EXECUTE IMMEDIATE 'ALTER SEQUENCE ' || seq_name || inc_by ||
    cval;
    EXECUTE IMMEDIATE 'SELECT ' ||seq_name ||'.NEXTVAL FROM dual'
    INTO cval;
    EXECUTE IMMEDIATE 'ALTER SEQUENCE ' || seq_name ||
    ' INCREMENT BY 1';
    END reset_sequence;
    --calling stored proc ex:
    --sequence name is employees_seq; reset value to 1
    DECLARE
    SEQ_NAME VARCHAR2(200);
    STARTVALUE PLS_INTEGER;
    BEGIN
    SEQ_NAME := 'EMPLOYEES_SEQ';
    STARTVALUE := 1;
    RESET_SEQUENCE(
    SEQ_NAME => SEQ_NAME,
    STARTVALUE => STARTVALUE
    END;
    Hope it works! Cheers!=)
    Regards,
    Carlo

  • Identifying the Remote Operator on the Managed Device

    I just have one question regarding Remote Management. Since we are using an external VeriSign certificate, the remote operator is currently identified as "unknown user" when a managed device is remote controlled. I think this is working as designed because the Remote Operator's name is derived from the certificate generated on the ZCM server. When External CAs are used (i.e. VeriSign), certificates are not generated for the remote operator, therefore the operator is recorded as an "Unknown User". Am I correct ?
    I read the following in the ZCM documentation:
    B.3 Identifying the Remote Operator on the Managed Device
    When a remote operator launches a remote session on a managed device through ZENworks Control Center, a certificate that helps the managed device to identify the remote operator is automatically generated by ZENworks if an internal CA is used. However, if an external CA is used, the remote operator needs to manually provide the certificate that is chained to the deployed external CA and is certified for SSL Client Authentication. For more information on using the external CA, see Use the Following Key Pair for Identification in Section 2.8, Starting Remote Management Operations. Novell Documentation
    If a remote operator launches a remote operation on a managed device without providing a certificate, the name of the remote operator is recorded as An Unknown User in the audit logs, the Visible Signal and the Ask User Permission dialog box. To ensure that the remote operator provides the certificate, deselect Allow Connection When Remote Management Console Does Not Have SSL Certificate in the Remote Management policy.
    Do you know how the required key pair for identification is generated ? What are the steps ? We need for the remote operator to be identified.

    rguerra,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • How to change the sequence number in the test packages?

    Hello,
    I need to change the sequence number in the test packages. Currently I use "move test case." However you can only move one item at a time.
    There is another option to make this change?
    Best regards,
    Elisabete

    Hi Elisabete,
    Sorry, I've to acknowledge the reply from Fabricius.
    That's poor in release 7.0. A former version provided a solution where it was possible to move a testcase even over pages at once.  May be SAP changed this functionality because of other problems caused by the former solution.
    Therefore I am looking for a business blueprint structure meeting the logical and operational process for little need of changes in sequences.  And I create E2E-scenarios / E2E-processes as an additional structure in a project to have an easier approach in the Test Workbench.  An other option is to divide test packages into smaller ones.
    I hope we can look foreward to a better and more comfortable solution in release 7.1.
    Best regards,
    Adelbert

  • Restoring the proper operation of the NetBIOS protocol

    Hi
    How do I restore the proper operation of the NetBIOS protocol
    in Windows 7 Ultimate SP1 64-bit?
    Thanks
    Bye
    Balubeto

    Hi,
    I guess you're looking for nbtstat command?
    http://technet.microsoft.com/en-us/library/cc784285(v=ws.10).aspx
    If you encountered some problems about TCP/IP or NetBIOS Network Connections, you can refer to this link for troubleshooting:
    http://support.microsoft.com/kb/323388
    Yolanda Zhu
    TechNet Community Support

  • New field to be added in the Decision Operation for the feature WEBMO

    Hi,
    I want to Add a new field in the Decision Operation for the feature WEBMO. Currently following fields are available for Decision Operation such as APPID, MOLGA, PERNR, TRFAR, TRFGB, TRFGR, TRFST, BUKRS, WERKS, PERSG, PERSK, VDSK1, GSBER, BTRTL, JUPER, ABKRS, ANSVH, KOSTL, ORGEH, PLANS, STELL, MSTBR, SACHA, SACHP, SACHZ, SNAME, ENAME, OTYPE, SBMOD, KOKRS, FISTL, GEBER, FKBER and GRANT_NBR.
    I want to add a new field (EXMPT) from table T5U13.
    Could you please understand me what is the procedure to add a field, what logic to be incorporated in the program and what is the program in which the logic to be incorporated.
    Thanks  in advance.
    NGR Kumar

    Hi Manikya,
    WERKS is already available in Decision Operation. What i want is, to add new field (EXMPT) from table T5U13 in Decision Operation.
    Regards
    NGRK

  • Alert: The backup operation for the cluster configuration data has been canceled due to an abort request

    Hello,
    Alert: The backup operation for the cluster configuration data has been canceled due to an abort request
    Alert description: The backup operation for the cluster configuration data has been canceled. The cluster Volume Shadow Copy Service (VSS) writer received an abort request.
    This is the backup of VSS which is sending this alert every morning.
    Event ID 1544
    All fixes I found are applied..
    kb2277439 has already been applied
    978527 is there too
    975921 is there too..
    any other id
    Cluster Node /Status gives both nodes up A & B
    The error is coming only on Node A...
    Any idea?
    Thanks,
    Dom
    System Center Operations Manager 2007 / System Center Configuration Manager 2007 R2 / Forefront Client Security / Forefront Identity Manager

    Hi,
    Which backup software do you use to do a backup? Please also try to apply those hotfix on the Cluster:
    A transient communication failure causes a Windows Server 2008 R2 failover cluster to stop working
    http://support.microsoft.com/kb/2550886
    The network location profile changes from "Domain" to "Public" in Windows 7 or in Windows Server 2008 R2
    http://support.microsoft.com/kb/2524478
    Recommended hotfixes and updates for Windows Server 2008 R2 SP1 Failover Clusters
    http://support.microsoft.com/kb/2545685/EN-US
    Regards,
    Mandy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Pin the sequence WIP_JOB_NUMBER_S in the DB Buffer Cache

    hai,
    how u pin the sequence in db_buffer_cache?????
    ( The job numbers skip to
    the next set of 100 when a user exits and then logs in)
    for resolving this issue
    Pin the sequence WIP_JOB_NUMBER_S in the DB Buffer Cache so it
    does not get flushed.
    regards
    dba

    how did you pin it? have you done the following
    dbms_shared_pool.keep('WIP_JOB_NUMBER_S','Q').
    When you shut down a database normally, either "SHUTDOWN
    NORMAL" or "SHUTDOWN IMMEDIATE", the database takes care of
    making sure all sequences are "in sequence".
    If the database experiences instance failure or a "SHUTDOWN
    ABORT" statement is issued, you lose any unused cached
    sequence values.
    fadi

  • Scanner(Warning) : 027: Unable to read the sequence number from the Workstation object.

    Hi
    We are having trouble storing inventory scans from some workstations.
    We have a windows ONLY environment, with middle tier servers. (ZEN65SP1,
    W2KSP4).
    Some workstations are storing fine. The Storer function is working and we
    can see the storer functions for the 'good' workstations in the Inventory
    service window.
    However some workstations can't store to the inventory db, but DO populate
    eDir ZENworks inventory 'minimal information' but show "Scanner(Warning) :
    027: Unable to read the sequence number from the Workstation object." in
    the Scan Status...
    The Inventory service window shows no attempt by these workstations - it's
    almost as though the scan file is not arriving (though eDir knows/displays
    the scan file name)
    How does the workstation access the scandir in Windows only/middle tier
    environment? Does the scan xml stream get sent to the MT via http and then
    on to the scandir via CIFS?
    Any suggestions/explanations welcome!!
    Many thanks
    David

    David,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at
    http://support.novell.com.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://support.novell.com/forums)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://support.novell.com/forums/faq_general.html
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • 027: Unable to read the sequence number from the Workstation object

    Environment:
    NW 6.5 sp4
    Zen 6.5 sp1
    We had a problem with our inventory server processing .STR files a couple
    months ago - had to turn off inv. policies on workstations while we resolved
    it. Now it's resolved and we're running inventory again. We have a large
    number of workstations reporting this error:
    027: Unable to read the sequence number from the Workstation object
    They have no data in the DB, although they do have minimal scan info, and
    the last scan status date matches that of the sequence number error.
    I've seen this sporadically in the past and have been able to resolve it by
    initiating a full scan on the individual workstation. However, that does
    not seem to be making a difference this time.
    Novell's troubleshooting document basically says see if the server's
    running, and see if there's data for the workstation in the db. Then call
    tech support.
    Any other ideas?
    ~~~Nicoya...

    Jared wrote:
    > Nicoya Helm,
    >
    >> 027: Unable to read the sequence number from the Workstation object
    >
    > I am thinking that this can also mean a previous full scan was not
    > found. Or maybe the STR file name is bad.
    >
    > This information is stored here
    > HKEY_LOCAL_MACHINE\Software\Novell\Workstation
    > Manager\InvScanner\"STRFileName"
    The machines I'm troubleshooting have valid formats for their STR names,
    but that doesn't necessarily mean they are valid STR sequence numbers.
    Does removing the value in the reg key cause the STR file name to be
    recreated?
    >
    > Because imaging is used, it's possible that this information is matching
    > on some machines which could cause problems.
    I've verified that none of our images contain the c:\zenworks history
    folder, and we run a script that cleans up any zenworks items before
    sysprep (i.e. makes sure there's no registration info on the
    workstations, etc). Our imaging scripts also clear any ZIS info to
    avoid any duplication as well, so I don't think imaging would be causing
    this.
    > I believe 6x also has a hist.ini file like 3x inventory does, you might
    > delete the file also.
    Good tip about the hist.ini file, I didn't know about that. It does not
    solve the sequence number error, but it does seem to force a full scan
    of the system and cause the new scan to be stored in the DB, which was
    not happening before.
    Thanks!

  • The deleted operation affects the confirmed yield of the parallel sequence

    there is a production order.
    the control key of the last operation is PP03,and it's confirmation is : Milestone confirmation.
    and the production order has a parallel sequence,a external processing operation.
    but i marked the external processing operation deleted.
    then i confirm the last operation,and it's sysstatus is CNF
    but the parallel sequence operation is not CNF.
    WHY?

    Dear,
    did you delete the operatrion after release or before the release?

  • How to get the sequence value from the database

    Hi
    I created one sequence in the database.
    Then I want to take the current value or nextvalue of the sequence in a java program.
    How can i do this?
    can anybody please explain me?
    Thank you so much.

    Here you go ...
    Connection conn = null;
    PreparedStatement prepStmt = null;
    ResultSet rs  = null;
    int seqNo = 0;
    try {
         conn = dbConn.getConnection(); //manage your connection here
         String strSQL = "SELECT SEQ_NAME.NEXTVAL FROM DUAL";
         prepStmt = conn.prepareStatement(strSQL);
         rs = prepStmt.executeQuery();
         if(rs.next())
              seqNo = rs.getInt(1);
    catch (SQLException e)
    ...-Rohit

  • Is there a way to create a renaming preset where the sequence starts at the number "0" zero?

    What I am trying to achieve is the following:
    Fro example, I am photographing a handbag and I need to rename the file using a barcode and a barcode scanner.
    My sequence of images goes like this:
    Image 1: Tag shot
    Image 2: Front
    Image 3: Back
    Image 4: Inside bag
    Let's say the barcode once scanned produces a code such as TRE8801AZT16-Z
    Right now my current preset is "Custom Text_Image # (1)"
    This results with the images being renamed as:
    TagShot: TRE8801AST16-Z_1
    Front: TRE8801AST16-Z_2
    Back: TRE8801AST16-Z_3
    Inside bag: TRE8801AST16-Z_4
    What I need is the sequence to start at zero so the tag shot is _0 and my images are named like this:
    TagShot: TRE8801AST16-Z_0
    Front: TRE8801AST16-Z_1
    Back: TRE8801AST16-Z_2
    Inside bag: TRE8801AST16-Z_3
    Is this possible? If yes, how?
    Thanks for the help
    Cody

    About as close as you can get is to right-click on a single clip and Make Multiclip Sequence. Hit OK to make an sequence out of the single clip. Open the sequence made and delete the multiclip and edit the clip you want back into the sequence.

  • What is the correct way to use Version Informatio​n from the sequence and from the deployment tool

    I seem to be missing something in how the various version numbers are supposed to be used.    My end goal is to log and possibly display in the UI the version of the sequence and which installer version was used to inspect a UUT.   I have gotten most of the way there using:
     How Can I Programmatically Query the Sequence File Version of My TestStand Sequence? 
    and logging this into the report with a function which contains:
    Parameters.UUT.AdditionalData.SetValString("Test Version",1,RunState.SequenceFile.Data.Version),
    Parameters.UUT.AdditionalData.SetFlags("",0,PropFl​ags_IncludeInReport)
    The "Deployment Version" in the TestStand Deployment Utility auto incrementing the 3rd position of a version number  while the sequence auto increment is working on the 4th.   
    My first question is are these 2 version numbers in anyway supposed to be related to each other?   As it seems to me you would want those 2 reversed, I can make several installers based on sequence version X, making changes to what supporting files are also installed.
    If they are not related as I suspect that they are not.  How do I programatically grabed the installer version and also log that into the result report?   
    is there an option to perform a custom deployment build step to log the deployment version before it builds and then reference that log at runtime of the test?

    Hi,
    The sequence file version and deployment versions are not related.
    You can build the installer with whatever version you want using the command line :
    https://decibel.ni.com/content/docs/DOC-38947
    Hope this helps,
    Ravi

  • Compare a column with the another table coulmn(which contains the sequence) and get the value which has higher sequence

    Hi All,
    I have 2 tables 
    table1: col1 sequenceid, col2 code
    table2:col1 studentID , col2 code, col3 joindate
    in table 1 i have values as 
    1 Q
    2 W
    3 E
    4 R
    5 T
    6 Y
    Table2:
    A1 Q 
    1-04-2015
    A1 W
    2-04-2015
    A3 Q 
    1-04-2015
    A2 Q 
    1-04-2015
    A3 W
    2-04-2015
    A2 W
    2-04-2015
    A2  E
    2-04-2015
    A3  E
    2-04-2015
    A1  E
    2-04-2015
    A2  R
    2-04-2015
    Now i want ouput as 
    A3 E
    A2 R
    A1 E
    I want to group the values in table2 based on studentid order by the sequence in the table1 and get the latest which is having higher sequence (Note: the date field cannot be used to order the values)

    from @table2 a inner join @table1 b on a.col2=b.col2 collate database_default)
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for

  • DS - SAP BW Source clarifications

    Hi I have to connect to a SAP BW source and want to load a BW OLAP cube. In reading the DS Tech. documentation, it says SAP BW source would be similar to reading from a ERP source i.e., use a R/3 dataflow and generate the ABAP and do the extraction.

  • Save file as ANSI: Which tool and how?

    Hi, I got only: MS Word MS Wordpad MS Notepad. I need to save a file as ANSI. How can I achieve this? Regards Mario

  • Screen too dark to see - it lights up when I plug it in a charger

    my screen is too dark to see - can see SOMETHING in background - but too dim.  I can plug into a charger and it gets normal brightness.  Sometimes it starts flashing crazily!  I am frustrated.  This phone is my third or fourth phone (lost track) and

  • Poor pdf display in internet explorer

    Hi, I've got this weird problem when I want to view a pdf on a website I am making. My Client has the same issue. It only happens in internet explorer and Chrome. The quality of the first page of the pdf is bad. When I scroll down to the second page

  • Read a file using java

    I have a file that is tooooo large which is 70,000 lines long I want to search for a specific line of the file. All I have with me is some part of the line of the file. For example : My each line has data in the following form. Information I have wit