Route Map - Delete Sequence Number

Hi All,
Taking the cisco example below, which demos how to PBR.
access-list 1 permit 209.165.200.225
access-list 2 permit 209.165.200.226
interface ethernet 1
 ip policy route-map Texas
route-map Texas permit 10
 match ip address 1
 set ip precedence priority
 set ip next-hop 209.165.200.227
route-map Texas permit 20
 match ip address 2
 set ip precedence critical
 set ip next-hop 209.165.200.228
How would i safely remove sequence number 20 from the above?
Many thanks.

Hi John,
no route-map Texas 20       worked good.
thanks

Similar Messages

  • Sequence Number in XI Mapping

    Hi All,
    I have scenario where a sequence number when mapping is done. Consider the example:
    In the source message I have one header and 10 line items in the message. The line item in the target message has a field called sequence number. When i map the source message to the target message each of the target line items hould have a sequence number in the order 1, 2, 3..10.
    How can this be done? Is there a feature in XI which lets us have a global variable which can be incremented for each line item or a java class which can generate new sequence number for each line item or something.
    I'm using message mapping. Java mapping is not used.
    Could you please help me?
    Thanks,
    Sandeep

    Hi Sandeep,
    u can follow these steps to generate a sequence no using global container.
    -> define a global variable by clicking the JAVA_SECTION_TOOLTIP icon on the design tab of source message type of ur message mapping.
    enter the following in the GlobalVariables Section
    Integer counter =0;
    -> define a user defined function (<b>SeqGen</b> let's say)
    write the following code in it.
    Integer seq = 0;
    GlobalContainer globalContainer = container.getGlobalContainer();
    a = globalContainer.getParameter("counter");
    seq = globalContainer.getParameter("counter");
    seq = seq + 1;
    globalContainer.setParameter("counter",seq);
    return a;
    now use this user defined function (SeqGen)in all ur mappings to the sequence no of ur line items.
    Hope this helps.
    Anil

  • Sequence Number in File Name

    Hi All,
    I have a requirment where the Output file name should be appeneded with a sequence number which needs to be in sync with the number of records processed.
    Each time this sequence has to be started from the previous number where it ended.
    The soultion at the moment we have used it to store each time this counter in a file and read is back and update when done. Other solution is to meke use of the Tabe on ECC side
    Is there any solution with in the map it self to maintain this number.
    Any help will be appreciated.
    Thanks
    -Kulwant

    Hi Kulwant,
    Within Mapping you cannot save the counter as container and even global variables are flushed once the mapping is executed for the message, so i think we cannot do it using mapping.
    Also, dont know if you have tried OS commands feature provided by SAP for file adapter explained in link below:
    [/people/santhosh.kumarv/blog/2008/07/27/glimpse-at-os-command-yet-another-scenario]
    We can first create the file on some temporary location of the application server and then execute a batch file which would contain the code to fetch previous count(variables in OS commands can hold this value) and increment the same and copy the flie thus created by communication channel by appending the count to file name and also delete the file created by communication channel.
    Hope this helps !
    Regards,
    Amit

  • Help me in sequence number generation

    hi
    i had written a JSP which reads and displays the all the directories in that pertucular folder
    when i click on a perticular folder it should read each and every file in that folder and it should rename it with a sequence number
    i.e file0001,file0002,file0003 etc....
    the sequence should be reset for each folder and if i add some new files in to diretory it should remember last sequence number and it should assign next number onwards to those files.
    at any point of time i may move or deete any file
    but each and every foler i should keep track of last sequence number assigned so that next onwards i can reame new files from that number
    another constraint is i may delete the files in that directory
    i am new to java
    so PLZ help me how effeciantly i can write a program
    if so PLZ provide me an example
    thanks in advance

    when i click on a perticular folder it should read
    each and every file in that folder and it should
    rename it with a sequence numberShould the files in the underlying file system be renamed or is this "renaming" just an abstraction layer you maintain yourself? In that case you can use JTree of Swing to maintain an own file structure on top of the OS. You just map "your" filenames to the real file names underneath.

  • Route map

    Can anyone tell me what a route map is and how they work, thanks
    Carl

    hi
    route maps are used for different purposes like policy based routing,controlling the routing updates also for number of administrative functionalities.
    But the usage of route maps can be found mostly inline with PBR where the forwarding is being done based on different criterias.
    Abstracts from CCO
    "They are an ordered sequence of individual statements, each has a permit or deny result. Evaluation of ACL or route-maps consists of a list scan, in a predetermined order, and an evaluation of the criteria of each statement that matches. A list scan is aborted once the first statement match is found and an action associated with the statement match is performed".
    "They are generic mechanisms—criteria matches and match interpretation are dictated by the way they are applied. The same route-map applied to different tasks might be interpreted differently".
    also check this link for more info.
    http://www.cisco.com/en/US/tech/tk365/technologies_tech_note09186a008047915d.shtml#what
    regds

  • File sequence  number in a Flat file

    Hi,
    I am working on Idoc to file scenario wherein my output file will have a sequence number assigned to each level.
    there are 4 levels and hence 4 sequence number to be genearted and its values should also have the same sequence number.
    i am doing this just by using Counter function.
    But when i am getting  a multiple detail records, for each detail record(0040) level its keep incrementing.but it should have the same value what its level has.
    for ex:
    ALPHAMER AS2 E5 710 20114806124829 01.00   
    0000 00000000 20100102 V3.0 SORD CZ1
    0010 00000001 76767 123 100 WER Constant BNG 560011 RAJ WERR     560011    BTM   X EN RT
    0020 00000001 TYUIOP
    0040 00000001 8765 6532 200 45 10 WE 20 AG
    0040 00000002 8765 6532 200 45 10 WE 20 AG
    0040 00000003 8765 6532 200 45 10 WE 20 AG
    0040 00000004 8765 6532 200 45 10 WE 20 AG
    9999 99999999
    It has to be like this.
    ALPHAMER AS2 E5 710 20114806124829 01.00   
    0000 00000000 20100102 V3.0 SORD CZ1
    0010 00000001 76767 123 100 WER Constant BNG 560011 RAJ WERR     560011    BTM   X EN RT
    0020 00000001 TYUIOP
    0040 00000001 8765 6532 200 45 10 WE 20 AG
    0040 00000001 8765 6532 200 45 10 WE 20 AG
    0040 00000001 8765 6532 200 45 10 WE 20 AG
    0040 00000001 8765 6532 200 45 10 WE 20 AG
    9999 99999999
    Can someone help me in achieving this.
    Regards

    Hi there,
    Just to try out from a different view, the following case could be implemented if the pre-requiisites are satisfied:
    Pre-requisites:
    1) The element that carries a primary factor, let us say, '8765' from your example.
    2) Functionally there is an element in your header item that relates the line items under it.
    My understanding of your example:
    1) Line items present for 00, 10, 40
    2) Line item 30 absent in the series
    Proposal:
    Map source field (the one that is arelating factor, here the one that carries '8765') -> INDEX (start by 0, increment by 1) -> multiply by one.
    INDEX standard function property: Donot Reset for every context;
    Srikanth Srinivasan
    Edited by: Srikanth Srinivasan on Jan 10, 2011 11:02 AM

  • Sequence Number does not allowed here

    Hi,
    I am inserting rows in a table called membership with seqence number membership_id.nextval. But i am getting error like
    "Sequence number not allowed here"
    Before i inserted about 3852 rows in that table
    Here is the statement i am using
    INSERT INTO MEMBERSHIP (membership_id,ACTIVIST_ID,G_N_ID,ROLE_ID,
    REGION_ID,START_dATE,END_DATE,STATUS,state_id)
    SELECT membership_id.nextval,a.activist_id,G.g_n_id,R.ROLE_ID,
    '',mwlgmemship.start_date,'','Active',''
    FROM activist a,
    role r,
    group_network g,
    final.mwlgmemship mwlgmemship,final.mwlgmem mwlgmem
    WHERE
    a.first_name=mwlgmem.fname and a.last_name=mwlgmem.lname and a.c_zip_code=mwlgmem.czip and
    a.c_country=mwlgmem.country and mwlgmem.person_id=mwlgmemship.person_id and
    to_char(mwlgmemship.grno)=g.g_n_reference and mwlgmemship.role_id=r.role_id order by r.role_id
    I could not understand the problem, please help me
    I am selecting the other fields from other tables.
    Thanks
    Srinivas

    Restrictions on Sequence Values You cannot use CURRVAL and NEXTVAL in the following constructs:
    A subquery in a DELETE, SELECT, or UPDATE statement
    A query of a view or of a materialized view
    A SELECT statement with the DISTINCT operator
    A SELECT statement with a GROUP BY clause or ORDER BY clause
    A SELECT statement that is combined with another SELECT statement with the UNION, INTERSECT, or MINUS set operator
    The WHERE clause of a SELECT statement
    The DEFAULT value of a column in a CREATE TABLE or ALTER TABLE statement
    The condition of a CHECK constraintAbove text is from the sql reference manual.
    HTH
    Regards
    Raj

  • Sequence number in ADF FORM.

    hi All,
    I have a table with ID as primary key and have a sequence created for this primary key and have a trigger for generating sequence number while inserting the record in table.
    How can i map this Sequence in ADF so while inserting record from Form i can skip the ID column.
    Regards,
    Suresh kumar

    I am using MySQL and primary key is auto incremented in my table. Therefore I have selected
    SQL Plateform     :     SQL92     
    Data Type Map     :     Java
    When I am trying to create entiry object, I do not get option of selecting DBSequence. I did some documents reading, I found out that DBSequence is part of "*Java Extended for Oracle*" Data type Map.
    While creating the EO , in the Attribute Settings, I click the Browse and search for DBSequence. I found out oracle.jbo.domain.DBSeqence.
    Can someone please let me know that I am going to face any problem in future by using DBSequence in his manner?
    Thanks in Advance.

  • File name generation with sequence number

    Hi All,
    My scenario is, File to File.  I need to generate the filenames at the target side like File1.xml, File2.xml..File9999.xml for each file triggered from source system. The interface tiggesrs multiple times in a day.
    For example, for the first time, 5 files triggered, need to generate File1.xml,File2.xml..File5.xml. After some time the interface might trigger with 10 files, then need to generate files as File6.xml,File7.xml....File15.xml . Once the file count reaches 9999 then need to generate the files from  1 (File1.xml)again.
    Could you please suggest me the possible solutions. For this any Lookups required?
    Regards,
    Praveen Kumar

    Hi Praveen,
    Case 1: If a field in source data carries the information regarding the sequence.
                 You can map this value ( Directly .. or using some transformation ) in some temporary field in the target and then use a Variable substitution at the receiver communication channel.
    Case 2. If the source file name carries the sequence information. then you can enable the Adapter specific settings in the Sender communication channel , and then get the information of the source file name using the Container object in the mapping. Then assign the sequence number to a field in the target , use a Variable substitution at the receiver communication channel.
    Case 3 : If Case 1 and Case 2 are not applicable ... then you have to use a  Ztable  to store the sequence number , a function module to fetch the number , and then use a UDF  in which you will implement the  RFC call logic.Then the same process ....      assign the sequence number to a field in the target , use a Variable substitution at the receiver communication channel.
    BR,
    Sushil.

  • Sequence number/counter in File name using FTP

    Hi
    I have to add sequence number in the file name. How can i do that? everytime file generates it should pick up the latest file number.
    Example File1 File2 File3. 1,2 and 3 are the sequnce number.
    Regards

    Hi ria,
             You can do this by dynamic file creation. Use this following code and cretate an UDF. The map the required file format to the target header structure as below;
    UDF
    sequence number:
    IDENTIFIER is the parameter
    Import com.bp.xi.util.*;
    Code:
    return ServiceUtil.getSequenceValue( IDENTIFIER, container, false );
    Dynamic file:
    Key & Value is the parameter
    Code:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get( StreamTransformationConstants.DYNAMIC_CONFIGURATION );
    DynamicConfigurationKey confkey = DynamicConfigurationKey.create( "http://sap.com/xi/XI/System/File",  Key );
    conf.put( confkey, Value );
    return "";     
    Input parameter "Key" is given a constant value"FileName"
    Second parameter "Value" is the file pattern
    Mapping
    Constant(File)concat function sequence numberUDF ==> Dynami File udf ==>target header record.
    In the receiver communication channel check the adapter specific function, filename
    points if useful
    regards,
    Murugavel

  • Owb beta 3 / master detail mapping with sequence ora-00936 error

    I'm not able to use sequence operator in mapping to create relationships between different record type from the same flat file. I have got an sql error ORA-00936: expression absente
    The problem seem to be the sequence is not referenced in the sql loader parameter. The sequence exists, was deployed sucessfully, the mapping is validated and successfully deployed. The problem occurs during execution

    Good afternoon "micwic",
    In general, mappings with flat files make use of data generators, not sequence operators. This is what the User Guide (10gR1 but I guess R2 works similar) says for the Data Generator Operator :
    Use a Data Generator operator to provide information such as record number, system date, and sequence values.
    For mappings with flat file sources, the Data Generator operator also provides a place to enter constant information. For mappings with Flat File sources and targets, the Data Generator operator connects the mapping to SQL*Loader to generate the data stored in the database record.
    The following functions are available:
    RECNUM
    SYSDATE
    SEQUENCE
    It is possible for Warehouse Builder to generate data by specifying only sequences, record numbers, system dates, and constants as field specifications. SQL*Loader inserts as many records as are specified by the LOAD keyword.
    Setting a Column to the Data File Record Number
    Use the RECNUM keyword to set an attribute to the number of the records that tthe record was loaded from. Records are counted sequentially from the beginning of the first data file, starting with record 1. RECNUM increments as each logical record is assembled. It increments for records that are discarded, skipped, rejected, or loaded.
    For example, if you use the option SKIP=10, the first record loaded has a RECNUM of 11.
    Setting a Column to the Current Date
    A column specified with SYSDATE gets the current system date, as defined by the SQL language SYSDATE function.
    The target column must be of type CHAR or DATE. If the column is of type CHAR, then the date is loaded in the format dd-mon-yy. After the load, you only access it in that format. If the system date is loaded into a DATE column, then you can only access it in a variety of formats including the time and the date. A new system date/time is used for each array of records inserted in a conventional path load and for each block of records loaded during a direct path load.
    Setting a Column to a Unique Sequence Number
    The SEQUENCE keyword ensures a unique value for a column. SEQUENCE increments for each record that is loaded or rejected. It does not increment for records that are discarded or skipped.
    Recommendation: For PL/SQL mappings use a Constant Operator or Mapping Sequence Operator instead of a Data Generator.
    etc.
    Good luck, Patrick

  • "Sequence number already exists in table" maintining Data Sources

    Hi fellows, i am seting up a new connector in GRC 10.0, but when configuring the connector for the User detailed Data sources i get the same error; "Sequence number already exists in table".
    I have tried with over 200 numbers which I know for sure are available and still get the same error. Where can I find the table with this information?
    Can the information be removed to clean up table space?
    Thanks for your help!!!

    Hi Gabriela
    I recall getting this error a lot and it seemed to be a buffering/memory problem where it was remember the old value was getting remember. I had to exit out of the IMG navigation and reenter it again. It'd happen if I deleted one entry and then went to add another (even after saving). Not sure if you are getting this
    Other thing is to check the backed tables to see if any orphaned values on the primary key
    Regards
    Colleen

  • Sequence Number for messages

    Hi,
    I need to implement a sequence number in the target structure for each time a message mapping is executed.
    As far as i can see on this forum and on sap.help.com it can be easily done with RFClookup inside the message mapping, and best implement something on abap-stack.
    I need to decide on using either a z-table or a number range and i need to decide whether to use PI abap stack or ECC abap stack.
    Any comments are useful.
    kr
    Robert

    Hi Bhavesh,
    I get interesting considerations on my question.
    It will be sequentially, almost for sure,  because i get this message via flatfile.
    Your second consideration is also interesting. Maybe the source can provide, maybe not (i'm not sure)
    Even more interesting if it is really necessary at the receiver side. This i actually asked the business, but still waiting for an answer. Meanwhile i just started looking around for the correct solution.
    kr
    Robert
    On second thought. It will be unique if i use number ranges with RFC lookup, because each number can only be used once.
    Edited by: R. den Hoedt on Mar 16, 2011 4:37 PM

  • Sequence number adjustment in the column

    In my table maintenance generator,
    I have one field called sequence number which increments by '1', each time user enters a new record in my table maintenance generator(have coded in such a way).
    now the internal table, under sequence column if some records get deleted,
    then the numbering of that column should be adjusted automatically.
    Like
    1st record -     1 A B D
    2nd record -     2 A B C
    3rd record -     3 A B D
    4th record -     4 A B C
    5th record -     5 E D F
    If some user deletes 3rd record , then instead of showing the TMG as below
    1st record -     1  A B D
    2nd record -     2  A B C
    3th record -     4  A B C
    4th record -     5  E D F
    the TMG should should show  as
    (I need that to be sequence column adjusted as )
    1st record -     1  A B D
    2nd record -     2  A B C
    3th record -     3  A B C
    4th record -     4  E D F
    My thought is to write on new module in PAI,
    and buils the logic in case of syst-ucomm = 'DELE'.
    Please suggest me any function module availble or any good logic for this
    Thanks in ADV.

    This really isn't the way the TMG was meant to be used. Normally, one just uses it to manually add change or remove individual records, not a number of records based on some logic. It would probably be simpler to build a simple dynpro to take care of this.
    Rob

  • Sequence number - increment one for every 3 rows

    Dear All,
      I want to get a sequence number /group number, which increments 1 for every 3 rows. 
      For Example:
       Seq     Name   
        1          a
        1          b
        1          c
        2          D
        2          E
        2          F
        3          G
        3          H
        3          I
        4          abc
        4          aaa
        4          bbb
    Is there a function to do this?

    Please post DDL, so that people do not have to guess what the keys, constraints, Declarative Referential Integrity, data types, etc. in your schema are. Learn how to follow ISO-11179 data element naming conventions and formatting rules. Temporal data should
    use ISO-8601 formats. Code should be in Standard SQL as much as possible and not local dialect. 
    This is minimal polite behavior on SQL forums. Did you read the header of this forum?? But besides being rude, you are also ignorant.  A table has no ordering, so
    there is no concept of every third row. What are you using for a sort key? What happens when a new row is added to or deleted from this table? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

Maybe you are looking for

  • Firefox will not download journal articles (PDFs) from PubMed. Why? Internet Explorer will download them.

    I go to the USC e-journals, as I have done with Firefox for years. Now, when I find a journal article that I want and try to download it, nothing happens. I get a blank screen. If I use Internet Explorer, I can download the article (PDF) and print an

  • HTTP Error 403.16 - Forbidden, Your client certificate is either not trusted or is invalid.

    Dear Experts, I have tried mutual authentication with sample website as per below link: http://itq.nl/testing-with-client-certificate-authentication-in-a-development-environment-on-iis-8-5/#comment-19427 1. Created a Root certificate, client and serv

  • I-tunes will not open/ window error message

    I along with several others seem to have gotten this message. I have tried to reinstall i-tunes, scanned my computer with spy bot and ewido, changed my fire wall settings in both windows xp and norton anti virus. None of these seem to work. I have tr

  • Using smart playlists with my iPod to manage podcasts

    I see that a few people had the same problem as me, where I can't advance my podcasts to the next segment without returning to the main menu each time. My old iPod did this without a problem, but the bad thing was that podcasts were treated the same

  • ALV-Sizing

    Hey all, I would like to display a ALV table from the left to the very right in a window. What I did - defined a view with ROOTUIELEMENTCONTAINER -> Flow Layout - defined a group with Flow Layout - 100% width - defined a viewcontainerUIElement in thi