Is there a different way to open a cursor for a ref cursor procedure?

hello everybody
i have two cursors, cur_a and cur_b, declared somewhere else in my application.
These two cursors have the same fields, in the same order, and i have to treat both in the same way. So i wrote a routine that gets as input a ref cursor based on the cur_a rowtype, and i am trying to use this routine for both.
The problem is that i am not able to open outside the routine the cursor in a different way than usual...
the common method is :
declare curs ref cursor ...
begin
open curs for (select *...)
end;
instead i would like to obtain something different
declare curs ref cursor ...
begin
open curs for cur_a
end;

hi
thanks for answering
i wanted just to give a better idea, anyway you were near to get it.
the only difference is that the two cursors are not written in dynamic sql, just like strings, but are real cursors.
anyway, this is the version of the package i need, but i am not able to compile
(your original code is commented and immediately below there is my code)
CREATE OR REPLACE PACKAGE BODY mytest
IS
--cur_a VARCHAR2(200) := 'SELECT dummy FROM DUAL';
CURSOR cur_a
IS
SELECT dummy
FROM DUAL;
--cur_b VARCHAR2(200) := 'SELECT ''fred'' FROM DUAL';
CURSOR cur_b
IS
SELECT 'fred' fred
FROM DUAL;
TYPE t_cur_a IS REF CURSOR
RETURN cur_a%ROWTYPE
--PROCEDURE routine_a_b (p_cur SYS_REFCURSOR) IS
PROCEDURE routine_a_b (p_cur t_cur_a)
IS
v_x VARCHAR2 (10);
BEGIN
LOOP
FETCH p_cur
INTO v_x;
EXIT WHEN p_cur%NOTFOUND;
DBMS_OUTPUT.put_line (v_x);
END LOOP;
END;
PROCEDURE doit
IS
--v_curs SYS_REFCURSOR;
v_curs t_cur_a;
BEGIN
NULL;
-- open v_curs FOR cur_a;
OPEN v_curs FOR cur_a;
routine_a_b (v_curs);
CLOSE v_curs;
-- open v_curs FOR cur_b;
-- routine_a_b(v_curs);
-- close v_curs;
END;
END;
the error is:
cursor 'V_CURS' cannot be used in dynamic SQL OPEN statement
i did read that if use weak ref cursor, it could work, so i declare the ref cursor type in this way:
TYPE t_cur_a IS REF CURSOR;
instead than
TYPE t_cur_a IS REF CURSOR
RETURN cur_a%ROWTYPE
what i get is another error (in the open cursor command)
PLS-00382: expression is of wrong type....
but if i replace
OPEN v_curs FOR cur_a;
with
OPEN v_curs for select dummy from dual;
it works... but i already knew it.. :-)
anyway, i used a work around to resolve it, so it's just philosophy

