Error compiling procedure

Hi to All,
While creating a procedure I got a "ORA-00942: table or view does not exist" the table is there I can do a describe do a select, but some reason it does not see it if referenced in the procedure, if I use the same statement in "DECLARE" instead of "CREATE OR REPLACE" it sees the table and no error is given.
Below is the code:
FFS> DESC STE_V1SITE
Name
SITE_ID_NU
ST_NU
SITE_NU
SITE_FMLY_ID_NU
PRE_SITE_ID_NU
SITE_DS
FFS> CREATE OR REPLACE PROCEDURE temp IS
2
3 CURSOR site_ds_cur (
4 P_site_id IN NUMBER
5 , P_Thru_Dt IN DATE
6 ) IS
7 SELECT site.site_ds
8 FROM ste_v1site site
9 WHERE site.site_id_nu = P_site_id ;
10
11 TYPE site_ds_typ IS
12 TABLE OF ste_v1site.site_ds%TYPE
13 INDEX BY BINARY_INTEGER;
14
15 site_ds_tbl site_ds_typ;
16
17 BEGIN
18 NULL;
19
20 END;
21 /
Warning: Procedure created with compilation errors.
FFS> SHO ERROR
Errors for PROCEDURE TEMP:
LINE/COL ERROR
7/3 PL/SQL: SQL Statement ignored
8/10 PL/SQL: ORA-00942: table or view does not exist
11/3 PL/SQL: Item ignored
12/12 PLS-00201: identifier 'STE_V1SITE' must be declared
FFS>
FFS> DECLARE
2 CURSOR site_ds_cur (
3 P_site_id IN NUMBER
4 , P_Thru_Dt IN DATE
5 ) IS
6 SELECT site.site_ds
7 FROM ste_v1site site
8 WHERE site.site_id_nu = P_site_id ;
9
10 TYPE site_ds_typ IS
11 TABLE OF ste_v1site.site_ds%TYPE
12 INDEX BY BINARY_INTEGER;
13
14 site_ds_tbl site_ds_typ;
15
16 BEGIN
17 NULL;
18 END;
19 /
PL/SQL procedure successfully completed.
FFS> CREATE OR REPLACE PROCEDURE temp IS
2 BEGIN
3 NULL;
4 END;
5 /
Procedure created.
Thanks to all those who provide help...
Habeeb

somthing like this
SQL> declare
  2  cursor c(pdeptno number) is select empno,ename from emp
  3  where deptno=pdeptno;
  4  begin
  5  for i in c(10) loop
  6    dbms_output.PUT_LINE(i.empno||'     :   '||i.ename);
  7  end loop;
  8  end;
  9  /
7782     :   CLARK
7839     :   KING
7934     :   MILLER
PL/SQL procedure successfully completed.

