Making a function private

Trying to adjust a function in a package to make it private. And then adjust the procedure to utilize the function to display the results of the function
I seem to be going in circles HELP!!!
Thanks
Mat
This is the original Package
CREATE OR REPLACE PACKAGE order_info_pkg IS
FUNCTION ship_name_pf
(p_basket IN NUMBER)
RETURN VARCHAR2;
PROCEDURE basket_info_pp
(p_basket IN NUMBER,
p_shop OUT NUMBER,
p_date OUT DATE);
END;
CREATE OR REPLACE PACKAGE BODY order_info_pkg IS
FUNCTION ship_name_pf
(p_basket IN NUMBER)
RETURN VARCHAR2
IS
lv_name_txt VARCHAR2(25);
BEGIN
SELECT shipfirstname||' '||shiplastname
INTO lv_name_txt
FROM bb_basket
WHERE idBasket = p_basket;
RETURN lv_name_txt;
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('Invalid basket id');
END ship_name_pf;
PROCEDURE basket_info_pp
(p_basket IN NUMBER,
p_shop OUT NUMBER,
p_date OUT DATE)
IS
BEGIN
SELECT idshopper, dtordered
INTO p_shop, p_date
FROM bb_basket
WHERE idbasket = p_basket;
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('Invalid basket id');
END basket_info_pp;
END;
And this is my adjusted one with the returned errors
CREATE OR REPLACE PACKAGE order_info_pkg IS
PROCEDURE basket_info_pp
(p_basket IN NUMBER,
p_shop OUT NUMBER,
p_date OUT DATE,
p_shipname OUT VARCHAR2);
END;
CREATE OR REPLACE PACKAGE BODY order_info_pkg IS
FUNCTION ship_name_pf
(p_basket IN NUMBER)
RETURN VARCHAR2
IS
lv_name_txt VARCHAR2(35);
BEGIN
SELECT shipfirstname||' '||shiplastname
INTO lv_name_txt
FROM bb_basket
WHERE idBasket = p_basket;
RETURN lv_name_txt;
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('Invalid basket id');
END ship_name_pf;
PROCEDURE basket_info_pp
(p_basket IN NUMBER,
p_shop OUT NUMBER,
p_date OUT DATE,
p_shipname OUT VARCHAR2)
IS
BEGIN
SELECT idshopper, dtordered, ship_name_pf(p_basket)
INTO p_shop, p_date, p_shipname
FROM bb_basket
WHERE idbasket = p_basket;
DBMS_OUTPUT.PUT_LINE(p_basket||' '||p_shop||' '||p_date||' '||p_shipname);
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('Invalid basket id');
END basket_info_pp;
END;
Errors for PACKAGE BODY ORDER_INFO_PKG:
LINE/COL ERROR
24/4 PL/SQL: SQL Statement ignored
24/33 PLS-00231: function 'SHIP_NAME_PF' may not be used in SQL
24/33 PL/SQL: ORA-00904: : invalid identifier
SQL>

Hi,
It is because you are trying to use a private function in an SQL statement. Just call the function outside the SQL:
PROCEDURE basket_info_pp
(p_basket IN NUMBER,
p_shop OUT NUMBER,
p_date OUT DATE,
p_shipname OUT VARCHAR2)
IS
BEGIN
SELECT idshopper, dtordered
INTO p_shop, p_date
FROM bb_basket
WHERE idbasket = p_basket;
p_shipname := ship_name_pf(p_basket);
DBMS_OUTPUT.PUT_LINE(p_basket||' '||p_shop||' '||p_date||' '||p_shipname);
EXCEPTION
WHEN NO_DATA_FOUND THEN
DBMS_OUTPUT.PUT_LINE('Invalid basket id');
END basket_info_pp;
END;