Similar Messages

  • Okay so I'm trying to download Adobe Flash Pro. I've gone to creative cloud and downloaded "Flash Professional CC and Mobile Device Packaging (2014)" and I have no idea what to do afterwords... There's no way to open or run the file. And to be honest, I'm

    Okay so I'm trying to download Adobe Flash Pro. I've gone to creative cloud and downloaded "Flash Professional CC and Mobile Device Packaging (2014)" and I have no idea what to do afterwards... There's no way to open or run the file. And to be honest, I'm not even sure if it's the right download... Help!

    I'm using PC with Windows 8.1. I got onto the Creative Cloud and downloaded "Flash Professional CC and Mobile Device Packaging (2014)". <--- That would be the file. I can't open or run it from CC and I couldn't find a file in my computer either.
    I've also found direct downloads for the trial version and hit the set-up button, it loads up, and then nothing happens.

  • HT4642 Dear Support team,   There are any way to open Microsoft Excel - Office by using CSV format

    Dear Support team,
    There are any way to open Microsoft Excel - Office by using CSV format
    best regards

    For the record, this is a user-to-user support forum. You aren't actually addressing Apple.
    I'm not clear what you are trying to do, but Numbers will open a CVS file adn will export to CVS (as well as Page, Numbers, and PDF) using the document function (looks like a box with an arrow; upper left). If this isn't what you are looking for, perhaps you could provide a bit more detail.

  • I don't want to write too much code is there a different way of doing this

    I am writing a precedure to check on the max test scores for different codes ('S01','S02'.S03') --there are more
    then I need to insert the table if the record with the best score does not exists for example for b.sortest_tesc_code = 'BSV', I am writing a cursor
    for each code (.sortest_tesc_code = 'S01') is there a way to do this different? so I cant do something like a.sortest_tesc_code in ('S01','S02'.S03') and store in a
    variable then insert, the problem is that you can have a student that have only one test other that have two etc..etc.. is not consistent, also If the b.sortest_tesc_code = 'BSV') is already in the table I don't do an insert I will have to do an update if the sortest_test_score is greater since the student can submit scores more than once... In another words check if the record exists( b.sortest_tesc_code = 'BSV') if is there compare with the new max score and if the new max score is greater then update.. If the score (by code) is not in the table insert
    Hope this is clear, this is what I have, I now it will work but it will be too much code..check for exists and not exists in two different precedures..
    Thank you
    CURSOR get_the_max_scores_S01_cur IS
                SELECT
                 sortest_pidm, a.sortest_test_score, a.sortest_tesc_code,
                 a.sortest_test_date,a.sortest_equiv_ind
                FROM
                saturn.spriden, saturn.sortest a, saturn.stvtesc
               WHERE 
               a.sortest_pidm = spriden_pidm
              AND stvtesc_code = a.sortest_tesc_code
              AND spriden_change_ind IS NULL
           -----and   a.sortest_tesc_code in ('S01','S02'.S03')
           AND a.sortest_tesc_code = 'S01'
           --and spriden_id = p_student_id  --
           ---for test purposes
           AND sortest_pidm = 133999 ----THE WILL BE A PARAMETER
           AND a.sortest_test_score =
                  (SELECT MAX (b.sortest_test_score)
                     FROM saturn.sortest b
                    WHERE a.sortest_tesc_code = b.sortest_tesc_code
                          AND a.sortest_pidm = b.sortest_pidm)
                                AND NOT EXISTS
                  (SELECT 1   FROM    saturn.sortest b
                  WHERE    A.sortest_tesc_code = b.sortest_tesc_code
                          AND a.sortest_pidm = b.sortest_pidm     
                          and   b.sortest_tesc_code = 'BSV');
         BEGIN
                     UTL_FILE.fclose_all;
                     v_file_handle := UTL_FILE.fopen (v_out_path, v_out_file, 'a');
                    UTL_FILE.put_line (v_file_handle,
                          CHR (10) || TO_CHAR (SYSDATE, 'DD-MON-YYYY HH:MI:SS'));
                   UTL_FILE.put_line (v_file_handle, 'sortest_best_sct_scorest');
                   --check for an open cursor before opening
                   IF get_the_max_scores_S01_cur%ISOPEN
                       THEN
                        CLOSE get_the_max_scores_S01_cur;
                   END IF;
                OPEN get_the_max_scores_S01_cur;
                 LOOP
                       FETCH get_the_max_scores_S01_cur
                       INTO v_pidm, v_tscore, v_testcode,
                               v_test_date, v_equiv_ind;
                       EXIT WHEN get_the_max_scores_S01_cur%NOTFOUND;
                   IF  get_the_max_scores_S01_cur%FOUND 
                    THEN
                       INSERT INTO saturn.sortest
                       (sortest_pidm,sortest_tesc_code,sortest_test_date,sortest_test_score,
                        sortest_activity_date,sortest_equiv_ind,sortest_user_id,sortest_data_origin)
                        VALUES
                        v_pidm,
                       'BSV',
                        v_test_date,
                         v_tscore,
                         sysdate, 
                        v_equiv_ind,
                        p_user,
                        'best_test_scores process'
                   END IF;    
                   END LOOP;
                   COMMIT;
                   ---Initialize variables
                    v_pidm := NULL;
                    v_test_date := NULL; 
                    v_tscore  := NULL; 
                    v_equiv_ind :=  NULL;
                    v_testcode  :=  NULL;
                 CLOSE get_the_max_scores_S01_cur;
    ----then another do the same for S02...S03

    Thank you, here is the code, I change the name of the tables, but it is the same concept.what I need is to extract the max score for each code (s01,s02,s03,s04)
    then insert a record with a different code in the same table
    BSM     Best Math SAT (S01)                              
    BSW     Best writing SAT (S04)     
    BSC     Best READING SAT (S03)     
    BSE     Best READING SAT (S02)     
    I need to be able to check if the BS codes are already in the table (BSM...BSC..) IF they are not do an insert and if they are do an update get the maximun score
    again (the students can submit more than one score form the same code and any date) and if the maximun is different(greater) of what is already in the database (with the BSM...BSC.. codes) do an update, IF NOT if is the same or less don't update...
    I need the PERSON table because I need to use the ID as a parameter they (user) can run the process for one ID or all the records in the table TEST
    Thank you, I hope is clear
    create table TEST
    TEST_PIDM                  NUMBER(8)            NOT NULL,
    TEST_TESC_CODE        VARCHAR2(4 CHAR)     NOT NULL,
    TEST_TEST_DATE        DATE                 NOT NULL,
    TEST_TEST_SCORE       VARCHAR2(5 CHAR)     NOT NULL,
    TEST_ACTIVITY_DATE    DATE                 NOT NULL,
    TEST_EQUIV_IND        VARCHAR2(1 CHAR)     NOT NULL
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'EB' ,TO_DATE( '01-JUN-2004', 'DD-MON-YYYY'),'710',SYSDATE,'N'
    FROM DUAL; 
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'M2' ,TO_DATE( '01-JUN-2005', 'DD-MON-YYYY'),'710',SYSDATE,'N'
    FROM DUAL; 
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'S01' ,TO_DATE( '01-JUN-2005', 'DD-MON-YYYY'),'750',SYSDATE,'N'
    FROM DUAL; 
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'S01' ,TO_DATE( '01-JUN-2005', 'DD-MON-YYYY'),'720',SYSDATE,'N'
    FROM DUAL; 
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'S02' ,TO_DATE( '01-JUN-2005', 'DD-MON-YYYY'),'740',SYSDATE,'N'
    FROM DUAL; 
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'S02' ,TO_DATE( '05-JUL-2005', 'DD-MON-YYYY'),'730',SYSDATE,'N'
    FROM DUAL ;
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'S03' ,TO_DATE( '01-JUN-2005', 'DD-MON-YYYY'),'780',SYSDATE,'N'
    FROM DUAL; 
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'S03' ,TO_DATE( '05-JUL-2005', 'DD-MON-YYYY'),'740',SYSDATE,'N'
    FROM DUAL; 
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'S04' ,TO_DATE( '01-JUN-2005', 'DD-MON-YYYY'),'770',SYSDATE,'N'
    FROM DUAL; 
    INSERT INTO TEST
    ( TEST_PIDM, TEST_TESC_CODE,TEST_TEST_DATE, TEST_TEST_SCORE, TEST_ACTIVITY_DATE,TEST_EQUIV_IND)
    SELECT
    128019,'S04' ,TO_DATE( '05-JUL-2005', 'DD-MON-YYYY'),'740',SYSDATE,'N'
    FROM DUAL; 
    CREATE TABLE PERSON
      PERSON_PIDM                NUMBER(8)         NOT NULL,
      PERSON_ID                  VARCHAR2(9 CHAR)  NOT NULL
    INSERT INTO  PERSON
    ( PERSON_PIDM ,   PERSON_ID)
    SELECT
    128019,'003334556'
    FROM DUAL ;
    CREATE TABLE VALTSC
    VALTSC_CODE             VARCHAR2(4 CHAR)     NOT NULL,
      VALTSC_DESC             VARCHAR2(30 CHAR)
    INSERT INTO  VALTSC
    VALTSC_CODE,
      VALTSC_DESC 
    SELECT
    'S01' ,
    'XXS01'
    FROM DUAL; 
      INSERT INTO  VALTSC
    VALTSC_CODE,
      VALTSC_DESC 
    SELECT
    'S02' ,
    'XXS02'
    FROM DUAL 
      INSERT INTO  VALTSC
    VALTSC_CODE,
      VALTSC_DESC 
    SELECT
    'S03' ,
    'XXS03'
    FROM DUAL; 
    INSERT INTO  VALTSC
    VALTSC_CODE,
      VALTSC_DESC 
    SELECT
    'S04' ,
    'XXS04'
    FROM DUAL; 

  • Is there an easier way to open photo files that were stored in my backup as Document Files besides changing the extension on each of the photos?

    I did a backup on my mac of my phone.  Then I got a new phone.  I don't want to put all of my old photos on the new phone.  So, I went to the backup to access the photos so that I could work with them in jpeg form on my computer.  I have done this in the past with no problem. This time, when I go to access the photos they are all document files.  I need them to be jpeg files.  Is there a way to open then as jpegs without opening each individual file and updating the file extension?  Also,  why did this happen?  I recall doing this with my prior iphone and the photos were jpegs and I didn't have to do anything.
    Thanks!

    Howdy,
    This is a really good question about one of the bigger challenges of building a 3D project. When you add objects to the Canvas (including drawing), they get added in the camera's viewspace, facing the camera and sharing the same up-vector (i.e. positive Y is up). This is all well and good, but what about doing what you ask, where you want to add an object in the localspace of another object? Let's look at your example: adding a shape that is coplanar to a photo, with the camera not necessarily aligned with the photo.
    As Mark suggested, you can draw the shape in the camera's viewspace and then drag-and-drop the Position and Rotation channels from the photo onto the shape. This will replace the shape's Position and Rotation values with that of the photo, making them coplanar and located in the same place. The shortcoming of this method is that you draw the shape at a size that seems correct in the Canvas, but once it's moved to the same place as the photo, it will often turn out to be too small or large. Then you have to make further tweaks.
    Another solution is to use the Isolate command. Isolate temporarily aligns the current view to the selected object and solos that object. So you could isolate the photo and then draw the shape in the Canvas and it will be coplanar with the photo. The only caveat is that the moment you finish drawing the shape, it will disappear. This is because the photo is still isolated (and soloed). As soon as you de-isolate the photo, everything will reappear.
    The easiest way to use Isolate for new photos—not ones already in the project—is to place the photo in a 3D group, position the group where you want the photo and shape to be, then isolate the group and add anything you want to it (shapes, image, text, etc).

  • I want my Mac book to synchronise with my Mac mini, and visa versa, so that I can work on either computer knowing that everything i do will be accessible from either computer - do i need to buy os x server to do this or is there a different way?

    I want to know that if I create a document on my macbook it will be available on my mac mini and visa versa, is there an easy way of making two computers synchronise.
    Currently my older mac book contains loads of old documents that I transferred to my mac mini via the apple migration software when I bought my mac mini but unless I always create documents on my mac mini I start to work between computers that makes it very confusing and difficult to manage.
    Thanks

    Turn on file sharing. If they are both on your wifi network you can share via wifi. Or set up an ethernet connection between the two machines.
    Mac Basics: File Sharing - Apple Support
    Hope this helps.
    PJRS

  • I want the IOS 8 update but apple decided to not give that update to iphone 4 users, IOS 7 didnt make my phone slower. I want the update, is there any possible way of getting that update for the iphone 4??

    Is there any possible way ofgetting the IOS 8 update for iphone 4

    No. The iPhone 4 is not capable of running iOS 8
    If you want iOS 8 then you need to get a newer iPhone that can run it

  • Is there a quick way to open a resident video in fullscreen mode?

    Short and not-so-simple, I have a client who requires the following:
    Starting from the home screen, he wants the shortest number of taps to open a video (resident on the device) in fullscreen mode. Ideally, I wanted to have a "shortcut" on his home screen that opens a directory on his iPad that contains videos. Unfortunately, iOS does not allow for this. In fact, finding resident files on the HDD at all doesn't seem so easy.
    For now, I have him going to his camera, switching to video, and then opening the Video Roll to access videos I've downloaded to his iPad from various sources like email attachments or download links. This is definitely not a long-term solution.
    To clarify, the client needs to be able to bring up one of several videos near-instantly, with no buffering and in many cases without an active internet connection. He wants his iPad to be a video gallery, with "a two-click process." Someone (such as myself) would be syncing/uploading the videos as they are created, updated, or replaced, so getting videos onto his iPad easily and remotely (if possible) is also a desire (Dropbox or iTunes?).
    Can someone please give me some advice? I am an idiot with iOS, as I spend all of my time on Android devices.

    Is this a cpvc or a cptx file, when you talk about 'video'?

  • Stage.quality = StageQuality.LOW ignored ?  Is there a different way ?

    I need to set the stage quality or simply the quality of a specific movieclip to LOW while it tweens to improve performance.
    It seems StageQuality.LOW and StageQuality.MEDIUM are being ignored by AIR 3.2
    If anyone has any ideas it would be appreciated.
    Thanks!

    There was a bug with GPU mode.
    It is fixed now, download the public 3.3 beta.
    http://labs.adobe.com/technologies/flashplatformruntimes/air3-3/
    FYI: If you set the quality as soon as the app starts before any rendering it works in the buggy version, but you can't change it after startup.

  • Is There an Easier Way to Save a PDF for Perfect Binding?

    I've always had this problem whenever I do a booklet or magazine that will end up perfect bound: I have my document setup in CS6 with "facing pages" so I can easily design spreads with images and backgrounds that span both pages. Usually, when it prints, it's saddle stitched, so I don't mind if the inside edge has contents from the other page since they will print next to each other anyway. When I've done perfect bound booklets in the past, I've always unchecked "facing pages" and manually duplicated and moved the image that span the entire spread to cover both pages. However, I'm currently working on a 48-page magazine and I really don't feel like doing this... specifically for fear of missing something and overlooking it so that it prints wrong.
    Here are some examples:
    This first one obviously has one background image that spans both pages of the spread
    However, when I try to separate the pages. My same right-hand page now has no background. A good majority of the magazine is laid out this way.
    Similarly, this spread with 2 full-page ads have no bleed on the inside margin for proofing purposes. If it were saddle stitched, I wouldn't give a second thought I'd just let the auto bleed pull image from the other ad. Who cares? They're going to be right next to each other anyway. But, since we're going the perfect-bound route, I need for each ad to have full bleed on all 4 sides. Is it just my neuroticism? The inside edge will be glued amongst 47 other pages. Will anyone ever notice that sliver of white, black, and red from the Sarge ad nestled in the spine when they're viewing the Sunrise Detox ad is the cutting is off?
    I know you can do the "shuffle pages" thing to help with the ads, but I'm just hoping there's an easier way; a checkbox... something! C'mon, Adobe! You're #1 in the design industry and it's so difficult to work around the facing-pages-full-bleed issue. I know I'm not very advanced with my InDesign experience. But if after several years, many booklets, a few magazines, and a couple version upgrades, I'd like to think I would've found an easier way to do this. You know, kinda like how your new liquid pages features. That would be tremendous if something similar could be implemented for people in printing to quickly change between design spreads, proof spreads, and printing single pages!
    Thanks in advance for any help!!
    ~Coral

    If you have facing pages, you have to set up the document with facing pages that is what is it for. If you have a spreadwide design as above, keep the spreads together. There is not even one reason not to do so.
    Only for wire-O-bindings might a different workflow useful, but also with facing pages documents and only when the left page and the right page have not a spread wide design:
    //// I did one mistake, I created a doument with a right binding, but it would work the same way with left binding.)
    1. Create a document with Facing Pages.
    2. Select the Spread in the Page Panel (Window > Page Panel) and in the panel’s flyout menu deselect "Allow Selected Spread to Shuffle". The spread’s page number will appear in brackets.
    3. Select a single page of the spread and drag it to the side until a vertical bar appears.
    4. Now you have the result.
    Left and right pages have their own spread and will have a bleed around each page without taking information from the other page.

  • Is there an easy way to create simple forms for use in iweb?

    or a template?
    I need to create a reply form on the site I am working on.
    thanks

    After a few days of working on this issue the tutorial is updated to make the form be sent from within the webpage with extra form additions available as well!
    The form is fully customizable for background color or image background, there's no ads or service to sign up for, all you have to do is copy and paste a code into your html and enable cgi and/or php on your host with some additional small tweeks here and there to put it all together. Basically it's the do it yourself way.
    *The form on the tutorial link provided still opens the Email app when the form is submitted but we have tested this method on our other sites using the same procedures mentioned with successful results.

  • Will there be a way to merge iCloud accounts for family sharing in iOS 8?

    My family of four has 5 Apple IDs. Each of us has a personal one that we use for mail, contacts, and calendars and we all share an Apple ID for use with the iTunes and App Stores. This way, we can all currently share content without having to buy it four times. However, Apple has solved this problem in iOS 8 with family sharing.
    My question is how should I handle this with my current lineup of Apple IDs. I know there's currently no way to merge two Apple IDs into one, and I don't want to just transfer my credit card to my personal Apple ID, as I will lose my purchase history. I know I could add my current "shared" ID to our family account in iOS 8, but I'd like not to have a duplicate of myself. Any advice would be appreciated!

    It's not necessary to merge the iCloud and iTunes Store accounts. The Family Organizer should use their own iCloud account when setting up Family Sharing. You'll also be asked to supply the iTunes Store account you want to use to share music, movies, apps, etc., with your family during the setup process. It appears Apple has already addressed this common problem.

  • "My Adobe" site is permanently redirected to "Adobe ID" site. There is no way to retrieve serial numbers for CS 5.5 products and below.

    How can I get my serial number for CS 5.5 Master Collection and CS 5.5 Captivate? This was retrievable only a few days ago using the "My Adobe" site at (adobe.com/account.html)
    The My Adobe URL (adobe.com/account.html) has a permanent redirect to the new Adobe ID URL (accounts.adobe.com/) Just a few days ago, Adobe "My Products and Services" contained my collection of serials.Users now cannot access this URL at adobe.com/account/my-products-services.html with the redirect in place.
    The new Adobe ID site "My Products" at (accounts.adobe.com/products) reports "You have no registered products." We need the "My Adobe" classic site back to access our registered serials.
    Adobe should update their help documentation that references the old link (adobe.com/account.html) as well. Here are a couple of examples:
    Where is My Adobe account info | How to sign in/out « Caveat Lector
    Serial number, Redemption, and Product codes | Student & Teacher Editions

    https://accounts.adobe.com/products shows all my products with their serial numbers back to 2005 when I first registered PSE2.0 that came bundled with my camera, and the two example pages with old links properly redirect to the Plans page and all I have to do is click View all products and again I will see my list back to 2005.
    So things are working just fine for me.  If it says you have no products, maybe there are changes still percolating through the server network that aren’t in place from where you’re surfing from, or maybe you have multiple AdobeIDs and are signed into the one that doesn’t have products registered to it.
    In other words, things appear to be working just fine with my AdobeID using either the old links or the new links and so I’d reword the request to be that you want the new site to work properly.   The old site did have another layout that required clicking into each product to see the serial number whereas the new site list everything on one page without clicking into anything.  I prefer the new way.

  • Is there an easy way of creating an ACL for denying users?

    Hi All,
    I like to create an ACL that would prevent about 50 users from accessing a particular network in our MPLS network.  I do not want to create another vlan for this. 
    Let's say I want to deny this range 10.12.16.20 - 50   from accessing 10.3.0.0 network but allow then access to everthing else.  Is this how to do it?
    Access-list 101 deny 10.12.16.20  0.0.0.0  10.3.0.0  0.0.255.255
    Access-list 101 deny 10.12.16.21  0.0.0.0  10.3.0.0  0.0.255.255
    Access-list 101 deny 10.12.16.22  0.0.0.0  10.3.0.0  0.0.255.255
    -- this will go continue down to .50
    Access-list 101 permit ip any any
    Can I do something like this?
    Access-list 101 deny 10.12.16.20 - 50  0.0.0.0 10.3.0.0  0.0.255.255
    Access-list 101 permit any any
    Thanks

    Disclaimer
    The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.
    Liability Disclaimer
    In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.
    Posting
    What Karsten has suggested, would be the "cleanest" approach, but if the IOS doesn't support it, what Rick suggested would be the way to do it using the fewest ACEs.
    If using Rick's approach, as he mentioned you can set ACEs on binary boundaries, variations on the "theme" might be to include a bigger block than needed, if the overage isn't harmful.  For example, when trying to exclude hosts 20 .. 50 one ACE could block 0 .. 63.
    Also remember you can mix permits and denies.  So say you wanted to block just 8 .. 63, you could permit 0..7, block 0..63 and then permit any.  Depending on your requirement, mixing permits and denies might require the fewest ACEs in your ACL.
    Of course the disadvange of a complicated ACL, it's harder to understand.  However, on a sofware based router, the shorter ACL might perform better.

  • Is there any possible way to view my messages for the month of jan and feb. of this year

    is there any way to view messages i sent in the month of jan. and feb. of this year

    Your text messages? Your MyVerizon account will keep the to and from details of text messages for three months. The content of the messages have never been online. The only way to view the messages is from the device.

Maybe you are looking for

  • In Free goods how to restrict the quantity to not to alter.

    Dear All, I have maintain condition record for free goods in VBN1.EX.102.While creating sales order for 20 quantities system populates 204.But if am changing this as 152 or 205,system is allowing to do.Same is the case at delivery.How can we restrict

  • Help! can anyone decipher these console logs? thx

    Hi all, I'm new to macs need some answers as i am getting nowhere fast waiting for support to look into it properly. Random freezing on a fully loaded haswell rMBP oct 13 version, becomes totally unresponsive requiring a forced reboot...poo I was lis

  • Adding SSL-Certificate Exception in Firefox 4

    I recently installed Firefox 4 beta 11 and now cannot access certain webpages provided by my university which are using an SSL-encryption. The error message I receive (in a popup box) is: '''evasys.urz.uni-halle.de uses an invalid security certificat

  • SAP EBP: ORG structure copy process

    Hi, I want to copy existing Org structure of production client in Development Client and vice versa . Pls explain Steps to be followed Thanks Amit

  • Consuming Webservice in EP Perspective NWDS

    Hi all, Can any one guide me step by step process in consuming a webservice in Enterprise Portal Perspective on NWDS. My WSDL is not published yet, I have the URL of the Webservice, i need to test in local machine, further i will publish that. I want