Similar Messages

  • Error compiling procedure send mail

    Hi all,
    I have this error message (on 10.2 version)
    Table or view doesn't exist
    At this line
    + select dd.directory_name into directory_name from dba_directories dd+
    + where dd.directory_path = line and rownum = 1;+
    But I don't know how can resolve it.
    This is the all procedure
    [http://forums.oracle.com/forums/]
    CREATE OR REPLACE PROCEDURE P_SPEDEMAIATTA ( from_name IN VARCHAR2,
    to_names IN VARCHAR2,
    subject     IN VARCHAR2,
    message     IN VARCHAR2 default null,
    html_message     IN VARCHAR2 default null,
    cc_names     IN VARCHAR2 default null,
    bcc_names     IN VARCHAR2 default null,
    filename1 varchar2 default null,
    filetype1 varchar2 default 'text/plain',
    filename2 varchar2 default null,
    filetype2 varchar2 default 'text/plain',
    filename3 varchar2 default null,
    filetype3 varchar2 default 'text/plain',
    V_CODIERRO OUT VARCHAR2,
    V_DESCERRO OUT VARCHAR2)
    is
    -- Change the SMTP host name and port number below to your own values,
    -- if not localhost on port 25:
    smtp_host varchar2(256) := 'SMTP.INET.IT';
    smtp_port number := 25;
    -- Change the boundary string, if needed, which demarcates boundaries of
    -- parts in a multi-part email, and should not appear inside the body of
    -- any part of the e-mail:
    boundary constant varchar2(256) := 'CES.Boundary.DACA587499938898';
    recipients varchar2(32767);
    directory_path varchar2(256);
    file_name varchar2(256);
    crlf varchar2(2):= chr(13) || chr(10);
    mesg varchar2(32767);
    conn UTL_SMTP.CONNECTION;
    type varchar2_table is table of varchar2(256) index by binary_integer;
    file_array varchar2_table;
    type_array varchar2_table;
    i binary_integer;
    my_code number;
    my_errm varchar2(32767);
    -- Function to return the next email address in the list of email addresses,
    -- separated by either a "," or a ";". From Oracle's demo_mail. The format
    -- of mailbox may be in one of these:
    -- someone@some-domain
    -- "Someone at some domain" <someone@some-domain>
    -- Someone at some domain <someone@some-domain>
    FUNCTION get_address(addr_list IN OUT VARCHAR2) RETURN VARCHAR2 IS
    addr VARCHAR2(256);
    i pls_integer;
    FUNCTION lookup_unquoted_char(str IN VARCHAR2,
    chrs IN VARCHAR2) RETURN pls_integer IS
    c VARCHAR2(5);
    i pls_integer;
    len pls_integer;
    inside_quote BOOLEAN;
    BEGIN
    inside_quote := false;
    i := 1;
    len := length(str);
    WHILE (i <= len) LOOP
    c := substr(str, i, 1);
    IF (inside_quote) THEN
    IF (c = '"') THEN
    inside_quote := false;
    ELSIF (c = '\') THEN
    i := i + 1; -- Skip the quote character
    END IF;
    GOTO next_char;
    END IF;
    IF (c = '"') THEN
    inside_quote := true;
    GOTO next_char;
    END IF;
    IF (instr(chrs, c) >= 1) THEN
    RETURN i;
    END IF;
    <<next_char>>
    i := i + 1;
    END LOOP;
    RETURN 0;
    END;
    BEGIN
    addr_list := ltrim(addr_list);
    i := lookup_unquoted_char(addr_list, ',;');
    IF (i >= 1) THEN
    addr := substr(addr_list, 1, i - 1);
    addr_list := substr(addr_list, i + 1);
    ELSE
    addr := addr_list;
    addr_list := '';
    END IF;
    i := lookup_unquoted_char(addr, '<'>');
    IF (i >= 1) THEN
    addr := substr(addr, 1, i - 1);
    END IF;
    END IF;
    i := lookup_unquoted_char(addr, '@');
    IF (i = 0 and smtp_host != 'localhost') THEN
    i := instr(smtp_host, '.', -1, 2);
    addr := addr || '@' || substr(smtp_host, i + 1);
    END IF;
    addr := '<'>';
    RETURN addr;
    END;
    -- Procedure to split a file pathname into its directory path and file name
    -- components.
    PROCEDURE split_path_name(file_path IN VARCHAR2, directory_path OUT VARCHAR2,
    file_name OUT VARCHAR2) IS
    pos number;
    begin
    -- Separate the filename from the directory name
    pos := instr(file_path,'/',-1);
    if pos = 0 then
    pos := instr(file_path,'\',-1);
    end if;
    if pos = 0 then
    directory_path := null;
    else
    directory_path := substr(file_path,1,pos - 1);
    end if;
    file_name := substr(file_path,pos + 1);
    end;
    -- Procedure to append a file's contents to the e-mail
    PROCEDURE append_file(directory_path IN VARCHAR2, file_name IN VARCHAR2,
    file_type IN VARCHAR2, conn IN OUT UTL_SMTP.CONNECTION) IS
    generated_name varchar2(30) := 'CESDIR' || to_char(sysdate,'HH24MISS');
    directory_name varchar2(30);
    file_handle utl_file.file_type;
    bfile_handle bfile;
    bfile_len number;
    pos number;
    read_bytes number;
    line varchar2(1000);
    data raw(200);
    my_code number;
    my_errm varchar2(32767);
    begin
    begin
    -- Grant access to the directory, unless already defined, and open
    -- the file (as a bfile for a binary file, otherwise as a text file).
    begin
    line := directory_path;
    select dd.directory_name into directory_name from dba_directories dd
    where dd.directory_path = line and rownum = 1;
    exception
    when no_data_found then
    directory_name := generated_name;
    end;
    if directory_name = generated_name then
    execute immediate 'create or replace directory ' || directory_name ||
    ' as ''' || directory_path || '''';
    execute immediate 'grant read on directory ' || directory_name ||
    ' to public';
    end if;
    if substr(file_type,1,4) != 'text' then
    bfile_handle := bfilename(directory_name,file_name);
    bfile_len := dbms_lob.getlength(bfile_handle);
    pos := 1;
    dbms_lob.open(bfile_handle,dbms_lob.lob_readonly);
    else
    file_handle := utl_file.fopen(directory_name,file_name,'r');
    end if;
    -- Append the file contents to the end of the message
    loop
    -- If it is a binary file, process it 57 bytes at a time,
    -- reading them in with a LOB read, encoding them in BASE64,
    -- and writing out the encoded binary string as raw data
    if substr(file_type,1,4) != 'text' then
    if pos + 57 - 1 > bfile_len then
    read_bytes := bfile_len - pos + 1;
    else
    read_bytes := 57;
    end if;
    dbms_lob.read(bfile_handle,read_bytes,pos,data);
    utl_smtp.write_raw_data(conn,utl_encode.base64_encode(data));
    pos := pos + 57;
    if pos > bfile_len then
    exit;
    end if;
    -- If it is a text file, get the next line of text, append a
    -- carriage return / line feed to it, and write it out
    else
    utl_file.get_line(file_handle,line);
    utl_smtp.write_data(conn,line || crlf);
    end if;
    end loop;
    -- Output any errors, except at end when no more data is found
    exception
    when no_data_found then
    null;
    when others then
    my_code := SQLCODE;
    my_errm := SQLERRM;
    dbms_output.put_line('Error code ' || my_code || ': ' ||
    my_errm);
    end;
    -- Close the file (binary or text)
    if substr(file_type,1,4) != 'text' then
    dbms_lob.close(bfile_handle);
    else
    utl_file.fclose(file_handle);
    end if;
    if directory_name = generated_name then
    execute immediate 'drop directory ' || directory_name;
    end if;
    end;
    begin
    -- Load the three filenames and file (mime) types into an array for
    -- easier handling later
    file_array(1) := filename1;
    file_array(2) := filename2;
    file_array(3) := filename3;
    type_array(1) := filetype1;
    type_array(2) := filetype2;
    type_array(3) := filetype3;
    -- Open the SMTP connection and set the From and To e-mail addresses
    conn := utl_smtp.open_connection(smtp_host,smtp_port);
    utl_smtp.helo(conn,smtp_host);
    recipients := from_name;
    utl_smtp.mail(conn,get_address(recipients));
    recipients := to_names;
    while recipients is not null loop
    utl_smtp.rcpt(conn,get_address(recipients));
    end loop;
    recipients := cc_names;
    while recipients is not null loop
    utl_smtp.rcpt(conn,get_address(recipients));
    end loop;
    recipients := bcc_names;
    while recipients is not null loop
    utl_smtp.rcpt(conn,get_address(recipients));
    end loop;
    utl_smtp.open_data(conn);
    -- Build the start of the mail message
    mesg := 'Date: ' || TO_CHAR(SYSDATE,'dd Mon yy hh24:mi:ss') || crlf ||
    'From: ' || from_name || crlf ||
    'Subject: ' || subject || crlf ||
    'To: ' || to_names || crlf;
    if cc_names is not null then
    mesg := mesg || 'Cc: ' || cc_names || crlf;
    end if;
    if bcc_names is not null then
    mesg := mesg || 'Bcc: ' || bcc_names || crlf;
    end if;
    mesg := mesg || 'Mime-Version: 1.0' || crlf ||
    'Content-Type: multipart/mixed; boundary="' || boundary || '"' ||
    crlf || crlf ||
    'This is a Mime message, which your current mail reader may not' || crlf ||
    'understand. Parts of the message will appear as text. If the remainder' || crlf ||
    'appears as random characters in the message body, instead of as' || crlf ||
    'attachments, then you''ll have to extract these parts and decode them' || crlf ||
    'manually.' || crlf || crlf;
    utl_smtp.write_data(conn,mesg);
    -- Write the text message or message file, if any
    if message is not null then
    mesg := '--' || boundary || crlf ||
    'Content-Type: text/plain; name="message.txt"; charset=US-ASCII' ||
    crlf ||
    'Content-Disposition: inline; filename="message.txt"' || crlf ||
    'Content-Transfer-Encoding: 7bit' || crlf || crlf;
    utl_smtp.write_data(conn,mesg);
    if instr(message,'/') = 1 or instr(message,':\') = 2 or
    instr(message,'\\') = 1 then
    split_path_name(message,directory_path,file_name);
    append_file(directory_path,file_name,'text',conn);
    utl_smtp.write_data(conn,crlf);
    else
    utl_smtp.write_data(conn,message || crlf);
    end if;
    end if;
    -- Write the HTML message or message file, if any
    if html_message is not null then
    mesg := '--' || boundary || crlf ||
    'Content-Type: text/html; name="message.html"; charset=US-ASCII' ||
    crlf ||
    'Content-Disposition: inline; filename="message.html"' || crlf ||
    'Content-Transfer-Encoding: 7bit' || crlf || crlf;
    utl_smtp.write_data(conn,mesg);
    if instr(html_message,'/') = 1 or instr(html_message,':\') = 2 or
    instr(html_message,'\\') = 1 then
    split_path_name(html_message,directory_path,file_name);
    append_file(directory_path,file_name,'text',conn);
    utl_smtp.write_data(conn,crlf);
    else
    utl_smtp.write_data(conn,html_message || crlf);
    end if;
    end if;
    -- Append the files
    for i in 1..3 loop
    -- If the filename has been supplied ...
    if file_array(i) is not null then
    split_path_name(file_array(i),directory_path,file_name);
    -- Generate the MIME boundary line according to the file (mime) type
    -- specified.
    mesg := crlf || '--' || boundary || crlf;
    if substr(type_array(i),1,4) != 'text' then
    mesg := mesg || 'Content-Type: ' || type_array(i) ||
    '; name="' || file_name || '"' || crlf ||
    'Content-Disposition: attachment; filename="' ||
    file_name || '"' || crlf ||
    'Content-Transfer-Encoding: base64' || crlf || crlf ;
    else
    mesg := mesg || 'Content-Type: application/octet-stream; name="' ||
    file_name || '"' || crlf ||
    'Content-Disposition: attachment; filename="' ||
    file_name || '"' || crlf ||
    'Content-Transfer-Encoding: 7bit' || crlf || crlf ;
    end if;
    utl_smtp.write_data(conn,mesg);
    -- Append the file contents to the end of the message
    append_file(directory_path,file_name,type_array(i),conn);
    utl_smtp.write_data(conn,crlf);
    end if;
    end loop;
    -- Append the final boundary line
    mesg := crlf || '--' || boundary || '--' || crlf;
    utl_smtp.write_data(conn,mesg);
    -- Close the SMTP connection
    utl_smtp.close_data(conn);
    utl_smtp.quit(conn);
    exception
    when utl_smtp.transient_error or utl_smtp.permanent_error then
    my_code := SQLCODE;
    my_errm := SQLERRM;
    V_CODIERRO := SQLCODE;
    V_DESCERRO := SQLERRM;
    begin
    utl_smtp.quit(conn);
    exception
    when utl_smtp.transient_error or utl_smtp.permanent_error then
    null;
    end;
    -- raise_application_error(-20000,
    -- 'Failed to send mail - SMTP server down or unavailable: Error code ' ||
    -- my_code || ': ' || my_errm);
    when others then
    my_code := SQLCODE;
    my_errm := SQLERRM;
    V_CODIERRO := SQLCODE;
    V_DESCERRO := SQLERRM;
    raise_application_error(-20000,
    'Failed to send mail: Error code ' || my_code || ': ' || my_errm);
    end;
    Edited by: mosquito70 on Jan 22, 2009 12:33 PM

    Thank's,
    but the problem is that I have the system user password but I haven't that of sys.
    So, if I try to run the statment
    grant select on dba_directories to myuser;
    I have the this code error ORA-01031
    How can resolve, without use all_directories?
    Thank's
    Bye

  • Compile procedure  on 8.1.7 Win OK - on  9.2.0.4.0 SUN Error

    Hi,
    I have got a problem with compiling procedure on database 9.2.0.4.0 SUN. This same procedure compile without problems on 8.1.7 Win. Links, hints will be helpful. The procedure and error are below:
    CREATE OR REPLACE PROCEDURE BUDZET2003.P_IM_PR_PRZYCH_PE_TMP(USER IN CHAR)
    is
    BEGIN
    insert into IM_PR_PRZYCH_TMP
    Select PROJEKTY_ID, PROJEKTY_NAZWA,PROJEKTY_NADRZ_ID,PROJEKTY_OPERATOR,PROJEKTY_FORMULA,'',PROJEKTY_SORT2,
    WYDZIAL, ODPOWIEDZIALNY, WAZNY_OD, WAZNY_DO, ZASILANIE, SYSDATE, USER ,''
    FROM W2_PR_PRZYCH_EE_C
    start with PROJEKTY_id = 'PE'
         Connect by prior PROJEKTY_id = PROJEKTY_NADRZ_ID
    WHERE
    PROJEKTY_ID NOT IN
    (SELECT PROJEKTY_ID
         FROM W2_PR_PRZYCH)
    END;
    4/1 PL/SQL: SQL Statement ignored
    10/53 PL/SQL: ORA-00907:
    Thanks
    jozefp

    Hi,
    usually I expect people to do a little research and I do not give everything chewed.
    Point 4:
    go to the
    <b>Oracle9i Database Migration Release 2 (9.2)</b>
    go to the chapter 3
    <b>Upgrading a Database to the New Oracle9i Release</b>
    go to the point:
    <b>Upgrade the Database Manually</b>
    Exactly from here:
    http://download.oracle.com/docs/cd/B10501_01/server.920/a96530/upgrade.htm#1009200
    Keep in mind
    1) that the <i>EXACT </i>procedure you are following it is not indicated in this manual
    2) you have to think a little ( do you have all the windows services created on the destination system? if not, you have to create them ... )
    3) this procedure is not supported by SAP. It is a valid option but not supported by them. You have to practice until you get all the points correctly

  • Problem in compiling procedure from another schema

    Hi all
    I have got 2 schemas, say A and B.
    Schema A owns a procedure P which selects data from table T1 ( external table ) and updates table T2.
    i have granted Schema B
    1) read, write privilege on the directory that table T1 refrences.
    2) all on table T1
    3) all on table T2
    4) execute on P
    I have created public synonyms for T1, T2 and P ( same name ).
    Now when i try to compile procedure P from schema B I get error
    ORA-01031: insufficient privileges
    Where am i wrong?
    Please Help

    You'll need CREATE ANY PROCEDURE privilege for that.
    Is there any reason why you don't post the one thing on which you are asking about : the alter procedure statement?
    (apart from also not posting the version, which you always should include)
    Sybrand Bakker
    Senior Oracle DBA

  • ERROR IN PROCEDURE

    I'm trying to write a procedure that will compute the start and end dates of the weeks within a period, etc. Number of business days in a week is 5; that is, Monday to Friday.
    The first part of the code I have to write is giving me problems please help. The table below was created:
    Wrote file afiedt.buf
    1 CREATE TABLE WEEKS
    2 (WEEKID VARCHAR2(20),
    3 TRANSACTION_YEAR VARCHAR2(20),
    4 START_DATE DATE,
    5 END_DATE DATE,
    6 DAYS VARCHAR2(20),
    7* WEEK_NUMBER VARCHAR2(20))
    SQL> /
    Table created.
    SQL> --- Code To Generate start date, end date weekid, week number, etc in A financial Year
    SQL> Create OR REPLACE PROCEDURE Weeksinyear IS
    2 BEGIN
    3 declare
    4 sdate_v weeks.start_date%type;
    5 edate_v weeks.end_date%type;
    6 ndays_v weeks.days%type;
    7 nweek_v Weeks.week_number%type;
    8 weekid_v weeks.weeksid%type;
    9 transyear_v weeks.weeks.transaction_year%type;
    10 numbweeks_v number;
    11 fyearst_v date;
    12 fyeared_v date;
    13 totaldays_V number;
    14 i number;
    15 d number;
    16 begin
    17 fyearst_v := '05-jan-2004';
    18 fyeared_v := '26-jan-2004';
    19 sdate := fyearst_v;
    20 transyear_v := to_char('05-jan-2004','yyyy');
    21 nweek_v :=1;
    22 ndays_v := 5;
    23 totaldays_v := to_number(to_date(fyeared) - to_date(fyearst));
    24 nweekid_v :=1;
    25 i := 1;
    26 loop
    27 If to_char(fyearst_v,'DAY') ='MONDAY ' then
    28 loop
    29 i := i + 4;
    30 if i < totaldays_v then
    31 d := to_number(totaldays_v - i);
    32 edate_v := (sdate_v + (d - 1));
    33 elseif i = totaldays_v then
    34 edate_v := sdate_v + 4;
    35 elseif i < totaldays then
    36 edate := (sdate + 4);
    37 endif;
    38 weekid_v := (i||'000'||'i');
    39 insert into weeks(weekid, transaction_year, start_date, end_date, days, week_number)
    40 values(weekid_v,transyear, sdate_v, ndays, nweek_v);
    41 if totaldays_V > 7 then
    42 weekid_v := weekid + 1;
    43 sdate_v := sdate_v + 7;
    44 transyear_V := transyear_v;
    45 nweek_v := nweek_v + 1;
    46 ndays_v := ndays_v;
    47 totaldays_v := to_number(totaldays_v - 7);
    48 else exit;
    49 end loop;
    50 else exit;
    51 end loop;
    52 end;
    53 END;
    54 /
    Warning: Procedure created with compilation errors.
    SQL> sho err;
    Errors for PROCEDURE WEEKSINYEAR:
    LINE/COL ERROR
    33/35 PLS-00103: Encountered the symbol "I" when expecting one of the
    following:
    := . ( @ % ;
    35/35 PLS-00103: Encountered the symbol "I" when expecting one of the
    following:
    := . ( @ % ;
    49/23 PLS-00103: Encountered the symbol "LOOP" when expecting one of
    the following:
    if
    LINE/COL ERROR
    51/17 PLS-00103: Encountered the symbol "LOOP" when expecting one of
    the following:
    if
    SQL>

    So many things, I don't really know where to start.
    At line 32
    IF TO_CHAR(fyearst,'DAY') ='MONDAY ' then
    Will never be true it needs to be either
    IF TO_CHAR(fyearst,'DAY') ='MONDAY ' THEN -- A total of 9 characters (padded to the length of WEDNESDAY) or
    IF TRIM(TO_CHAR(fyearst,'DAY')) ='MONDAY' THEN
    Fixing this leads to a second problem in the inner loop. At line 35
    IF i < totaldays THEN
    is logically incorrect. The variable i will take the values 5, 9, 13, 17 and enter the if condition, but will not be equal to totaldays at line 38. On the fifth iteration i = 21 so the conditional at line 35 fails and you have an infinite loop, so the test needs to be:
    IF i <= totaldays THEN
    to even get into any of your processing. Now, on the fifth pass, the conditional on line 38 (IF i = totaldays THEN ) will be true, so edate gets set, but the condition on line 40 (IF i > totaldays THEN) can never be true, so we're back to an infinite loop.
    So change line 40 to
    IF i >= totaldays THEN
    Now, the insert gets done, and the test at line 45 (IF totaldays > 7 THEN) passes and totaldays gets reset, and we go back to the top of the inner loop. Now, i = 21 and totaldays = 14, so the condition at line 35 fails, and again, we're in an infinite loop, so lets reset i as well as totaldays.
    Now i still goes 5, 9, 13, 17, 21 but totaldays = 14, so the test at line 38 is never true, and once more, an infinite loop.
    At this point I gave up and put an explicit exit after the insert statement, just to see what should be inserted, and got another infinite loop in the outer loop because there is no terminating condition on the loop since fyearst never gets changed. Having seen some output, I think what you are looking for is something more like:
    INSERT INTO weeks
    SELECT rownum, TO_CHAR(TO_DATE('05-jan-2004','dd-mon-yyyy'),'YYYY'),
           NEXT_DAY(TO_DATE('05-jan-2004','dd-mon-yyyy') - 7,'MONDAY') + ((rownum - 1) * 7),
           NEXT_DAY(TO_DATE('05-jan-2004','dd-mon-yyyy') + 1,'FRIDAY') + ((rownum - 1) * 7),
           '5', TO_CHAR(rownum)
    FROM all_objects
    WHERE rownum <= 52or, if you really want a procedure:
    CREATE OR REPLACE PROCEDURE weeksinyear (p_start IN DATE, p_end IN DATE) AS
       num_weeks NUMBER;
    BEGIN
       num_weeks := (NEXT_DAY(p_end,'MONDAY') - NEXT_DAY(p_start - 7,'MONDAY')) /7;
       INSERT INTO weeks
       SELECT rownum, TO_CHAR(p_start,'YYYY'),
              NEXT_DAY(p_start - 7,'MONDAY') + ((rownum - 1) * 7),
              NEXT_DAY(p_start + 1,'FRIDAY') + ((rownum - 1) * 7),
              '5', TO_CHAR(rownum)
       FROM all_objects
       WHERE rownum <= num_weeks;
       COMMIT;
    END;If you will always want to do this for an entire year, then the procedure could be simplified to:
    CREATE OR REPLACE PROCEDURE weeksinyear (p_start IN DATE) AS
    BEGIN
       INSERT INTO weeks
       SELECT rownum, TO_CHAR(p_start,'YYYY'),
              NEXT_DAY(p_start - 7,'MONDAY') + ((rownum - 1) * 7),
              NEXT_DAY(p_start + 1,'FRIDAY') + ((rownum - 1) * 7),
              '5', TO_CHAR(rownum)
       FROM all_objects
       WHERE rownum <= 52;
       COMMIT;
    END;TTFN
    John

  • ERROR in PROCEDURE  PL/SQL: ORA-00947: not enough values

    Hi all i am creating a Procedure in which i am getting very strange ERROR
    h4. i am using Oralce 11g, SQL Developer 3
    my scenario is :
    CREATE SEQUENCE tt_TMPMEASURESOURCE_ID
    START WITH 1
    INCREMENT BY 1;
    CREATE TABLE tt_TMPMEASURESOURCE
    ID NUMBER(10,0) ,
    OBJNAME VARCHAR2(200) ,
    PRSP NUMBER(10,0) ,
    SOURCEID NUMBER(10,0) ,
    SOURCENAME VARCHAR2(100) ,
    FIX NUMBER(3,0) ,
    MNAME VARCHAR2(1000) ,
    MDESC VARCHAR2(1000)
    CREATE OR REPLACE TRIGGER tt_TMPMEASURESOURCE_ID_TRG
    BEFORE INSERT
    ON tt_TMPMEASURESOURCE
    FOR EACH ROW
    BEGIN
    SELECT tt_TMPMEASURESOURCE_ID.NEXTVAL INTO :NEW.ID
    FROM DUAL;
    END;
    INSERT INTO TT_TMPMEASURESOURCE
    *(OBJNAME,PRSP,SOURCEID,SOURCENAME,FIX,MNAME,MDESC)*
    values ('rajnish',43,54,'anish',4,'apple','kumar');
    output :
    +1 row inserted+
    h4. select * from TT_TMPMEASURESOURCE;
    h3. 1     rajnish     43     54     anish     4     apple     kumar
    creating and compiling Procedure
    create or replace procedure tem_test
    as
    begin
    INSERT INTO tt_TmpMeasureSource
    *(OBJNAME,PRSP,SOURCEID,SOURCENAME,FIX,MNAME,MDESC)*
    VALUES ( v_ObjName, v_PrespectiveID, v_SourceID, v_SourceName, v_FIX, v_MName, v_MDesc );
    when compiling
    Error(63,16): PL/SQL: SQL Statement ignored
    Error(63,28): PL/SQL: ORA-00947: not enough values
    i am do not understand that when Trigger A trigger is allready there for 1st column
    then why its giving me this error?
    please help me out
    thanks

    i got my solutions
    creating and compiling Procedure
    create or replace procedure tem_test
    as
    begin
    INSERT INTO tt_TmpMeasureSource
    *(OBJNAME,PRSP,SOURCEID,SOURCENAME,FIX,MNAME,MDESC)*
    VALUES ( v_ObjName, v_PrespectiveID, v_SourceID, v_SourceName, v_FIX, v_MName, v_MDesc );
    it was a typography mistake
    this line was missing in Original procedure
    *(OBJNAME,PRSP,SOURCEID,SOURCENAME,FIX,MNAME,MDESC)*thanks

  • PLS-00382 Error in procedure

    I have a procedure (below) that is invalid. Last night the instance of the database I'm working in got refreshed (data only) and a few of my procedures were invalidated, including this one. When I tried to recreate it I got the following error:
    PLS-00382: expression is of wrong type
    I don't understand why it's now not working (worked fine yesterday), or what this error means in relation to the statement.
    Does anyone know what I'm doing wrong here?
    Thanks,
    Pete
    SQL> CREATE OR REPLACE PROCEDURE nyp.WBS_NOTE
    2 IS
    3 CURSOR C_WBS_NOTES IS
    4 SELECT * FROM WBS_NOTES;
    5 V_WBS_ID NUMBER;
    6 V_WBSMEMO_ID NUMBER;
    7 V_PROJ_ID NUMBER;
    8 V_WBS_VAL VARCHAR2(200);
    9 V_WBS_PARENT VARCHAR2(200);
    10
    11 BEGIN
    12 UPDATE
    13 WBS_NOTES W
    14 SET W.TEXT = REPLACE(W.Text, 'CHR(13)', '
    15 ');
    16 INSERT INTO WBS_NOTE_PROJ_NOT_FOUND
    17 SELECT *
    18 FROM WBS_NOTES W WHERE EXISTS(
    19 SELECT 'A'
    20 FROM ACC_CONV_PROJ_NOT_FOUND P
    21 WHERE W.Project_num = P.Project_num);
    22 DELETE
    23 FROM WBS_NOTES W WHERE EXISTS(
    24 SELECT 'A'
    25 FROM ACC_CONV_PROJ_NOT_FOUND P
    26 WHERE W.Project_num = P.Project_num);
    27 FOR NOTES IN C_WBS_NOTES LOOP
    28 SELECT P.PROJ_ID
    29 INTO V_PROJ_ID
    30 FROM PROJECT P
    31 WHERE P.PROJ_SHORT_NAME = NOTES.PROJECT_NUM;
    32 V_WBS_VAL := NOTES.WBS;
    33 V_WBS_PARENT := SUBSTR(V_WBS_VAL, 1, INSTR(V_WBS_VAL, '.', -1) - 1);
    34 WHILE INSTR(V_WBS_PARENT, '.') <> 0 LOOP
    35 V_WBS_PARENT := SUBSTR(V_WBS_PARENT, INSTR(V_WBS_PARENT, '.') + 1, 200);
    36 END LOOP;
    37 V_WBS_VAL := SUBSTR(V_WBS_VAL, INSTR(V_WBS_VAL, '.') + 1, 200);
    38 WHILE INSTR(V_WBS_VAL, '.') <> 0 LOOP
    39 V_WBS_VAL := SUBSTR(V_WBS_VAL, INSTR(V_WBS_VAL, '.') + 1, 200);
    40 END LOOP;
    41 SELECT W.WBS_ID
    42 INTO V_WBS_ID
    43 FROM PROJWBS W
    44 , PROJWBS PW
    45 WHERE UPPER(W.WBS_NAME) = UPPER(V_WBS_VAL)
    46 AND PW.PROJ_ID = V_PROJ_ID
    47 AND PW.WBS_ID = W.PARENT_WBS_ID
    48 AND UPPER(PW.WBS_SHORT_NAME) = UPPER(V_WBS_PARENT);
    49 GETNEXTKEYS('wbsmemo_wbs_memo_id', 1, V_WBSMEMO_ID);
    50 EXECUTE IMMEDIATE
    51 ' INSERT INTO WBSMEMO ' ||
    52 ' SELECT ' || V_WBSMEMO_ID ||
    53 ', ''' || V_PROJ_ID || '''' ||
    54 ', ''' || V_WBS_ID || '''' ||
    55 ', MT.MEMO_TYPE_ID ' ||
    56 ', ''' || NOTES.TEXT || '''' ||
    57 ' FROM MEMOTYPE MT ' ||
    58 ' WHERE MT.MEMO_TYPE = ''' || NOTES.NTBKTYPE || '''';
    59 END LOOP;
    60 END;
    61 /
    Warning: Procedure created with compilation errors.
    SQL> SHOW ERRORS
    Errors for PROCEDURE NYP.WBS_NOTE:
    LINE/COL ERROR
    50/2 PL/SQL: Statement ignored
    51/2 PLS-00382: expression is of wrong type

    There could be data type mis-match within the time you re-compiled the program. Check the data type for which you are Inserting / Updating with the values you are actually using to populate.
    Note:
    Insert into TABLE1
    Select * from TABLE2.
    It is not advisible to have the above statement
    eventhough this will work as long as
    the fields in table TABLE1 and TABLE2 are same.
    Instead of "*" use the filed names.
    CRAMANA

  • Error in procedure creation

    Hi,
    I am creating the procedure but getting the following error. I could not identify where the exact problem at line 5:
    Oracle 11.2.0
    SQL> CREATE OR REPLACE PROCEDURE BEDPOST_SATYA
    2 (TRANDATE OUT BEDPOSTCHECK.TRANDATE%TYPE,
    3 NOS OUT BEDPOSTCHECK.NOS%TYPE,
    4 UNIT OUT BEDPOSTCHECK.TRANDATE%TYPE,
    5 TDATE VARCHAR2(20);)
    6 AS
    7 Select to_char(SYSDATE-1,'YYYYMMDD') into TDATE from dual;
    8 cursor satya is
    9 select trandate,nos,unit from bedpostcheck where trandate=tdate;
    10 begin
    11 open satya;
    12 loop
    13 fetch satya
    14 into trandate,nos,unit;
    15 exit when satya%notfound;
    16 dbms_output.put_line (trandate || unit || nos);
    17 end loop
    18 close satya;
    19 END BEDPOST_SATYA;
    20 /
    Warning: Procedure created with compilation errors
    SQL> SHOW ERRORS;
    Errors for PROCEDURE JEEVADB.BEDPOST_SATYA:
    LINE/COL ERROR
    5/15 PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character
    thanks
    satya

    user608405 wrote:
    I have modified but getting the following errors:
    SQL> CREATE OR REPLACE PROCEDURE BEDPOST_SATYA
    2 (TRANDATE OUT BEDPOSTCHECK.TRANDATE%TYPE,
    3 NOS OUT BEDPOSTCHECK.NOS%TYPE,
    4 UNIT OUT BEDPOSTCHECK.TRANDATE%TYPE,
    5 TDATE VARCHAR2(20))
    6 AS
    7 Select to_char(SYSDATE-1,'YYYYMMDD') into TDATE from dual;
    8 cursor satya is
    9 select trandate,nos,unit from bedpostcheck where trandate=tdate;
    10 begin
    11 open satya;
    12 loop
    13 fetch satya
    14 into trandate,nos,unit;
    15 exit when satya%notfound;
    16 dbms_output.put_line (trandate || unit || nos);
    17 end loop
    18 close satya;
    19 END BEDPOST_SATYA;
    20 /
    Warning: Procedure created with compilation errors
    SQL> show errors;
    Errors for PROCEDURE JEEVADB.BEDPOST_SATYA:
    LINE/COL ERROR
    5/15 PLS-00103: Encountered the symbol "(" when expecting one of the following: := . ) , @ % default character The symbol ":=" was substituted for "(" to continue.
    7/1 PLS-00103: Encountered the symbol "SELECT" when expecting one of the following: begin function pragma procedure subtype type <an identifier> <a double-quoted delimited-identifier> current cursor delete exists prior external language The symbol "begin" was substituted for "SELECT" to continue.
    8/8 PLS-00103: Encountered the symbol "SATYA" when expecting one of the following: := . ( @ % ;try this or the prior posting that i have.
    CREATE OR REPLACE PROCEDURE BEDPOST_SATYA (TRANDATE OUT BEDPOSTCHECK.TRANDATE%TYPE,
                                               NOS OUT BEDPOSTCHECK.NOS%TYPE,
                                               UNIT OUT BEDPOSTCHECK.TRANDATE%TYPE) As
      cursor satya is
        select trandate,nos,unit
          from bedpostcheck
         where trandate = (SYSDATE-1,'YYYYMMDD');
    begin
      open satya;
      loop
        fetch satya into trandate, nos, unit;
        exit when satya%notfound;
        dbms_output.put_line (trandate || unit || nos);
      end loop;
      close satya;
    END BEDPOST_SATYA;
    /

  • DBLink error in procedure

    Hi,
    Please help me to solve this DBLink error in procedure.
    Created a below DBLink and it is working fine all sql statements in sql plus.
    DBLink created statement
    CREATE DATABASE LINK "OFFICE2"
    CONNECT TO "SALES" IDENTIFIED BY "SALES"
    USING 'TNSOFFICE2';
    SELECT TRANSACTIONID
    FROM RECEIPT_DETAIL@OFFICE2
    INSERT INTO RECEIPT_DETAIL@OFFICE2
    (TRANSACTIONID)
    VALUES
    (665035);
    While I am using this same statements in procedure, I am getting a error
    'ORA-00942 table or view does not exist' in dblink used statements and procedure is not compiling.
    Please help me to solve this problem
    CREATE OR REPLACE
    PROCEDURE TEST_PROC1 AS
    L_REC_NO NUMBER(10);
    CURSOR C1 IS
    SELECT TRANSACTIONID
    FROM RECEIPT_DETAIL@OFFICE2
    BEGIN
    OPEN C1;
    FETCH C1 INTO L_REC_NO;
    CLOSE C1;
    INSERT INTO RECEIPT_DETAIL@OFFICE2
    (TRANSACTIONID)
    VALUES
    (665035);
    END TEST_PROC1;
    Thanks & Regards,
    Jen.

    Jen. wrote:
    Created a below DBLink and it is working fine all sql statements in sql plus.Who owns this database link? (name of the schema)
    While I am using this same statements in procedure, I am getting a error
    'ORA-00942 table or view does not exist' in dblink used statements and procedure is not compiling.Who owns this stored procedure?
    CURSOR C1 IS
    SELECT TRANSACTIONID
    FROM RECEIPT_DETAIL@OFFICE2
    BEGIN
    OPEN C1;
    FETCH C1 INTO L_REC_NO;
    CLOSE C1;Why? The following is a lot less code, easier to read and more maintainable.
      L_REC_NO NUMBER(10);
    begin
      select transationid into  l_rec_no from from receipt_detail@office2;
    end;No need for an explicit cursor.
    Also why are you using a L_ prefix for variables? And why underscores? This is an extremely silly standard that fails to understand the impact of Hungarian-like notation, how to correctly manage scope resolution, and using camelcase for variables (a standard in most modern programming languages).
    The very worse place you can look at for programming standards is PL/SQL code from Oracle (as they have no consistent set standard as proved by the packages supplied by them, and often resort to COBOL-like standards of the 80's - which has no place in the 21st century software engineering)

  • Adobe Media Encoder (Error compiling movie) Unknown error when writing to Isilon OneFS 6.5.5.18

    Adobe Media Encoder (Error compiling movie) Unknown error when writing to Isilon OneFS 6.5.5.18 while using Adobe Premiere Pro.
    Process:         Adobe Premiere Pro CC 2014
    Path: /Applications/Adobe Premiere Pro CC 2014/Adobe Premiere Pro CC 2014.app/Contents/MacOS/Adobe Premiere Pro CC 2014
    Identifier: com.adobe.AdobePremierePro
    Version:         8.1.0 (8.1.0)
    Code Type: X86-64 (Native)
    Parent Process: launchd [2538]
    Responsible:     Adobe Premiere Pro CC 2014
    Date/Time: 2015-01-06 14:04:23.500 -0700
    OS Version:      Mac OS X 10.9.2 (13C64)
    Report Version:  11
    Crashed Thread: 55  Dispatch queue: com.apple.root.default-priority
    Exception Type: EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
    Customer created test export with 777 permissions and set mount parameters to the following:
    mount_nfs -o vers=3,tcp,rdirplus,intr,nolocks,async,rsize=32768,wsize=32768
      -- Original mount options:
         General mount flags: 0x40 async
         NFS parameters: vers=3,tcp,nolocks,rsize=32768,wsize=32768,rdirplus
      -- Current mount parameters:
         General mount flags: 0x4000058 async,nodev,nosuid multilabel
         NFS parameters: vers=3,tcp,port=2049,nomntudp,hard,nointr,noresvport,negnamecache,callumnt,nolocks,quota, rsize=32768,wsize=32768,readahead=16,dsize=32768,rdirplus,nodumbtimr,timeo=10,maxgroups=16 ,acregmin=5,acregmax=60,acdirmin=5,acdirmax=60,nomutejukebox,nonfc,sec=sys
    The pcap shows once the movie is created a lockup call is responded from Isilon with Error: NFS3ERR_NOENT
    478         V3 CREATE Call (Reply In 479), DH: 0xea5f731c/QBRSN-0-0-1.mov Mode: UNCHECKED
    479         V3 CREATE Reply (Call In 478)
    484         V3 LOOKUP Call (Reply In 485), DH: 0xea5f731c/._QBRSN-0-0-1.mov
    485        V3 LOOKUP Reply (Call In 484) Error: NFS3ERR_NOENT
    V3 LOOKUP Reply (Call In ....) Error: NFS3ERR_NOENT  -   This is by design of OneFS, we coalesce files and then flush them out to disk which is why the commit time is accurate but the file is not immediately available. however when an async option is used within the mount options this should be avoided if writing asynchronously to the cluster.  Has anyone else seen this behavior lately? (current workaround is to store locally and transfer to the cluster via Finder)

    That error can happen for many reasons...one of the reasons that I occassionaly get it is because I try exporting a movie to an external drive that has been formated in the old FAT32 instead of the NTSF standard.  FAT32 only allows for file sizes up to 2 gigs.  And as soon as it reaches that...I would get that error.  I don't know if that is why you are getting that error...but it would be easy to check.  1) are you generating a file that is over 2 gigs?  2) is your drive that you are exporting to FAT 32 (just right click the drive in My Computer and select "properties" then just look for what it says next to "file system".

  • Error compiling movie.  I/O Error.

    Hello.
    Im not sure if i should have posted in the hardware section.
    I have done some reaserch on this problem but haven't really got the solution.
    It doesnt matter what format i export it always gives me this error. With h264 and some else, its a bit different too.
    - Source File: C:\Users\SEMPER~1\AppData\Local\Temp\Untitled_1.prproj
    - Output File: C:\Users\Kristjan\Desktop\Sequence 01.mp4
    - Preset Used: YouTube KW
    - Video: NTSC, 480x360, 30 [fps], Progressive
    - Audio: AAC, 64 [kbps], 48 kHz, Stereo
    - Bitrate: VBR, 1 Pass, Target 1,55, Max 2,29 [Mbps]
    - Encoding Time: 00:00:00
    3.12.2009 0:53:45 : Encoding Failed
    Cannot open "C:\Users\Kristjan\Desktop\Sequence 01.mp4" file for writing. Please check the output filename and file permissions (if it already exists) and then try again.
    - Source File: C:\Users\SEMPER~1\AppData\Local\Temp\Untitled_2.prproj
    - Output File: C:\Users\Kristjan\Desktop\Sequence 01.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:00:00
    3.12.2009 0:54:47 : Encoding Failed
    Error compiling movie.
    I/O Error.
    - Source File: C:\Users\SEMPER~1\AppData\Local\Temp\Untitled_3.prproj
    - Output File: C:\Users\Kristjan\Desktop\Sequence 01.avi
    - Preset Used: NTSC DV
    - Video: 720x480, 29.97 [fps], Lower, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:00:00
    3.12.2009 0:58:04 : Encoding Failed
    Error compiling movie.
    I/O Error.
    - Source File: C:\Users\SEMPER~1\AppData\Local\Temp\Untitled_4.prproj
    - Output File: C:\Users\Kristjan\Desktop\Sequence 01.avi
    - Preset Used: Custom
    - Video: 720x480, 25 [fps], Progressive, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:00:00
    3.12.2009 1:08:37 : Encoding Failed
    Error compiling movie.
    I/O Error.
    - Source File: C:\Users\SEMPER~1\AppData\Local\Temp\Chemistry, Copper_6.prproj
    - Output File: C:\Users\Kristjan\Desktop\Youtube.avi
    - Preset Used: Custom
    - Video: 720x480, 25 [fps], Progressive, Quality 100
    - Audio: 48000 Hz, Stereo, 16 bit
    - Bitrate:
    - Encoding Time: 00:00:01
    3.12.2009 1:28:42 : Encoding Failed
    Error compiling movie.
    There are alot of errors about my hard drive in the event viewer aswell. I have 2 hard drives. 
    The device, \Device\Harddisk1\DR1, has a bad block.
    The driver detected a controller error on \Device\Harddisk2\DR2.
    even my cd rom has a bad block, The device, \Device\CdRom0, has a bad block.
    I defrag my drives regulary.
    My PC ,I use the "system information" option that win 7 has :
    OS Name Microsoft Windows 7 Ultimate
    Version 6.1.7600 Build 7600
    Other OS Description Not Available
    OS Manufacturer Microsoft Corporation
    System Name SEMPERFI-PC
    System Manufacturer System manufacturer
    System Model System Product Name
    System Type x64-based PC
    Processor Intel(R) Core(TM)2 Duo CPU     E8400  @ 3.00GHz, 2997 Mhz, 2 Core(s), 2 Logical Processor(s)
    BIOS Version/Date American Megatrends Inc. 0503, 14.07.2009
    SMBIOS Version 2.5
    Windows Directory C:\Windows
    System Directory C:\Windows\system32
    Boot Device \Device\HarddiskVolume2
    Locale Eesti
    Hardware Abstraction Layer Version = "6.1.7600.16385"
    User Name SemperFi-PC\Semper Fi
    Time Zone FLE Standard Time
    Installed Physical Memory (RAM) 4,00 GB
    Total Physical Memory 4,00 GB
    Available Physical Memory 2,10 GB
    Total Virtual Memory 8,00 GB
    Available Virtual Memory 5,47 GB
    Page File Space 4,00 GB
    Page File C:\pagefile.sys
    I/O:
    0x00000000-0x0000000F Direct memory access controller OK
    0x00000000-0x0000000F PCI bus OK
    0x00000010-0x0000001F Motherboard resources OK
    0x00000020-0x00000021 Programmable interrupt controller OK
    0x00000022-0x0000003F Motherboard resources OK
    0x00000040-0x00000043 System timer OK
    0x00000044-0x0000004D Motherboard resources OK
    0x00000050-0x0000005F Motherboard resources OK
    0x00000061-0x00000061 System speaker OK
    0x00000062-0x00000063 Motherboard resources OK
    0x00000065-0x0000006F Motherboard resources OK
    0x00000070-0x00000071 System CMOS/real time clock OK
    0x00000072-0x0000007F Motherboard resources OK
    0x00000080-0x00000080 Motherboard resources OK
    0x00000081-0x00000083 Direct memory access controller OK
    0x00000084-0x00000086 Motherboard resources OK
    0x00000087-0x00000087 Direct memory access controller OK
    0x00000088-0x00000088 Motherboard resources OK
    0x00000089-0x0000008B Direct memory access controller OK
    0x0000008C-0x0000008E Motherboard resources OK
    0x0000008F-0x0000008F Direct memory access controller OK
    0x00000090-0x0000009F Motherboard resources OK
    0x000000A0-0x000000A1 Programmable interrupt controller OK
    0x000000A2-0x000000BF Motherboard resources OK
    0x000000C0-0x000000DF Direct memory access controller OK
    0x000000E0-0x000000EF Motherboard resources OK
    0x000000F0-0x000000FF Numeric data processor OK
    0x00000290-0x00000297 Motherboard resources OK
    0x000003B0-0x000003BB Intel(R) X38/X48 Express Chipset PCI Express Root Port - 29E1 OK
    0x000003B0-0x000003BB ATI Radeon HD 3850 OK
    0x000003C0-0x000003DF Intel(R) X38/X48 Express Chipset PCI Express Root Port - 29E1 OK
    0x000003C0-0x000003DF ATI Radeon HD 3850 OK
    0x000003F8-0x000003FF Communications Port (COM1) OK
    0x00000400-0x0000041F Intel(R) ICH9 Family SMBus Controller - 2930 OK
    0x00000480-0x000004BF Motherboard resources OK
    0x000004D0-0x000004D1 Motherboard resources OK
    0x00000800-0x0000087F Motherboard resources OK
    0x00000D00-0x0000FFFF PCI bus OK
    0x00009400-0x0000940F Intel(R) ICH9R/DO/DH 4 port Serial ATA Storage Controller 1 - 2920 OK
    0x00009480-0x0000948F Intel(R) ICH9R/DO/DH 4 port Serial ATA Storage Controller 1 - 2920 OK
    0x00009800-0x00009803 Intel(R) ICH9R/DO/DH 4 port Serial ATA Storage Controller 1 - 2920 OK
    0x00009880-0x00009887 Intel(R) ICH9R/DO/DH 4 port Serial ATA Storage Controller 1 - 2920 OK
    0x00009C00-0x00009C03 Intel(R) ICH9R/DO/DH 4 port Serial ATA Storage Controller 1 - 2920 OK
    0x0000A000-0x0000A007 Intel(R) ICH9R/DO/DH 4 port Serial ATA Storage Controller 1 - 2920 OK
    0x0000A400-0x0000A40F Intel(R) ICH9 Family 2 port Serial ATA Storage Controller 2 - 2926 OK
    0x0000A480-0x0000A48F Intel(R) ICH9 Family 2 port Serial ATA Storage Controller 2 - 2926 OK
    0x0000A800-0x0000A803 Intel(R) ICH9 Family 2 port Serial ATA Storage Controller 2 - 2926 OK
    0x0000A880-0x0000A887 Intel(R) ICH9 Family 2 port Serial ATA Storage Controller 2 - 2926 OK
    0x0000AC00-0x0000AC03 Intel(R) ICH9 Family 2 port Serial ATA Storage Controller 2 - 2926 OK
    0x0000B000-0x0000B007 Intel(R) ICH9 Family 2 port Serial ATA Storage Controller 2 - 2926 OK
    0x0000B080-0x0000B09F Intel(R) ICH9 Family USB Universal Host Controller - 2934 OK
    0x0000B400-0x0000B41F Intel(R) ICH9 Family USB Universal Host Controller - 2935 OK
    0x0000B480-0x0000B49F Intel(R) ICH9 Family USB Universal Host Controller - 2936 OK
    0x0000B800-0x0000B81F Intel(R) ICH9 Family USB Universal Host Controller - 2937 OK
    0x0000B880-0x0000B89F Intel(R) ICH9 Family USB Universal Host Controller - 2938 OK
    0x0000BC00-0x0000BC1F Intel(R) ICH9 Family USB Universal Host Controller - 2939 OK
    0x0000C000-0x0000CFFF Intel(R) X38/X48 Express Chipset PCI Express Root Port - 29E1 OK
    0x0000C000-0x0000CFFF ATI Radeon HD 3850 OK
    0x0000D000-0x0000DFFF Intel(R) ICH9 Family PCI Express Root Port 6 - 294A OK
    0x0000D800-0x0000D8FF Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller OK
    0x0000E000-0x0000EFFF Intel(R) ICH9 Family PCI Express Root Port 5 - 2948 OK
    0x0000E400-0x0000E40F Standard Dual Channel PCI IDE Controller OK
    0x0000E480-0x0000E483 Standard Dual Channel PCI IDE Controller OK
    0x0000E800-0x0000E807 Standard Dual Channel PCI IDE Controller OK
    0x0000E880-0x0000E883 Standard Dual Channel PCI IDE Controller OK
    0x0000EC00-0x0000EC07 Standard Dual Channel PCI IDE Controller OK
    0x0000FFE0-0x0000FFEF AS0MMTY9 IDE Controller OK
    Drives:
    Drive C:
    Description Local Fixed Disk
    Compressed No
    File System NTFS
    Size 149,05 GB (160 040 443 904 bytes)
    Free Space 57,80 GB (62 065 405 952 bytes)
    Volume Name
    Volume Serial Number 44C64C64
    Drive D:
    Description Local Fixed Disk
    Compressed No
    File System NTFS
    Size 149,05 GB (160 038 907 904 bytes)
    Free Space 53,30 GB (57 233 891 328 bytes)
    Volume Name Windows
    Volume Serial Number 728D93DE
    Drive E:
    Description CD-ROM Disc
    Drive G:
    Description CD-ROM Disc
    Disks:
    Description Disk drive
    Manufacturer (Standard disk drives)
    Model SAMSUNG HD160JJ ATA Device
    Bytes/Sector 512
    Media Loaded Yes
    Media Type Fixed hard disk
    Partitions 1
    SCSI Bus 1
    SCSI Logical Unit 0
    SCSI Port 5
    SCSI Target ID 0
    Sectors/Track 63
    Size 149,05 GB (160 039 272 960 bytes)
    Total Cylinders 19 457
    Total Sectors 312 576 705
    Total Tracks 4 961 535
    Tracks/Cylinder 255
    Partition Disk #1, Partition #0
    Partition Size 149,05 GB (160 040 448 000 bytes)
    Partition Starting Offset 32 256 bytes
    Description Disk drive
    Manufacturer (Standard disk drives)
    Model WDC WD1600BB-00GUC0 ATA Device
    Bytes/Sector 512
    Media Loaded Yes
    Media Type Fixed hard disk
    Partitions 1
    SCSI Bus 0
    SCSI Logical Unit 0
    SCSI Port 0
    SCSI Target ID 0
    Sectors/Track 63
    Size 149,05 GB (160 039 272 960 bytes)
    Total Cylinders 19 457
    Total Sectors 312 576 705
    Total Tracks 4 961 535
    Tracks/Cylinder 255
    Partition Disk #0, Partition #0
    Partition Size 149,05 GB (160 038 912 000 bytes)
    Partition Starting Offset 1 048 576 bytes
    Multimedia shows me these codecs:
    video:
    c:\windows\system32\iyuv_32.dll Microsoft Corporation OK C:\Windows\system32\IYUV_32.DLL 6.1.7600.16385 52,50 KB (53 760 bytes) 14.07.2009 3:06
    c:\windows\system32\msrle32.dll Microsoft Corporation OK C:\Windows\system32\MSRLE32.DLL 6.1.7600.16385 15,50 KB (15 872 bytes) 14.07.2009 3:18
    c:\windows\system32\msvidc32.dll Microsoft Corporation OK C:\Windows\system32\MSVIDC32.DLL 6.1.7600.16385 37,50 KB (38 400 bytes) 14.07.2009 3:18
    c:\windows\system32\msyuv.dll Microsoft Corporation OK C:\Windows\system32\MSYUV.DLL 6.1.7600.16385 24,00 KB (24 576 bytes) 14.07.2009 3:06
    c:\windows\system32\tsbyuv.dll Microsoft Corporation OK C:\Windows\system32\TSBYUV.DLL 6.1.7600.16385 14,00 KB (14 336 bytes) 14.07.2009 3:06
    c:\windows\system32\xfcode~1.dll Not Available Xfire video codec [XFR1] OK C:\Windows\system32\XFCODEC64.DLL 1.0.0.40405 26,89 KB (27 536 bytes) 30.11.2009 21:33
    audio:
    c:\windows\system32\imaadp32.acm Microsoft Corporation OK C:\Windows\system32\IMAADP32.ACM 6.1.7600.16385 21,50 KB (22 016 bytes) 14.07.2009 3:18
    c:\windows\system32\l3codeca.acm Fraunhofer Institut Integrierte Schaltungen IIS Fraunhofer IIS MPEG Layer-3 Codec OK C:\Windows\system32\L3CODECA.ACM 1.9.0.401 79,50 KB (81 408 bytes) 14.07.2009 3:22
    c:\windows\system32\msadp32.acm Microsoft Corporation OK C:\Windows\system32\MSADP32.ACM 6.1.7600.16385 23,50 KB (24 064 bytes) 14.07.2009 3:18
    c:\windows\system32\msg711.acm Microsoft Corporation OK C:\Windows\system32\MSG711.ACM 6.1.7600.16385 14,50 KB (14 848 bytes) 14.07.2009 3:18
    c:\windows\system32\msgsm32.acm Microsoft Corporation OK C:\Windows\system32\MSGSM32.ACM 6.1.7600.16385 28,50 KB (29 184 bytes) 14.07.2009 3:18
    I downloaded and installed the Win7 codecs by Shark. Because...there are any other codecs available for win 7 ?
    Tell me if need any more info..which u probably do.
    If there are any better forums for this kind of problem then please tell me.
    I hope we can fix this prooblem.
    I think i haven't said my motherboard. Its P5E3 PRO. It has EPU engine and it turns off the hard drive when its idle...Premiere pro and all the sytem files are installed on my C drive which is like the main drive. On D drive i keep my music, downloads and stuff. I think it can turn of both drives then idle, but mostly it turns off D drive, I think. I have a new motherboard and i haven't got the hang of it how it shuts them down.
    But i think this really isnt a problem.
    Thanks in advance.

    Serious hardware problems!
    Go for a fresh install of OS & programs, but be prepared to first check your disks with a utility from the drive manufacturer (WD and Samsung). You may need new disks.
    Great to include these details, but for readability I suggest you include these as an attachment instead of in the text. It may scare people off reading all that detail.

  • While opening the iTune Store i receive the following error, "The procedure entry point ADAdPolicyEngine_DidEnterSation could not be located in the dynamic link library iAdCore.dll" Please help me to clear this error.

    While opening the iTune Store i receive the following error, "The procedure entry point ADAdPolicyEngine_DidEnterSation could not be located in the dynamic link library iAdCore.dll" Please help me to clear this error.

    I faced the same issue. This solved it for me: Troubleshooting issues with iTunes for Windows updates
    Hope this helps.

  • Error compiling movie 'unknown error' premiere elements 11, tried every troubleshoot, what now?

    I'm trying to export a video and I keep on running into this error message, which stops the export process.  I've already visited and tried the troubleshooting suggestions on this page and this page, and this page, and none of those suggestions have worked.  Here's a list of what failed:
    Export in various file formats, every single one failed
    I removed each asset individually and tried to export the video after each removal (100+ assets, imagine how long that took) and I got the error after every single time
    I removed the front half of the video and tried exporting, still failed.
    I removed the back half of the video (because if it failed if I removed the front, the problem asset should be in the back, right? nope.) and tried exporting, it still failed.
    I don't have any Auto Color, Auto Contrast, Auto Levels, or Shadow/Highlight on any of my clips, although if I did, I'd try removing them.
    All of my video files are the same format, so it's not a mix of formats in my timeline which is causing the problem.
    I tried disabling auto-save, but it already tried to auto-save during the first 20 times I've attempted this, so the damage might already be done.
    I obviously didn't use any other programs during this process
    I moved all my assets to a different location on my harddrive, then reopened the project and refound the assests one by one, each of which had no problem getting into the timeline.  I tried rendering after this, and the render bar sailed along until a certain point, where it got stuck indefinitely.  I cancelled the render, which froze the program.  I had to close it and re-open the project, and re -link every asset again.  Once again there were no problems adding the assets.  I saved the project before the next render, so I wouldn't have to do this a third time, and it was a good idea I did, because the program froze again during the subsequent render.
    My computer didn't go to sleep or hibernate during the first 5-10 times I tried various methods for exporting.  It has slept in some of the 10+ times I've tried it since, because I don't have the patience to sit in front of my screen and watch it fail again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again and again.  CAN YOU TELL THAT I'M FRUSTRATED???
    The first thing I noticed that was wonky with this project was when I first tried to render my sequence. The render window chugged along just fine until it got to a certain point (can't remember the %), at which point it got stuck indefinitely.  I had to cancel the render, and then render other parts of the sequence bit by bit, avoiding what I thought was the problem part.  I tried rendering the problem part, and it got stuck again, so I eventually just decided that that clip didn't need to be in this movie, so I deleted it from the timeline.  All should be good at this point, my whole timeline is green from being rendered.  But, when I tried to export the video, I started down this tourtuous path of failed exports and frustration, and now here I am, posting in the forum, hoping someone can help me out.
    The problem asset (if that was the problem in the first place) isn't in the timeline any more, but I'm still having issues exporting the movie.  The fact that rendering still gets stuck after re-linking assets, and after getting rid of the first problem asset, makes me think that there is some bigger underlying issue, but I have no idea what that could be.  I followed these instructions and re-opened the project, tried to export, and still got that 'Unknown Error'.
    Please assist before I put my fist through this company computer.

    maxlong99
    Thanks for your update. Let us go through it.
    You wrote
    During one of my isolation tests, I stripped the timeline off all assets except clips from the same footage and I also removed that New Blue effect, and the project exported without issue.
    Did you run a control which included "with the New Blue effect" in this isolated test which does not sound like the "Full Project" as suggested in what you wrote next?
    You wrote
    Could multiple renders and project files be part of the problem?  I've created many, many different versions of this project to test and see where the problem is, which in turn means I've created many different render files for each different project.  If this could be part of the problem, should I keep the original project and delete all my test projects and associated render files therein?
    Each of the projects should have its own name which will be applied to its files. And each project should have rendered files specific to it (for SD project whether video or still clip = DV .avi file; for HD project whether video or still clip = MPEG2.mpg file). Are you naming these different projects with distinctive names?
    Have you expanded the Timeline with the -+ slider and closely inspected the track content for
    a. leftovers such a very thin vertical black lines scattered about
    b. gaps
    c. transitions, and especially audio placement
    You have probably seen the following, but I will post the link just in case. I suspect you have been there and done that.
    http://helpx.adobe.com/premiere-elements/kb/error-error-compiling-movie-render.html
    Please let us know what the closer inspection of the Timeline content (as mentioned) revealed.
    Thanks.
    ATR

  • Was trying to update my ITunes and get this error: The procedure entry point AVCFPlayerItemDurationChangedNotification could not be located in the dynamic link library AVFoundationCF.dll. Just got the new IPhone and am trying to share music files. Can any

    I have Windows Vista computer. I am trying to upgrade my ITunes so can share files with other home computer. (Just got the new IPhone). I get this system error: The procedure entry point AVCFPlayerItemDurationChangedNotification could not be located in the dynamic link library AVFoundationCF.dll. Tries system restore and redownloaded...NOW Itunes will not even open. Can anyone help?

    I uninstalled Apple Application Support, opened iTunesSetup with WinRar, and went down the list of msi's. AppleApplicationSupport was an install, all the others I did Repair.  Did not have to reboot. Works okay now.
    HTH

  • Deployejb : Oracle 8.1.6 : Errors compiling the communication stubs

    Hi,
    I was able to deploy EJB using JDeveloper 3.1 in the Oracle 8i (1.1.6) DB.However, when I try it manually, it is giving errors.
    I was able to use deployejb tool succesfully with Oracle 8.1.5 DB.Is there some problem with Oracle 8.1.6 DB?
    This is output, I am getting :
    Reading Deployment Descriptor...done
    Verifying Deployment Descriptor...done
    Gathering users...done
    Generating Comm Stubs.....................................done
    Compiling Stubs...Errors compiling the communication stubs
    C:\sandeep\JDeveloper3.0\class\TEMP\EJBPackage\_OracleEJBHomeImplBase.java:24: i
    llegal combination of modifiers: abstract and strictfp
    abstract public class _OracleEJBHomeImplBase extends org.omg.CORBA.portable.Skel
    eton implements EJBPackage.OracleEJBHome {
    ^
    C:\sandeep\JDeveloper3.0\class\TEMP\EJBPackage\_OracleEJBRemoteImplBase.java:24:
    illegal combination of modifiers: abstract and strictfp
    abstract public class _OracleEJBRemoteImplBase extends org.omg.CORBA.portable.Sk
    eleton implements EJBPackage.OracleEJBRemote {
    ^
    2 errors
    Is this a problem with the classpath/path settings?
    Please advise!!
    TIA
    Sandeep
    null

    Thanks,I got it
    -- Sandeep
    null

Maybe you are looking for

  • How to find out the condition type of the tax code in the PO document

    Hi friends, My questions is how to find out the condition type of the tax code in the PO document. When you use me23n to display one PO document. In the invoice tab, there is one text field named 'tax code' whose value could be T1, T2, J1, J2 and so

  • Server error in '/portal' application??

    I am getting this error everytime i'm trying to print a pdf document from the bsnl portal. Earlier, this used to open the save file dialog. In the previous versions (i mean, 22, 23) this was not present. I am trying to confirm that is it firefox issu

  • DB Adapter not polling for particular table only

    My DB Adapter for one particular table is not working. My WSDL and Scema are defined and deployed in same for every table adapter but dont know only this one has issue. I have created adapter again twice and deployed but it didnt work. Please help me

  • Error in Edit UI Modelling in SAP MDG EHP5

    Hi Experts, I am getting following error while creating deep copy for UI modelling template. Configuration ZA_APPL cannot be changed in this system Deep-Copy: Not all configurations have been copied Can you please guide me what should be the steps to

  • How To Configure My Forms And Reports In IAS10g?

    Hi Gurus, I installed database 10g,IAS10g,forms and reports10g(J2EE/OC4J Environment) separately. now i want to configure my forms and reports in IAS 10g.i can run the form from formbuilder after started the oc4j.but i am not able to run in ias . any