Procedure 'IN' settings and in NUMBER of loop dbms_output

I have this procedure which takes two values, a name and a number, as parameters. I do things with them, then try of the output result.

The code will run well and produce the correct result without printing through DBMS with the loop FOR (I RUN the procedure and manually doing a SELECT on the view and the values are correct). Then I deleted a word in the code, spruced up the same word in the same place in the code, and suddenly I had a different and incorrect result. After you delete and retype everything code for fear of a ghost or something character, it ran fine again without the DBMS FOR part print loop. I typed in the loop FOR and now it does not yet work with errors on the assignment of variable "temp" and "temp1". It worked fine before the additional code has been added. It makes no sense to me.

I use Oracle SQL Developer.

The code runs and the results I want, but I keep running in what appears to have problems with the development software. IIF someone could look at the code and help I would really appreciate it. I spent many, many hours on this...

CODE:

PROCEDURE GetThem (nameIn IN varchar2, percIn IN number) AS

Temp varchar2 (30): = '& nameIn'; -SOMETIMES GETTING ERRORS OF TYPE HERE INCORRECT ATTRIBUTION, SOMETIMES NOT...
number of Temp1: = '& percIn'; -HERE TOO, SAME AS ABOVE

BEGIN


EXECUTE IMMEDIATE ' VIEW to CREATE or REPLACE personTotal AS
SELECT person, COUNT (name) AS total FROM (SELECT DISTINCT name, comments FROM person person WHERE! = temp) GROUP BY person ';

EXECUTE IMMEDIATE ' VIEW to CREATE or REPLACE sharedTotal AS
SELECT p.person, COUNT (DISTINCT name) AS best of observations p WHERE p.person! = temp AND p.name IN (SELECT DISTINCT observations g WHERE g.person = temp g.name) GROUP BY p.person';

FOR tt IN (SELECT p.person FROM personTotal p, sharedTotal s p.person WHERE = temp1 AND s.person < = s.bhave/p.total ORDER BY person)

LOOP

dbms_output.put_line (' ' | tt.person |) ' ' ); -SHOULD GENERATE SOME RESULTS HERE BUT UNTESTED

END LOOP;

END GetThem;

Hi, Ben.

Aymen says:
Frank,

Thank you once again. I have looked at the code and I'm testing it in a procedure.

I do not ask more of you, but I'm going to...

I'm a student in computer engineering and a data base of the course.

Then do not use the query I posted earlier. Your teacher will give you more credit to submit your own work, instead of copying someone else, no matter how elegant which can be. An approach as you suggested above will be fine for this mission.

It is an assignment that I worked on 4 days with what is the last problem. I was not aware of the existence of procedures util, I've seen this problem in my mission.

I have been searching on the internet and got lots of information on procedures, but they are general examples and I don't understand how they apply to my case.

There was therefore no preparatory work on the procedures in your class? I find it quite cruel.

I still have a problem with the part of the output and also, I get an error when I place the SELECT statement in the procedure. (Error (8.7): PLS-00428: an INTO clause in this SELECT statement) It seems that he wants me to put the result in a variable.

When you run a query in SQL * more (or most any front-end) you're doing 2 things:
(1) obtain data tables in the database in a result set, and
(2) display that game results
SQL * more autiomatically makes two things together, so you often do not even consider them as separate steps. In PL/SQL, explicitly do you somehting for each step separately.

Here's what I found:

-Use an output variable, declare it before calling the procedure and put it in the settings and then assign it the value to be returned in the variable.

That's right, but it's the only way to make a query in PL/SQL.
Another way, better for this assignment, is to use a cursor loop, as you did in your first post.

Consider this problem: write a procedure which, for a specific job in the table scott.emp, considers people who have this work and who has wages are at least as high as the average salary for this job in their own departments (counting their own salaries).
Here is information on all the people with job = 'CLERK ":