Similar Messages

  • TS3999 making an appointment private

    I'd like to be able to manage my appointments on a shared calendar by making some events private.  This way others that I share my calendar with can't see the details, but they can see the time is unavailable.  How can I do this with the icloud calendar?

    The simple but most likely unsatisfying answer to your question is, you cannot do that.

  • Starting Over - Making a functional OS X Server

    Friends, I need some help here.
    I built my OS X Server first as an Advanced Server and frankly it was about as unintuitive as I've ever seen, Novell OES, SUSE Linux, Microsoft were all easier to get the piece parts working. I searched online for books and all of them are either out of date or have extremely poor ratings. I downloaded all the guides from Apple and while nice they are very basic and lack any kind of really useful detail.
    I have a mostly working server now or more correctly again. The web server functions properly and I can again see the groups and users pages. Webmail is broken again as is iCal. It runs on the server or is at least running, but I can no longer connect to it from any client workstations. Wikis and blogs are working, I can connect to the server from the Macs and presume that the server is advertising properly on SMB (no Windows workstations here at this time).
    The frustration is that I cannot send email from the server (it times out constantly, that I cannot depend upon the configuration (earlier today web services wanted only to connect to the server.domain.com addressing. Webmail had been working and now is not for reasons unknown.
    I had hoped to bring the domain in house instead of hosting externally for a number of reasons. Thus far I cannot see doing this due to the ongoing instability of services. I wanted to use OS X server to leverage the incredible success of the Mac workstations, but on a server instead.
    I am prepared to blow the whole thing away and start over again to make a fully functional server. I'd appreciate to hear from anyone who has made this work fully and would appreciate guidance in making this so. Until today outbound mail was my only real concern, but I have not yet turned on podcast or quicktime services. I do not use DNS or DHCP as services since I have a router doing DHCP and am passing DNS info through it. The server IP address is statically assigned as one would expect. Port forwarding has been configured on the Airport Extreme for SSH (works) POP and Secure POP (untested - don't like POP), IMAP (works), web 80 (works), web 443 (untested - had issues trying to make https work on the server). I also set up forwarding for port 587 but don't know if it's even necessary. I admit to not being any kind of expert when it comes to Mail servers
    I find that although Server Admin and Server Preferences are simple front ends, they lack the richness to get deep (or at least that's my perception so far). I also find that changes to one component has an impact on others (working with mail breaks iCal) and this troubles me greatly.
    Thanks to any and all in advance.

    Now I'm getting somewhere, or at least I think I am.
    Your server should have a static ip outside the dhcp range. assign one first.
    Check. Been that way all along.
    then, configure the dns service on the server itself via server admin.
    create a primary zone for your LAN. it can be real (example.com) or an imaginary, non-routable domain (internal.office). i usually stick with a real domain so that clients can access services inside or out via name instead of monkeying around.
    Check outridertechnology.com is the primary zone
    create at least one A record for the server itself. when doing this, server admin will automatically create a PTR record for it. forward and reverse name resolution is critical.
    Check it created a machine record with the server name leopard1 and it's address 192.168.1.51
    with at least that done, enable dns (turn it on).
    Check done
    verify it's working by adding the server's IP as first resolver in the network preferences (system preferences -> network -> active interface -> dns). i usually add the loopback (127.0.0.1) address and the search domain (the domain for which you created a dns zone above, like example.com).
    Check did this. Note now that Safari running on the server can find www.outridertechnology.com when I make the first resolver and search domains 127.0.0.1 and outridertechnology.com but it reports that blogs and wikis are not active. If I go to the web server from a workstation that still only uses the ISP DNS server, I see the wikis and blogs as active. There's probably a step missing by me somewhere.
    then dig to verify the forward and reverse lookup. assuming your server's (server.example.com) at 10.12.14.2:
    dig server.example.com (should result in an answer pointing to 10.12.14.2)
    dig -x 10.12.14.2 (should result in an answer pointing to server.example.com)
    Check from Terminal on the server itself dig leopard1.outridertechnology.com points to 192.168.1.51 dig -x on 192.168.1.51 points to leopard1.outridertechnology.com
    you can also use host, nslookup… whatever you're used to using.
    Umm not sure here. Host reports that outridertechnology.com 's mail is handled by leopard1.outridertechnology.com NSLOOKUP says outridertechnology.com cannot be found, says 127.0.0.1
    then, once that's established, i'd add it as the first resolver for the dhcp client range so that all clients are on the same page. if dhcp is running on the airport, add it there within the dhcp range. add the ISP's dns servers as secondary, tertiary. there's also a section within the dns config area of server admin to assign forwarders. add the ISP's dns server's there. in 10.4 and below, this involved a manual edit to the named config file. of course, you can still edit named.conf and the zone files manually, but server admin may step on your changes later if you add features not available via the gui.
    Have not changed the router or the clients since it appears that something still is not right
    do this and then proceed. i understand you have dns configured externally, but you really need a dns server on the LAN for all this to work.

  • When making a function module, what is difference between test /unit test

    best regards,

    Hi,
    ABAP Unit Tests
    Structure of Unit Tests
    An ABAP Unit test unit (TU) can be a class, function pool, executable program, or module pool. You can call ABAP Unit for testing individual TUs from the Class Builder (SE24), Function Builder (SE37), ABAP Editor (SE38), and SE80. Mass tests can be carried out from the Code Inspector.
    You organize your tests into classes and then into test methods, which are all part of the TU. The system checks small units within the TU, hence the name ABAP Unit. The aim of a test method is to check whether a unit returns the desired result. For this purpose, there are methods of the service class CL_AUNIT_ASSERT that execute comparisons between target and actual values calculated by a unit. The results of all unit tests of a TU are then shown in the ABAP Unit result display.
    Example
    Let us look at an example to help clarify this. Our minimalist TU is a percentage calculator that delegates this task to a subroutine:
    REPORT  Percentages.
    PARAMETERS: price TYPE p.
    PERFORM minus_ten_percent CHANGING price.
    WRITE price.
    FORM minus_ten_percent CHANGING fprice TYPE p.
      price = fprice * '0.9'.
    ENDFORM.                    "Minus_ten_percent
    We add a test class to the report, which tests whether the subroutine correctly calculates the percentage for a specific value.
    CLASS test DEFINITION FOR TESTING.  "#AU Risk_Level Harmless
    "#AU Duration Short
      PRIVATE SECTION.
        METHODS test_minus_ten_percent FOR TESTING.
    ENDCLASS.                   
    CLASS test IMPLEMENTATION.
      METHOD test_minus_ten_percent.
        DATA: testprice type p value 200.
        PERFORM minus_ten_percent CHANGING testprice.
        cl_aunit_assert=>assert_equals( act = testprice exp = 180
                            msg = 'ninety percent not calculated correctly').
      ENDMETHOD.                   
    ENDCLASS.  
    The test class and the test method TEST_MINUS_TEN_PERCENT are recognized by the tool through the addition FOR TESTING. The additions "#AU RISK_LEVEL HARMLESS and "#AU DURATION SHORT are not optional comments but annotations containing required technical information. With RISK_LEVEL you specify to what extent, if at all, executing the test endangers critical data. The time is specified so that any tests in endless loops are automatically cancelled due to a timeout.
    In the transaction SAUNIT_CLIENT_SETUP, you can make settings for an entire system with regard to the RISKLEVEL of tests and the times assigned to the individual attributes that specify the permitted duration (DURATION: SHORT, MEDIUM, and LONG). For example, in some development systems you will want to prohibit tests that change important data. If the test is cancelled for any reason, it is possible that some data may be left with invalid values or in an inconsistent state. Therefore, you will set the permitted RISKLEVEL suitably low in such systems.
    Service of the Class CL_AUNIT_ASSERT
    As parameters, the service method CL_AUNIT_ASSERT=>ASSERT_EQUALS requires a target value and an actual value, which is the result of the tested calculation; it then compares the two values. The MESSAGE parameter should contain a text that explains what went wrong during the test. You can also pass a parameter with the service method CL_AUNIT_ASSERT=>ASSERT_EQUALS that specifies the severity of the error, as well as a parameter stating how to proceed if the test fails: Should the test method simply continue, or should the current test method, the entire test class, or all tests of the TU be canceled?
    In addition to this method, the class CL_AUNIT_ASSERT also provides other methods, which execute different checks and pass the results to the framework. Most importantly, you should note that you can use the parameters of the methods of the service class CL_AUNIT_ASSERT to control the flow of the whole unit test and include information in the test methods that will later provide you with important details about any errors in the result display.
    ABAP Unit Result Display
    On the left side of the result display, all the tests of your TU are grouped into a task. In our case, this is only one test class with a single method:
    Via the name of the method, you can see what parts of the test method caused errors during the test:
    The message you passed with the service method is displayed at the top. Below that, you can which values diverge and can navigate to the class via the stack line.
    In our example, a closer examination of the code reveals that the input parameter of the report was confused with the change parameter of the subroutine.

  • Making a new private network.

    I want to build a network - private network. I have 80-90 sites with up to 14 hosts on each site. The hosts comunicate with a server. Not much trafic. Can I use a couple of 2924-XL-EN to connect the sites together? And from the switches a connection to another 2924 where I have the server?

    Instead of using a complete layer2 network design, I would start looking at Layer3 segmentation and fault isolation. If all 90 sites were connected with nothing but layer2 switches, you would have issues with STP convergance, broadcast storms, etc. Essentially, a single user with a bad nic or virus could take down the entire network. Depending on your requirements, you could do a hub-and-spoke design and have each site connect to a layer3 router at the hub of your design. From this you can provision subinterfaces per site and allow vlans per site. This would shrink the broadcast domain per site, and reduce the risk of a single site taking out the entire network. The layer3 device at the hub could provide inter-vlan routing to provide communication with all the sites. Or if distance is a factor, you could provision a lower end router per site (1710 or something) and have this router connect to a slightly higher end layer3 device (2800 or something depending on your traffic requirements). This would be a more scalable design and allow you to provide more services in the future. If you wanted to go all out with it, you could provision some kind of 2800 per site with a 3800 at the hub. Then you could run MPLS VPNs. Each site would have a router capable of label imposition and your at your hub, your router could function as a P router. You could also place your server into a central services VRF and do selective import and export of the VPN routes. This gives you the ablility to further segment your network (possibly start selling Internet access or service access to various customers) and still keep everything private.
    Hope this helps.

  • Making section of private site publicly visible

    I have one section of an otherwise private iTunes U site that I would like to make visible, because it contains content from our university's radio station and student newspaper that they would like the public to be able to see.
    I have set the All and Unauthenticated credentials to have download access on the main site welcome page, and then made sure that this only cascades down to that section and the course pages it contains. I have overridden this download access for All and Unauthenticated to give them no access to other sections, divisions, and course pages.
    I am able to link directly to the course pages for the radio station and the newspaper and view/download content without needing to log in. However, when I access the main site welcome page without logging in, all that shows up is my header graphic and my links boxes. The section that I am trying to make public and the course pages it contains do not show up on the main site page as I think they should.
    Can anyone help?
    Eric

    Another option is my DW Extension called PasswordProtect6.
    Check it out at:
    http://valleywebdesigns.com/vwd_passprotect6.asp
    emichael brandt
    Jeremy Williams wrote:
    > Does anyone know whether or not there is a way to make a
    section of a web site
    > password protected without making the pages dynamic and
    setting up an online
    > database? There is only going to be one password and, if
    necessary, one user
    > name. I was hoping that I could get a pop-up box to come
    up, or just an intro
    > page asking for the user to enter the 'general password'
    to continue to the
    > pages in that section.
    >
    > Usually, I do make the pages dynamic with the usual
    registration and log-in
    > pages. I know that there may be a problem with making
    sure the other pages are
    > secure in case someone just types in the url address,
    therefore bypassing the
    > intro page or pop-up box. Thank you in advance for any
    input you may have!
    >

  • Webcenter Spaces - Making page within 'Private' space accessible to public

    Hi,
    I have create a space within Webcenter Spaces, and set it as a private space. This space is a sub-space of another space which has been set to public.
    Within this space, I have create a new "Home" page (which will be the first page that is visible when a user accesses the space).
    I have changed the page access method on this page from "Use Application Permissions" to "Use Custom Access settings", and then clicked the "Add Public access Link",
    similar to what can be seen in this image:
    http://download.oracle.com/docs/cd/E21764_01/webcenter.1111/e10149/img/wcsug_gs_setpageacc3.gif
    I assume that this should make the page visible to non authenticated users, but when I try to access this space via the DIRECT URL to the space or page (without being logged in), I am redirected to the login page.
    I though that this was how it was supposed to work? That you can expose a page within a private space, to public users?
    It seems to be explained the same way here:
    http://download.oracle.com/docs/cd/E12839_01/webcenter.1111/e10149/gspace_build.htm#CHDBHDGJ
    I know the above is old documentation, but the newer doco doesn't explain it quite as well.
    I am really trying to understand what actually happens when you "Add Public Access" to a page? What does this functionality do?
    Or...is there another way I can accomplish this task? I know I can change the space role to give them extra permissions to "View Pages", but I don't want my public users to view ALL the pages in the space (because for example, if they can see the "Discussions" page, but then click on it and don't have access to discussions, it is not a very elegant solution). Ideally I want the users to just see the home page which will just have a description about the space, and if they are interested, then they can join.
    Amanda.

    Amanda,
    first of all, this is a wrong forum. You should have used this one: WebCenter Portal
    Second, I think the key sentence is:
    Private (Space): People can discover this Space in search results and in the list of available Spaces, and can subscribe to it if invited to join or if self-subscription is enabled.
    I'm wondering how do you expect non-authenticated users (thus, not-invited) to access a page, if they cannot see even the space? By space's and page's pretty URL? I'm not sure, but I can guess the system is not designed that way.

  • Making static function generic

    I'm trying to move this function into an abstract util class
    Something like abstract class ListUtil
    The first method that it should contain is the following:
        // Util function to grab a column of a matrix for each row.
      public List<BufferedImage> grabCol(List<List<BufferedImage>> matrix, int col) {
        List<BufferedImage> cols = new ArrayList<BufferedImage>();
        for (List<BufferedImage> row : matrix) {
          cols.add(row.get(col));
        return cols;
      }But I would like it to be general for any type of matrix(list within list)
    I tried to replace BufferedImage with ? but when I made the function static it wouldn't compile.
    How can I make this function reusable?

    package wat;
    import java.util.*;
    public final class MatrixUtils {
          * This is a static utility class. It cannot be constructed.
         private MatrixUtils() {}
          * Grabs the entries of each inner List in the given matrix at the given
          * columnIndex.
          * @param <T>
          *            Type of the elements in the inner Lists.
          * @param matrix
          *            List of lists (rows) containing the source elements (columns).
          * @param columnIndex
          *            Element index of each inner List (row) in the matrix to return
          *            in the resulting List.
          * @return the entries of each inner List at the given columnIndex
          * @throws IndexOutOfBoundsException
          *             if an inner List has no element at the given columnIndex
         public static <T> List<T> columns(List<? extends List<? extends T>> matrix, int columnIndex) {
              // Pre-initialise the size of the result to match
              final List<T> result = new ArrayList<T>(matrix.size());
              for (List<? extends T> row : matrix)
                   result.add(row.get(columnIndex));
              return result;
         public static void main(String[] args) {
              List<List<Integer>> ints = new ArrayList<List<Integer>>(20);
              for (int row = 0; row < 20; row++) {
                   List<Integer> rowData = new ArrayList<Integer>(20);
                   ints.add(rowData);
                   for (int column = 0; column < 20; column++)
                        rowData.add(row * 20 + column); // auto-boxing int -> Integer
              System.out.println(columns(ints, 7));
    }s

  • Request(recommendation) : making a function of driving mode for safety.

    The function of DRIVING MODE must be a useful function which can make response by sending a automatic return massage from MSG or calling during driving a car. I believe this function helps us to be safe!!! :-)

    The only reason you could be unsafe if you receive a message or call whilst driving is if you read it or reply to it whilst driving. The simple solution is don't do that.
    Having the phone send an auto-reply will not change how safe you are.

  • Making a file Private

    Is ther anyway to make a file private so that you have to enter your password before someone can open it?

    Click here and follow the instructions; don't put the password in the keychain, and unmount the disk image whenever you're finished using it.
    (27975)

  • Making a function using the update query - Error message PLS-00103

    I keep getting the following error message in my pl/sql developer everytime, I try creating this function in my package
    PLS3-00103 Encountered the symbol ";" when expecting one of the following return
    Kindly note, what I am trying to do is get a user inputs to perform an update for a specific row in a table called accountingtable which is located in the ccl schema. I dont want to make a return though in my update function.
    Specfication of the package
    FUNCTION update_price(needed_newprice in ccl.accountingtable.price%rowtype,
    partforupdate in ccl.accountingtable.part_id%rowtype,
    colourpart in ccl.accountingtable.colour_id%rowtype);
    body of package
    FUNCTION update_price(needed_newprice in ccl.accountingtable.price%rowtype
    partforupdate in ccl.accountingtable.part_id%rowtype,
    colourpart in ccl.accountingtable.colour_id%rowtype);
    BEGIN
    update accountingtable
    set price = (needed_newprice)
    where part_id = (partforupdate)
    and colour_id = (colourpart );
    END update_price;
    Thanks in advance for any help.

    Hi,
    Never write, let alone post, unformatted code. Indent the code to show the extent of each function, blocks within each function, nested calls, and things like that.
    When posting formatted code on this site, type these 6 characters:
    \(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
    Post complete statements that people can run to re-create the problem.
    There should not be a semicolon immediately after the argument list of a function in the package body, but you do need to sepcify what datatype the function will return, and then have the keyword IS (or AS).
    That is, a function starts like this in the package body :FUNCTION fubar
         in_id          IN     INTEGER
    RETURN     VARCHAR2
    IS
    BEGIN
    The same function is declared in the package spec like this:FUNCTION fubar
         in_id          IN     INTEGER
    RETURN     VARCHAR2;

  • Making 'Search' function

    Hey guys, what is the best way to make a 'Search' function for the whole site I am creating in DreamWeaver CS3?
    thanks

    Sorry, but 'best' is ambiguous. What are your requirements in terms of cost, functionality and complexity?
    In any case, you might want to start looking at zoom www.wrensoft.com/zoom and also search this forum for previous answers to this questions.

  • Making Z Function Modules uni code complaint

    Hi ,
    we are in the process of upgrade to ECC 6.0 and the ABAP programs are have been made uni code complaint
    but the Function modules still have uni -code errors they are uni code active so is there a solution whereby we can do so

    Raghav,
    For Function Modules, the corresponding Programs are their Function Groups.
    So the Program names start with SAPL followed by the Funciton Group name Zxxxxxxx.
    Check the programs for Unicode compatability as the same way it has been done for Custom Programs.
    OR
    SE37
    Function Module Zxxxxxxxxxx
    Click 'Display'.
    Select 'Attributes'.
    Program Name : SAPLZxxxxxxx
    Check the programs for Unicode compatability as the same way it has been done for Custom Programs.
    Regards,
    Bobby

  • High CPU with error "%ADJ-3-RESOLVE_REQ:" in Catalyst 4500-X VSS after making L3 function (static routing)

    We have a VSS based on 2x WS-C4500X-16., The VSS is used as Layer 2 Switch for diffrents Vlan in our DC.
    After making the VSS as a Layer 3 gateway for our production VLAN and added 2 routes for routing purposes, we encountered a network down time with high CPU in the VSS and  a huges log messages : 
    .May 14 12:11:25.947: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.7.22 Vlan100
    .May 14 12:11:34.516: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.7.22 Vlan100
    .May 14 12:11:40.072: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.1.1.254 Vlan100
    .May 14 12:11:49.682: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.1.253 Vlan100
    .May 14 12:11:55.079: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.1.1.254 Vlan100
    .May 14 12:12:00.926: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.7.40 Vlan100
    .May 14 12:12:06.701: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.8.32 Vlan100
    .May 14 12:12:12.624: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.7.40 Vlan100
    .May 14 12:12:21.627: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.7.40 Vlan100
    .May 14 12:12:32.261: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.8.32 Vlan100
    .May 14 12:12:41.801: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.2.105 Vlan100
    .May 14 12:12:49.633: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.1.253 Vlan100
    .May 14 12:12:54.831: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.1.1.254 Vlan100
    .May 14 12:12:59.960: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.1.1.254 Vlan100
    .May 14 12:13:08.745: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.1.253 Vlan100
    .May 14 12:13:16.138: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.1.253 Vlan100
    .May 14 12:13:22.393: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.1.253 Vlan100
    .May 14 12:13:31.415: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.1.141 Vlan100
    .May 14 12:13:38.944: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.2.215 Vlan100
    .May 14 12:13:45.972: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.1.253 Vlan100
    Bellow are the show version of our VSS, 
    Cisco IOS Software, IOS-XE Software, Catalyst 4500 L3 Switch Software (cat4500e-UNIVERSALK9-M), Version 03.04.00.SG RELEASE SOFTWARE (fc3)
    Technical Support: http://www.cisco.com/techsupport
    Copyright (c) 1986-2012 by Cisco Systems, Inc.
    Compiled Wed 05-Dec-12 04:38 by prod_rel_team
    ROM: 15.0(1r)SG10
    S_C4500X_01 uptime is 33 weeks, 1 day, 14 minutes
    Uptime for this control processor is 33 weeks, 1 day, 16 minutes
    System returned to ROM by power-on
    System restarted at 11:59:10 UTC Tue Sep 24 2013
    Running default software
    Jawa Revision 2, Winter Revision 0x0.0x40
    Last reload reason: power-on
    License Information for 'WS-C4500X-16'
        License Level: ipbase   Type: Permanent
        Next reboot license Level: ipbase
    cisco WS-C4500X-16 (MPC8572) processor (revision 9) with 4194304K/20480K bytes of memory.
    Processor board ID JAE173303CF
    MPC8572 CPU at 1.5GHz, Cisco Catalyst 4500X
    Last reset from PowerUp
    4 Virtual Ethernet interfaces
    32 Ten Gigabit Ethernet interfaces
    511K bytes of non-volatile configuration memory.
    Configuration register is 0x2101
    Can you help please, 

    Hi,
    thanks for your reply, but there is no hsrp configured, just an interface vlan. with 2 static routes and the problem was there for more than an hour before we decided to rollback.
    Is there a BugId with this problem in Cisco DataBase.
    here is a show ip route 
    S_C4500X_01#      show ip route
    Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
           D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
           N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
           E1 - OSPF external type 1, E2 - OSPF external type 2
           i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
           ia - IS-IS inter area, * - candidate default, U - per-user static route
           o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
           + - replicated route, % - next hop override
    Gateway of last resort is 10.2.1.253 to network 0.0.0.0
    S*    0.0.0.0/0 [1/0] via 10.2.1.253
          10.0.0.0/8 is variably subnetted, 2 subnets, 2 masks
    C        10.0.0.0/8 is directly connected, Vlan100
    L        10.1.1.250/32 is directly connected, Vlan100
          172.31.0.0/16 is variably subnetted, 2 subnets, 2 masks
    C        172.31.0.0/16 is directly connected, Vlan120
    L        172.31.0.1/32 is directly connected, Vlan120
    S     192.1.0.0/16 [1/0] via 10.1.1.254
    and the show ip cef: 
    _C4500X_01#        show ip cef 
    .May 14 12:13:57.859: %ADJ-3-RESOLVE_REQ: Adj resolve request: Failed to resolve 10.2.1.158 Vlan100 f
    Prefix               Next Hop             Interface
    0.0.0.0/0            10.2.1.253           Vlan100
    0.0.0.0/8            drop
    0.0.0.0/32           receive              
    10.0.0.0/8           attached             Vlan100
    10.0.0.0/32          receive              Vlan100
    10.1.1.6/32          attached             Vlan100
    10.1.1.17/32         attached             Vlan100
    10.1.1.40/32         attached             Vlan100
    10.1.1.41/32         attached             Vlan100
    10.1.1.50/32         attached             Vlan100
    10.1.1.60/32         attached             Vlan100
    10.1.1.99/32         attached             Vlan100
    10.1.1.121/32        attached             Vlan100
    10.1.1.122/32        attached             Vlan100
    10.1.1.124/32        attached             Vlan100
    10.1.1.125/32        attached             Vlan100
    10.1.1.126/32        attached             Vlan100
    10.1.1.225/32        attached             Vlan100
    10.1.1.227/32        attached             Vlan100
    10.1.1.250/32        receive              Vlan100
    10.1.1.254/32        10.1.1.254           Vlan100
    10.2.1.3/32          attached             Vlan100
    10.2.1.4/32          attached             Vlan100
    10.2.1.6/32          attached             Vlan100
    10.2.1.8/32          attached             Vlan100
    10.2.1.9/32          attached             Vlan100
    10.2.1.18/32         attached             Vlan100
    10.2.1.23/32         attached             Vlan100
    10.2.1.24/32         attached             Vlan100
    Prefix               Next Hop             Interface
    10.2.1.26/32         attached             Vlan100
    10.2.1.28/32         attached             Vlan100
    10.2.1.29/32         attached             Vlan100
    10.2.1.31/32         attached             Vlan100
    10.2.1.103/32        attached             Vlan100
    10.2.1.108/32        attached             Vlan100
    10.2.1.109/32        attached             Vlan100
    10.2.1.124/32        attached             Vlan100
    10.2.1.129/32        attached             Vlan100
    10.2.1.137/32        attached             Vlan100
    10.2.1.139/32        attached             Vlan100
    10.2.1.143/32        attached             Vlan100
    10.2.1.144/32        attached             Vlan100
    10.2.1.159/32        attached             Vlan100
    10.2.1.167/32        attached             Vlan100
    10.2.1.174/32        attached             Vlan100
    10.2.1.175/32        attached             Vlan100
    10.2.1.176/32        attached             Vlan100
    10.2.1.181/32        attached             Vlan100
    10.2.4.38/32         attached             Vlan100
    10.2.4.39/32         attached             Vlan100
    10.2.4.43/32         attached             Vlan100
    10.2.4.47/32         attached             Vlan100
    10.2.4.51/32         attached             Vlan100
    10.2.4.63/32         attached             Vlan100
    10.2.4.65/32         attached             Vlan100
    10.2.4.69/32         attached             Vlan100
    10.2.4.71/32         attached             Vlan100
    10.2.4.73/32         attached             Vlan100
    10.2.4.102/32        attached             Vlan100
    10.2.4.106/32        attached             Vlan100
    10.2.4.107/32        attached             Vlan100
    10.2.4.113/32        attached             Vlan100
    10.2.4.116/32        attached             Vlan100
    10.2.4.119/32        attached             Vlan100
    10.2.4.120/32        attached             Vlan100
    10.2.4.122/32        attached             Vlan100
    10.2.4.141/32        attached             Vlan100
    10.2.4.148/32        attached             Vlan100
    10.2.6.7/32          attached             Vlan100
    Prefix               Next Hop             Interface
    10.2.6.16/32         attached             Vlan100
    10.2.6.31/32         attached             Vlan100
    10.2.7.14/32         attached             Vlan100
    10.2.7.22/32         attached             Vlan100
    10.2.7.24/32         attached             Vlan100
    10.2.7.34/32         attached             Vlan100
    10.2.7.37/32         attached             Vlan100
    10.2.7.41/32         attached             Vlan100
    10.2.7.48/32         attached             Vlan100
    10.2.8.18/32         attached             Vlan100
    10.2.8.32/32         attached             Vlan100
    10.2.8.59/32         attached             Vlan100
    10.2.8.70/32         attached             Vlan100
    10.2.8.85/32         attached             Vlan100
    10.2.8.88/32         attached             Vlan100
    10.2.8.104/32        attached             Vlan100
    10.2.8.135/32        attached             Vlan100
    10.2.99.10/32        attached             Vlan100
    10.2.99.54/32        attached             Vlan100
    10.255.255.255/32    receive              Vlan100
    127.0.0.0/8          drop
    172.31.0.0/16        attached             Vlan120
    172.31.0.0/32        receive              Vlan120
    172.31.0.1/32        receive              Vlan120
    172.31.0.5/32        attached             Vlan120
    172.31.0.29/32       attached             Vlan120
    172.31.255.255/32    receive              Vlan120
    192.1.0.0/16         10.1.1.254           Vlan100
    224.0.0.0/4          drop
    224.0.0.0/24         receive              
    Prefix               Next Hop             Interface
    240.0.0.0/4          drop
    and show ip arp 
    Protocol  Address          Age (min)  Hardware Addr   Type   Interface
    Internet  10.1.1.1                0   aa00.0400.c286  ARPA   Vlan100
    Internet  10.1.1.6                0   0050.5689.24b8  ARPA   Vlan100
    Internet  10.1.1.10               0   0050.5694.7d20  ARPA   Vlan100
    Internet  10.1.1.11               0   0050.5694.7d20  ARPA   Vlan100
    Internet  10.1.1.12               0   0050.5694.6ae7  ARPA   Vlan100
    Internet  10.1.1.13               0   0050.5694.6ae7  ARPA   Vlan100
    Internet  10.1.1.14               0   0050.568a.6321  ARPA   Vlan100
    Internet  10.1.1.16               0   0050.5694.0ab5  ARPA   Vlan100
    Internet  10.1.1.17               0   0050.5694.493d  ARPA   Vlan100
    Internet  10.1.1.40               0   0013.19b0.9c40  ARPA   Vlan100
    Internet  10.1.1.41               0   1c17.d35a.c840  ARPA   Vlan100
    Internet  10.1.1.50               0   0002.b9b4.a5c0  ARPA   Vlan100
    Internet  10.1.1.60               0   000a.410f.e500  ARPA   Vlan100
    Internet  10.1.1.71               -   0008.e3ff.fc28  ARPA   Vlan100
    Internet  10.1.1.96               0   e02f.6d12.4df3  ARPA   Vlan100
    Internet  10.1.1.98               0   0050.5696.6d86  ARPA   Vlan100
    Internet  10.1.1.99               0   0050.5696.6d88  ARPA   Vlan100
    Internet  10.1.1.121              0   e02f.6d12.4dea  ARPA   Vlan100
    Internet  10.1.1.122              0   e02f.6d12.4e61  ARPA   Vlan100
    Internet  10.1.1.123              0   e02f.6d5b.c10e  ARPA   Vlan100
    Internet  10.1.1.124              0   e02f.6d17.c869  ARPA   Vlan100
    Internet  10.1.1.125              0   e02f.6d5b.c217  ARPA   Vlan100
    Internet  10.1.1.126              0   e02f.6d17.c8ec  ARPA   Vlan100
    Internet  10.1.1.127              0   e02f.6d17.c876  ARPA   Vlan100
    Internet  10.1.1.128              0   e02f.6d5b.bef3  ARPA   Vlan100
    Internet  10.1.1.202              0   0000.85b7.9031  ARPA   Vlan100
    Internet  10.1.1.222              0   000f.f84d.2ca9  ARPA   Vlan100
    Internet  10.1.1.225              0   000f.f84d.3963  ARPA   Vlan100
    Internet  10.1.1.227              0   00c0.ee26.9367  ARPA   Vlan100
    Protocol  Address          Age (min)  Hardware Addr   Type   Interface
    Internet  10.1.1.250              -   0008.e3ff.fc28  ARPA   Vlan100
    Internet  10.1.1.254              0   0000.0c07.ac07  ARPA   Vlan100
    Internet  10.2.1.2                0   0011.4333.bcda  ARPA   Vlan100
    Internet  10.2.1.3                0   0050.5689.5d38  ARPA   Vlan100
    Internet  10.2.1.4                0   0050.5689.0404  ARPA   Vlan100
    Internet  10.2.1.6                0   0050.5689.6d3b  ARPA   Vlan100
    Internet  10.2.1.7                0   1cc1.def4.6940  ARPA   Vlan100
    Internet  10.2.1.8                0   0050.5689.330e  ARPA   Vlan100
    Internet  10.2.1.9                0   0012.793a.3ccc  ARPA   Vlan100
    Internet  10.2.1.10               0   0012.7990.e5d3  ARPA   Vlan100
    Internet  10.2.1.13               0   0050.568a.6dcf  ARPA   Vlan100
    Internet  10.2.1.15               0   0050.568a.60ff  ARPA   Vlan100
    Internet  10.2.1.18               0   0050.5689.091b  ARPA   Vlan100
    Internet  10.2.1.20               0   0050.5689.451c  ARPA   Vlan100
    Internet  10.2.1.21               0   0050.568a.0cf4  ARPA   Vlan100
    Internet  10.2.1.22               0   0050.5689.6c59  ARPA   Vlan100
    Internet  10.2.1.23               0   0050.5696.6d9e  ARPA   Vlan100
    Internet  10.2.1.24               0   0050.5689.76c4  ARPA   Vlan100
    Internet  10.2.1.26               0   0050.5689.2f4e  ARPA   Vlan100
    Internet  10.2.1.27               0   0050.5689.0632  ARPA   Vlan100
    Internet  10.2.1.28               0   0050.5689.1ce9  ARPA   Vlan100
    Internet  10.2.1.29               0   0050.5689.6aaa  ARPA   Vlan100
    Internet  10.2.1.31               0   0050.5689.0d1a  ARPA   Vlan100
    Internet  10.2.1.37               0   0050.5696.6d81  ARPA   Vlan100
    Internet  10.2.1.103              0   d4be.d9be.8eef  ARPA   Vlan100
    Internet  10.2.1.106              0   14fe.b5e1.c595  ARPA   Vlan100
    Internet  10.2.1.107              0   0023.ae7d.a966  ARPA   Vlan100
    Internet  10.2.1.108              0   d4be.d9c8.6770  ARPA   Vlan100
    Internet  10.2.1.109              0   14fe.b5e9.c5b5  ARPA   Vlan100
    Internet  10.2.1.110              0   14fe.b5ea.5f9d  ARPA   Vlan100
    Protocol  Address          Age (min)  Hardware Addr   Type   Interface
    Internet  10.2.1.111              0   001e.c959.d4f0  ARPA   Vlan100
    Internet  10.2.1.114              0   b8ac.6f48.4538  ARPA   Vlan100
    Internet  10.2.1.115              0   14fe.b5e1.ed89  ARPA   Vlan100
    Internet  10.2.1.116              0   7845.c409.1959  ARPA   Vlan100
    Thanks
    Lotfi

  • Making a User Defined Function for Mapping in XI

    Hi folks..
    I knw how to make User defined Function in XI,
    i was wondering about can we have any room for making a function for Initializing Purpose, which intializes few fields in source Message to some Global variables, and later we can use these Global Variables to set the the Target field
    My Doubt is this...
    i have Source & target Structure like this Structure like this....
    SOURCE  TEST DATA IS... 
    Parentsrc                   
        child1src a              
        child2src b              
        child3src c                     
        child4src hi
        child4src hello
        child4src hey            
    (On the basis of instances of child4src the istance of the Parentdst will be generated)                                        
    TARGET DATA SHUD BE LIKE THIS....
    Parentdst                    
        child1dst a              
        child2dst b              
        child3dst c                     
        child4dst hi
    Parentdst                     
        child1dst a              
        child2dst b              
        child3dst c                     
        child4dst hello
    Parentdst                     
        child1dst a              
        child2dst b              
        child3dst c                     
        child4dst hey

    Hi
    You have to modify  your target structure:
    <b>Source</b>
    Parentsrc
    child1src a
    child2src b
    child3src c
    child4src hi
    child4src hello
    child4src hey
    <b>Target</b>
    <b>root</b>
    Parentdst
    child1dst a
    child2dst b
    child3dst c
    child4dst hi
    Parentdst
    child1dst a
    child2dst b
    child3dst c
    child4dst hello
    Parentdst
    child1dst a
    child2dst b
    child3dst c
    child4dst hey
    <b></root></b>
    Now map like this:
    child4src -
    Parentdst
    child1src--|
    child4src--| UseOneAsMany -- Splitbyvalue --- child1dst
    child4src--|
    child2src--|
    child4src--|UseOneAsMany --Splitbyvalue --- child2dst
    child4src--|
    child3src--|
    child4src--| UseOneAsMany -- Splitbyvalue --- child3dst
    child4src--|
    child4src -- SplitbyValue -- child4src.
    Regards
    Suraj

Maybe you are looking for

  • Mount SMB share based on user name at Login

    I'm trying to get an SMB share mounted at login for Users where the UNC path is based on the username. I have written a simple script to accomplish this: set username to do shell script("whoami") try mount volume "smb://path/to/files/" & username end

  • Unknown variable or property name 'ReportFilePath'. Error accessing item 'Runstate.Root.Locals.ReportFilePath'. in TestStand

    Hi all. I was using Teststand 4.2 up to last week and upgraded to TS 2013. In 4.2 I was using the following to get the location of the teststand report: Runstate.Root.Locals.ReportFilePath but with TS 2013 this no longer works.. is the following erro

  • How to receive oracle by mail

    hi there, How can I receive Oracle 9i by mail to my work address? Is download from web server the only possibility? Br, Miikka

  • N2L urgent help on DS5.2 and NIS

    Ok, I have managed to migrate all my NIS data to sunone directory server and it works fine. I have now setup a private network to work on the N2L project. I have setup a copy of the directory service on one box, on the other I have set up as a nis ma

  • Capture Asc/Desc Sort direction in headerRelease

    I want to store the user's sort column AND direction so data updates will maintain the user's sort preference. I am using the Datagrid's headerRelease function to capture the column that the user sorted on, but I cannot figure out how to capture whet