`   DEPTNO ENAME             SAL JOB
---------- ---------- ---------- ---------
        10 MILLER           1300 CLERK
        20 SMITH             800 CLERK
        20 ADAMS            1100 CLERK
        30 JAMES             950 CLERK

In the 10 departments, there as a CLERK, namely MILLER. The sal average clerks in 10 1300 dept, sal MILLER is equal to that, if MILLER should be included in the output.
Dept = 30 is another trivial case, like dept = 10.
Dept = 20 is more interesting. The average sal for clerks in dept 20 is (800 + 1100) / 2 = 950. Sal of SMITH is less than 950, SMITH should not be in the output. Sal of ADAMS is above 950, ADAMS should be in the output.

Here's a way to write a procedure that gets these results:

CREATE OR REPLACE PROCEDURE     avg_or_above
(       in_job       VARCHAR2
)
AS
BEGIN
     FOR  this_emp  IN (
                                 WITH     avg_by_dept     AS
                     (
                             SELECT    deptno
                          ,             AVG (sal)     AS avg_sal
                          FROM      scott.emp
                          WHERE     job     = in_job
                          GROUP BY     deptno
                     )
                     SELECT  e.ename
                     ,           e.sal
                     FROM    scott.emp        e
                     JOIN    avg_by_dept  a  ON  e.deptno  = a.deptno
                     WHERE   e.sal     >= a.avg_sal
                     AND     e.job     = in_job
                 )
     LOOP
          dbms_output.put_line (  RPAD (this_emp.ename, 12)
                         || TO_CHAR (this_emp.sal, '99999')
                         );
     END LOOP;
END     avg_or_above;
/
SHOW ERROR

In SQL * Plus, you can call the procedure as follows:

SET     SERVEROUTPUT     ON

EXEC  avg_or_above ('CLERK');

and the output will look like this:

ADAMS         1100
JAMES          950
MILLER        1300

Here's how it works:

FOR  x IN (q)
LOOP
    ...     -- Code here is "inside" the loop
END LOOP;

runs a query q. Like any question, q can begin with the SELECT keyword or keyword WITH.
For each row returned by the query q, the results of this line are placed in the variable x, which is a data structure created automatically to have an element for each column in the query. In this example, the query produces two columns (an ename called, which is a VARCHAR2, and the other called sal, which is a NUMBER), then x has two components: the x.ename (which is a VARCHAR2) and x.sal (which is a NUMBER). Inside the loop (i.e. after the LOOP but before the END LOOP statement) you can use x.ename any place where you can use a VARCHAR2 expression, and you can use x.sal everywhere where you can use a NUMBER. In this case, the body of the loop includes only one declaration, a call to dbms_output.put_line. However, you can have several statements between the instructions of LOOP and END_LOOP if you need to.

It's everything you need to run a query and display its results in PL/SQL. There are other ways, but I think this one will do well enough for this mission.

Note that there is no need of all views. The avg_by_dept of the subquery is like a point of view. In fact, by looking at only the main request in the cursor above:

...                     SELECT  e.ename
                     ,           e.sal
                     FROM    scott.emp        e
                     JOIN    avg_by_dept  a  ON  e.deptno  = a.deptno
                     WHERE   e.sal     >= a.avg_sal
                     AND     e.job     = in_job

He has nothihng to indicate if the avg_by_dept is a table, a view, or a subquery, and it does not affect the query of some sort.

Tags: Database

Similar Questions

  • Windows won't let me not newspaper inside a loop to save the settings and disconnects

    Windows won't let me open a session in this Office makes a loop to save the settings and disconnects

    It was a virus that's causing the problem

  • Procedure to display the view number and execution time


    Hi all

    I'm creating a procedure to display the name of the view and its County and runtime to get this number if we adopt the view name in the procedure. so far, I have created the script below but it does not give any number. Please suggest me an idea to achieve this. I use Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production.

    CREATE OR REPLACE PROCEDURE VIEW_TIME_SP ( P_VIEW_NAME IN VARCHAR2 )
    IS
      V_START_DATE TIMESTAMP;
      V_END_DATE  TIMESTAMP;
      V_ROW_COUNT NUMBER;
      V_SQL       VARCHAR2(1000);
      V_LOG       VARCHAR2(1000);
      V_EXECUTION_TIME INTERVAL DAY TO SECOND;
      V_VIEW_NAME  VARCHAR2(40);
    
    BEGIN
    V_VIEW_NAME := P_VIEW_NAME;
    EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_DATE_FORMAT = ''dd-Mon-yyyy hh24:mi:ss''';
         
    V_START_DATE := CURRENT_TIMESTAMP;
    V_ROW_COUNT := 0;
    V_SQL := 'SELECT COUNT(*) INTO' || V_ROW_COUNT || ' FROM '  || V_VIEW_NAME;
    EXECUTE IMMEDIATE V_SQL;
    V_END_DATE := CURRENT_TIMESTAMP;
    V_EXECUTION_TIME := V_END_DATE - V_START_DATE;
    V_LOG := V_VIEW_NAME || ' returns ' || V_ROW_COUNT || ' and completed in ' || V_EXECUTION_TIME;
    DBMS_OUTPUT.PUT_LINE (V_LOG);
    EXCEPTION
      WHEN OTHERS THEN
       DBMS_OUTPUT.PUT_LINE ('process failed:' || SQLCODE || ': ' || SQLERRM);
    END VIEW_TIME_SP;
    

    Appreciate your help.

    Thank you

    Hello

    MSB says:

    Hi all

    I'm creating a procedure to display the name of the view and its County and runtime to get this number if we adopt the view name in the procedure. so far, I have created the script below but it does not give any number. Please suggest me an idea to achieve this. I use Oracle Database 11 g Enterprise Edition Release 11.2.0.3.0 - 64 bit Production.

    1. CREATE OR REPLACE PROCEDURE VIEW_TIME_SP (P_VIEW_NAME IN VARCHAR2)
    2. IS
    3. V_START_DATE TIMESTAMP;
    4. V_END_DATE TIMESTAMP;
    5. NUMBER OF V_ROW_COUNT;
    6. V_SQL VARCHAR2 (1000);
    7. V_LOG VARCHAR2 (1000);
    8. V_EXECUTION_TIME INTERVAL DAY TO SECOND.
    9. V_VIEW_NAME VARCHAR2 (40);
    10. BEGIN
    11. V_VIEW_NAME: = P_VIEW_NAME;
    12. EXECUTE IMMEDIATE 'ALTER SESSION SET NLS_DATE_FORMAT = "dd-Mon-yyyy hh24:mi:ss" ';
    13. V_START_DATE: = CURRENT_TIMESTAMP;
    14. V_ROW_COUNT: = 0;
    15. V_SQL: = ' SELECT COUNT (*) IN "| V_ROW_COUNT | 'FROM ' | V_VIEW_NAME;
    16. IMMEDIATELY RUN V_SQL;
    17. V_END_DATE: = CURRENT_TIMESTAMP;
    18. V_EXECUTION_TIME: = V_END_DATE - V_START_DATE;
    19. V_LOG: = V_VIEW_NAME | 'returns "| V_ROW_COUNT | "and completed in | V_EXECUTION_TIME;
    20. DBMS_OUTPUT. PUT_LINE (V_LOG);
    21. EXCEPTION
    22. WHILE OTHERS THEN
    23. DBMS_OUTPUT. Put_line (' process failed:' |) SQLCODE. ': ' || SQLERRM);
    24. END VIEW_TIME_SP;

    Appreciate your help.

    Thank you

    Whenever you write dynamic SQL code, during the debugging phase, display the dynamic string before running it.  For example

    V_SQL: = ' SELECT COUNT (*) IN "| V_ROW_COUNT | 'FROM ' | V_VIEW_NAME;
    dbms_output.put_line (v_sql |) '= v_sql in view_time_sp");
    IMMEDIATELY RUN V_SQL;

    You will see that v_sql is something like:

    SELECT COUNT (*) VIEW_X INTO0'

    You do not want the value of v_row_count; you want the name v_row_count, and he didn't need to be part of the dynamic statement.  Try this:

    V_SQL: = ' SELECT COUNT (*) FROM "| V_VIEW_NAME;
    dbms_output.put_line (v_sql |) '= v_sql in view_time_sp");
    EXECUTE IMMEDIATE V_SQL IN v_row_count;

  • This will remove all your custom settings and the settings of many extensions.

    Hello

    I was reading this article of knowledge and he says:
    "This will delete all your custom settings and many extensions settings."
    What are the custom settings?

    for example one of these and what else
    bookmarks?
    Add - ons?
    Top toolbar - Customize the toolbar
    Add on the toolbar
    Firefox/preferences
    Authorization Manager settings
    the new page open

    Corrupted preference file
    File preferences may be corrupt, Firefox prevents writing to it. If you delete this file, Firefox will automatically create another when it comes to.

    Here's how to delete the prefs.js file.

    This will remove all your custom settings and the settings of many extensions.
    Open your profile folder:

    In the menu bar, click the Help menu and select troubleshooting information. The troubleshooting information tab will open.

    In the section the Application databases, click view in the Finder. It will open a window with the folder of your profile.
    Note: If you are unable to open or use Firefox, follow the instructions for finding your profile without having to open Firefox.

    In the menu bar, click Firefox and select Quit Firefox

    Locate the prefs.js file (and, if applicable, the prefs.js.moztmp file).
    Delete these files and files prefs - n.js where n is a number (e.g. prefs - 2.js).
    If there is, remove the Invalidprefs.js.
    Restart Firefox. You should now have reset all preferences.

    Based on information from preferences not saved (mozillaZine KB)

    See also http://kb.mozillazine.org/Profile_folder_-_Firefox

    #1: there are too many pref for all kinds of adjustment which will offer a recipe of what you lose and how to keep certain parameters.
    It is possible to copy specific lines of a prefs.js to this file in another profile or restore some settings after deleting this file in the current profile folder.

    All the prefs that show as a user defined and appear in bold on the topic: config page are stored in the prefs.js file.

    This includes the changes you make and data Firefox itself and extensions store as data/parameters in a pref.
    It's

    #2,3: the localstore.rdf file stores the toolbar configuration and other data.

    #4: the current versions of Firefox shows the menu entry "Tabs" at the top menu ' display > toolbars "and" Firefox > Options ' and in the menus toolbar pop-up if the tabs are not in the default position on the top.

    If the notches located on the top and the menu entry is not available and you want to move the tabs under the navigation toolbar, then you have to toggle the pref browser.tabs.onTop false on the subject: config page.

    A restart of Firefox is necessary for updating the menu entry to display or remove.

    Note that this pref will no longer effect when the code Australis lands on the output channel (code Australis will probably land in Firefox 29).

    #5: see https://support.mozilla.org/kb/Clear+Recent+History

    Compensation of the "Site Preferences" clears all exceptions for cookies, images, pop-ups, installing the software, stored passwords in permissions.sqlite and other site specific data stored in content - prefs.sqlite (including zoom on the page).

    Deletion of cookies will delete all specified (selected) cookies, including cookies with an exception allowing you want to keep.

    #6,7: history of search bar is the story of the search bar (Google) on the Navigation toolbar.

    All recorded data to a form on a web page is included in the data in the form, but you can not separate and distinguish the two.

    Browsing history is the history of the web pages you have visited.

    #8: session cookies are always kept in memory and never stored on the disc in cookies.sqlite

    You can only delete specific cookies manually in the Cookie Manager or leave cookies expire when you close Firefox to make them behave like session cookies.

    Cookies of other compensation will include all cookies and don't obey the exceptions that you have made.

    #9
    Data stored in storage DOM is not stored in cookies.sqlite, but it is generally stored in the webappsstore.sqlite file or possibly in the form of data in IndexedDB.

  • Averages for number of loops

    Hi all

    I have a code (attached) in which a triangular wave is supposed to a magnetic field of ramp up and down to very low frequency (0.1 Hz or low). Reading (X) vs keithley reading field (Y) represented by two random numbers generators must be taken in synchronization with the triangular wave point by point. I would be very grateful if you could help to achieve the following objectives:

    1. by taking the average for a few cycles. Basically, I would define the number of loops in the outer circle to the loop and the number of sampling inside everything in a loop and then take the average between the loops.

    (Data for data of loop2 +... + loop1) + data to loop n/n

    2. the averages should be written to the text file and at the same time, I hope I always get the full date in the file action.

    Thank you

    Hadi

    Assuming that you want to monitor the data happens, I would like to initialize several arrays, both to keep the x and are data and to keep the number of each 'package '.

    Now, simply add the new data to the existing elements while incrementing the corresponding number. Dividing by the count will give you the way to be represented graphically. Here's a simple rewrite. The "collection must match the size of the field ramp, so it shouldn't be a separate control, I think. Currently, you graph the two random channels. You would you rather them the two graphic vs of the field instead? You want front and back scans averaged individually or must they go to the same average with a half data table?

    You save operation still seems a little convoluted. How do you actually data to be organized in the final file?

    Here is a quick project to help you get started.

  • Had to restore my PC to the original settings and now I am unable to install additional MS updates.

    ORIGINAL TITLE: Service pack edition

    Had to restore my PC to original - XP Pro version 2002, SP2 settings - and now I am unable to install additional MS updates.  Mr. Fix - it will not work with SP2, windows update is turned on but does not work. What can I do to install the latest service packs?

    Steps to take before you install Windows XP Service Pack 3

    http://support.Microsoft.com/kb/950717>

    For Windows XP Service Pack 2 installation procedure

    http://support.Microsoft.com/kb/875364>

    UTC/GMT is 12:17 Friday, June 29, 2012

  • Delete my old address and phone number of the computer.

    I use a DELL XPS that has loaded Windows XP operating systems.

    When we first bought this computer, we lived in a State different, different home address and telephone number. But we moved to the sunny New Mexico.

    Now, whenever I fill out a form, my 'old' address and phone number fills white and I have to
    constantly to clear the form and manually type in my new address and phone number. It gets old.

    How can I delete/erase my old address and enter the memory on this computer in my new address/phone
    so it will expand sites form with updated contact information.

    Thank you

    mwhunter85

    Try this,

    Tools-internet options-content-auto complete-settings-removed automatic full-tick form data-removal only.

  • need the simple way to set the computer back to factory settings, and already saved safe data

    need the simple way to set the computer back to factory settings, and already saved safe data

    Vista recovery media obtain and/or use the Partition Recovery Vista on your computer to the factory settings .

    There is no Vista free download legal available.

    Contact your computer manufacturer and ask them to send a recovery disk/s Vista set.

    Normally, they do this for a cost of $ small.

    In addition, ask them if you have a recovery Partition on your computer/laptop to restore it to factory settings.

    See if a manual provided with the computer or go to the manufacturer's website, email or you can call for information on how to make a recovery.

    Normally, you have to press F10 or F11 at startup to start the recovery process...

    Another way I've seen on some models is press F8 and go to a list of startup options, and launch a recovery of standards of plant with it, by selecting the repair option.

    Also ask them if it is possible to do the recovery disk/s for the recovery Partition in case of a system Crash or hard drive failure.

    They will tell you how to do this.

    Every computer manufacturer has their own way of making recovery disk/s.

    Or borrow a good Microsoft Vista DVD (not Dell, HP, etc).
    A good Vista DVD contains all versions of Vista.
    The product key determines which version of Vista is installed.

    There are 2 disks of Vista: one for 32-bit operating system, and one for 64-bit operating system.

    If install a cleaning is required with a good DVD of Vista (not HP, Dell recovery disks):

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu

    http://support.Microsoft.com/default.aspx/KB/918884

    MS advice on the conduct of clean install.

    http://www.theeldergeekvista.com/vista_clean_installation.htm

    A tutorial on the use of a clean install

    http://www.winsupersite.com/showcase/winvista_install_03.asp

    Super Guide Windows Vista Installation

    After installation > go to the website of the manufacturer of your computer/notebook > drivers and downloads Section > key in your model number > get latest Vista drivers for it > download/install them.

    Save all data, because it will be lost during a clean installation.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    http://support.Microsoft.com/default.aspx/KB/326246

    'How to replace Microsoft software or hardware, order service packs and upgrades, and replace product manuals'

    See you soon.

    Mick Murphy - Microsoft partner

  • I had to restore my computer to factory settings and now I can't get on the internet

    I had to restore my computer to factory settings and now I can't go on the internet. I have Windows 7

    Hello

    When you perform a restore, you may need to reinstall the network drivers, etc..

    As you can not access the internet on the recovery computer, use the computer that you are on to get here to do this.

    Go to the website to make your computer > Driver and Software Support Section > find your computer model number > then your operating system > locate drivers Windows 7 > download and install the desktop > copy to flash drive > transfer onto the repaired computer.

    Driver downloads:

    Acer:

    http://us.Acer.com/AC/en/us/content/drivers

    ADVENT:

    http://www.adventcomputers.co.UK/product-downloads

    Alienware:

    http://support.Alienware.com/Support_Pages/Restricted_Pages/driver_downloads.aspx

    ASUS:

    http://www.ASUS.com/support

    Dell:

    http://www.Dell.com/support/drivers/us/en/19/ProductSelector

    eMachines:

    http://www.eMachines.com/EC/en/us/content/drivers

    Fujitsu:

    http://www.Fujitsu.com/us/support/

    Gateway:

    http://us.gateway.com/GW/en/us/content/drivers-downloads

    HP:

    http://WWW8.HP.com/us/en/drivers.html

    Lenovo:

    http://support.Lenovo.com/en_US/downloads/default.page#

    LG:

    http://www.LG.com/us/support/software-manuals

    Samsung:

    http://www.Samsung.com/us/support/downloads

    Sony Vaio:

    http://eSupport.Sony.com/Perl/select-System.pl?Director=driver

    Toshiba:

    http://support.Toshiba.com/drivers

    You can download all the drivers this way, or once you have network and/or pilots Wi - Fi installed get the rest downloaded directly to the repaired machine.

    See you soon.

  • When you try to log on, get error - "the system event notification service has no logon. the remote procedure call failed and did not execute. »

    My netbook will not open a session because it can not find a certain file. She won't tell me the file. and when I try to go to safe mode it freezes... is there anyway I can just read another account another point? the message I get is "the system event notification service does not log. the remote procedure call failed and did not execute. "tips anyone? I care is no longer the files it contains. If I could wipe it off somehow to factory settings then would be too cool. his windows 7 starter edition


    Original title: hp netbook to log issue

    You have two options:

    • Perform a factory restore. Check the homepage of the manufacturer for instructions.
    • Start the computer with your Windows XP installation CD, and then follow the prompts. You will have to find the different drivers to match your hardware, for example a driver for SATA hard drive.
  • The remote procedure call failed and did not run + user problem?

    Good so I have a Sony VAIO with Windows 7 Home Premium 64-bit, 4 GB RAM and 640 GB hard drive. During his first installation, VAIO asks you to name your computer so I called him "CARINA" and everything worked perfectly.

    However, we wanted to change the main username in the 'OSCAR', so I went to the control panel > users and this has changed. I thought that everything was great, because when I open the Start Menu, top-right, he says "OSCAR". After more research in the area of research, two things appears under the name 'CARINA': a 'user profile', I think, who had a small square color sky-blueish. and a folder with a lock on it. I tried clicking on the user 'CARINA' first profile, and it just opened what, in my view, is a Properties window 'CARINA '.

    But when I clicked on the folder "CARINA" with a lock, it opened my libraries. But get this: at the top, he said not "CARINA", but "OSCAR". I thought it was odd he did that so I told the computer to delete the folder with the lock named 'CARINA '. As soon as I realized it was a huge file and a gazillion files were there (real libraries), I canceled it, he wants to immediately restore the Recycle bin. But nothing appears on the trash, or I can't enter either because an error saying "the remote procedure call failed and did not execute".

    But the mistake has been made and now it does not work. The Start Menu appears, but I can't click on anything or use the search box. When I click on my library of records, the same message appears ("the remote procedure call failed and did not execute") or when I enter 'Open action center', he said ': {266EE0668-A00A-44D7-9371-BEB064C98683}\5\::{BB64F8A7-BEE7-4E1A-AB8D-7D8273F7FDB...» The remote procedure call failed and did not execute. " Programs on my toolbar work, such as Chrome or Windows Media, or I can change the volume with the icon in the lower right, but I can not enter in 'Computer', my libraries, or anything else. When I open the the TASK Manager, under processes, they are all under the name CARINA. If I stand on the top of the "explorer.exe" process, and I do a right-click on top of CARINA > properties > Security > there are 4 listed users:

    • SYSTEM
    • Administrators (CARINA-VAIO\Administrators)
    • Users (CARINA-VAIO\Users)
    • TrustedInstaller

    The computer has a backup (if I have a backup of an another VAIO Windows 7 Home Premium 64 - bit if necessary) and I'm afraid to stop in case it does not start again. :(

    Any help? What can I do?

    Hello

    Method 1:

    Follow the steps mentioned below.

    (a) type services in the start menu search box.

    (b) in Services, scroll down to "Remote Procedure Call", and make sure the status 'Started' and set to automatic.

    (c) the second "RPC Locator' must be set to"manual ".

    Method 2:

    I suggest you to scan SFC. Scan SFC will be scans all protected system files and replaces incorrect versions with appropriate Microsoft versions.

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    Note:
    I suggest you check manage user accounts to check how many user accounts are present.

    a. Click Start.
    b. go to the control panel.
    c. click user accounts and family safety, and click on user accounts.

    Check how many accounts user is present.

    Method 3:
    I suggest you to create the new user account and check if the problem persists.

    Create a user account
    http://Windows.Microsoft.com/en-in/Windows7/create-a-user-account

    If everything works well in the new user account, then I suggest you to transfer data and settings to the fixed aid corrupt profile.

    Difficulty of a corrupted user profile
    http://Windows.Microsoft.com/en-in/Windows7/fix-a-corrupted-user-profile

  • My laptop has no could and had to be reset to its original settings and everything what top's wiped. I need to redownload CS6 on my laptop?

    My laptop has no could and had to be reset to its original settings and everything what top's wiped. I need to redownload CS6 on my laptop?

    Hello

    Please use the link below to download: -.

    Download Creative Suite 6 applications

    Download and install it as you did before. Then enter your serial number to activate it.

  • in acrobat pro DC, I can't re - save files after making changes and the number appear in what looks like Arabic?

    in acrobat pro DC, I can't re - save files after making changes and the number appear in what looks like Arabic?, I run repair and rebooted the computer several times now...

    Ann Chinsang wrote:

    I can not re - save files

    Why? What is the procedure that you follow? What is the error message?

    Ann Chinsang wrote:

    number appear in what looks like the Arabic

    -What are you talking about? When you try to change the numbers in my document; it evolves in Arabic numerals

  • How can I put a dashed between enrty line and page number of an index?

    I've successfully created an index with Indesign CC, but I can't seem to right align page numbers and get a dotted line between the entry and the page number. It doesn't seem to be an option for that. The menu of content table has a field "between entry and Page number", but I can't find an equivalent here.

    There is also a full stop after each page number. I don't know how it got there, but how do I get rid of this?

    You must change the paragraph style, you use with your texts to index. Go to the tabs tab and change the tab tab left justified right, Insert tab arrow to correct places on the rule of the tab and finally add a point to the head field. Then you need to return to your indexing settings and make sure that you separate the entries index and page number with tab...

    Paragraph Style settings:

    Indexing settings

  • (Management and port number) firewall rules

    Someone at - it information on how to get management and port number for a given ESX host firewall rules using the 'VI Perl Toolkit?'

    For some reason, I can't work this one on. I can get to:

    $host - & gt; config - & gt; Firewall - & gt; set of rules

    and from there I can get the label and the State enabled, etc., but I want to delve into the section rule to get the port number and the management as well as for each service.

    For example, from the CROWD:

    HostFirewallRule

    Name

    Type

    Value

    Direction

    HostFirewallRuleDirection

    "entrants".

    dynamicProperty

    [DynamicProperty]

    Unset

    dynamicType

    string

    Unset

    endPort

    int

    Unset

    port

    int

    5989

    Protocol

    string

    "tcp".

    |

    How can I get this information for each service?

    Thanks in advance

    If you found this helpful, please consider awarding points

    Hi Paul,.

    You will need to first loop through the array rule set of firewall and from there you will get some properties this State if it is active, service, etc. and you will also have access to an array called rule that contains the rules within each of the ruleset. Once you go through the rules, you will find information about the direction, endPort, port and Protocol

    Something like this should work (there will be values that will not fill as endPort, so make sure you check before printing/etc.)

    my $fw_ruleset = $host->config->firewall->ruleset;
    
    foreach(@$fw_ruleset) {
         my $rules = $_->rule;
         if($_->enabled) {
             print "Firewall Rule: ", $_->label, "\n";
             foreach(@$rules) {
                  print "Direction: ", $_->direction->val, "\n";
                 print "End Port: ", $_->endPort, "\n";
                 print "Port: ", $_->port, "\n";
                 print "Protocol: ", $_->protocol, "\n";
              }
              print "-------------\n"
         }
    }
    

    Here's a quick snippet out:

    Firewall rule: SNMP Server

    Direction: inbound

    Use of uninitialized value, catalogue in ligne./vmwareHealthCheck.pl 1748.

    Ending port:

    Port: 161

    Protocol: udp

    Direction: outgoing

    Use of uninitialized value, catalogue in ligne./vmwareHealthCheck.pl 1748.

    Ending port:

    Port: 162

    Protocol: udp

    -

Maybe you are looking for