Equivalent of Informix's onstat command

Is there a equivalent of onstat command line in Informix ? onstat helps give lots of information like:
- Session id and the sql that session is currently executing.
- Gives the space left in tablespace
- Threads in waiting, sleeping state
- Information about Informix Virtual processors
- Locks, waits, latches
- Buffered read and write cache
- Thread id's, session ids etc.
It's a complete suite of functionality rolled in one onstat command line command. Is there something similar that would give me all this information ?

I understand what you are saying and I am currently going through Oracle Concepts. However, I also like to get the input from people who have experience in using Oracle. Since I have used Informix for sometime now and have a good knowledge of Informix I was looking for something that give me similar things. That's the reason I asked about general things that any database would have in-built, as I asked in my initial post about sessions, sqls that session is executing, locks etc. Since these are general things I thought Oracle would probably have a way of showing similar information. I am not trying to compare the 2. I am actually trying to learn more about Oracle and that's why I posted this question. You could also ignore "Equivalent of Informix" where it appears. I am just trying to ask generic questions.

Similar Messages

  • What is the mac equivalent of the windows run command

    I am a mac virgin, always used windows based pc's. I am finding it a bit of a struggle. What is the equivalent run command on a mac?

    To launch a program, double-click its icon or CONTROL-click it and select open. In the Terminal.app (CLI program), it's open <path to application>.
    Since you're a newcomer to the Mac, peruse Switching from Windows to Mac OS X and Basic Tutorials on using a Mac
    G4 450 MP Gigabit   Mac OS X (10.4.9)  

  • Using the equivalent of a BREAK ON command in SQL Developer SQL window

    Folks.
    In SQL*PLUS "BREAK ON Col1 ON Col2;", I can generate a report similar to the following:
    Col1Value1 Col2Value1 Col3Value1
    Col3Value2
    Col3Value3
    Col2Value2 Col3Value1
    Col3Value2
    Col3Value3
    Col1Value2 Col2Value1 Col3Value1
    Col3Value2
    Col3Value3
    Col2Value2 Col3Value1
    Col3Value2
    Col3Value3
    etc.
    I want to be able to do the same thing in my SQL Developer SQL window so that I can export the results to a spreadsheet file.
    Does anyone know if this is possible?
    I've tried using the SQL*PLUS BREAK command in my SQL Developer window but it appears to be ignored. My resultset looks something like
    Col1Value1 Col2Value1 Col3Value1
    Col1Value1 Col2Value1 Col3Value2
    Col1Value1 Col2Value1 Col3Value3
    Col1Value1 Col2Value2 Col3Value1
    Col1Value1 Col2Value2 Col3Value2
    Col1Value1 Col2Value2 Col3Value3
    Col1Value2 Col2Value1 Col3Value1
    Col1Value2 Col2Value1 Col3Value2
    Col1Value2 Col2Value1 Col3Value3
    Col1Value2 Col2Value2 Col3Value1
    Col1Value2 Col2Value2 Col3Value2
    Col1Value2 Col2Value2 Col3Value3
    .

    OK thanks.
    I did get around this by using SQL*PLUS to generate an output file with a separation character between the columns and spooling the SQL*PLUS output to a text file.
    I then open the text file with Excel and specify the same character as a column separator. Seems to load properly into Excel.

  • CSS equivalent of Local Director backup command

    I am migrating applications from the LD to the CSS. One of the apps is using the LD function backup. The situation is:
    Currently the LD uses the backup command for some servers. In simple
    terms:
    Web1 is backed up by Web3
    Web2 is backed up by Web4
    In normal operational mode, Web1 and Web2 load balance. If Web1 goes down Web3 becomes active and load balances with Web 2. Similarly for Web2 and Web4.
    The reason for this configuration is because of the prohibitively expensive
    software licensing. Thus, we pay for 2 licenses and share across 4
    servers. All servers are in the same subnet.
    regards
    Tony Barnett

    the closest thing that the CSS has to offer is the command "primary sorry-server" or "secondary sorry server" . Seen here in the command reference:
    http://www.cisco.com/univercd/cc/td/doc/product/webscale/css/css_510/cmdrefgd/cmdowcnt.htm#xtocid40
    The "Primary sorry server" will only become active if all other servers are dead in the content rule. It will become inactive when one or more servers become available again. I hope this helps!

  • Lldb equivalent of gdb "directory" command for specifying source search path?

    Looking for the lldb equivalent of the gdb "directory" command to add search paths for finding missing source code files (due to moved directories). Or possibly similar functionality within xcode...
    Thanks in advance!

    Great, thanks for the pointer although according to the lldb console the "add" command needs a "substitution pair" argument and the "Insert" command needs a new "image search path" and the "target modules list" command only gives a list of dylib modules. I played around a bit and the construction resembles more of a dylib module search path .i.e it looks like you only can revert the module search path but not separate it from the source path.
    It would be nice to find out more details about different search-path capabilities within lldb. You don't happen to know where to find more thorough LLDB manuals or other useful documentation besides the "LLDB to GDB Command Map" (http://lldb.llvm.org/lldb-gdb.html) and the "LLDB Tutorial" (lldb.llvm.org/tutorial.html), do you? Also, any idea where to find the official doc pages for lldb. Unfortunately "http://lldb.llvm.org/docs.html" is still empty and I didn't find anything useful in the llvm github.

  • Oemevent command equivalent in 10g?

    Is there a 10g command equivalent for the old oemevent command? I'm looking for some easy way to add a grid control alert to my existing cron jobs..
    Thanks
    John

    Hi,
    You can use the "keepalive retryperiod" same as passdetect interval on ACE
    http://www.cisco.com/en/US/docs/app_ntwk_services/data_center_app_services/css11500series/v7.40/command/reference/CmdKeepC.html
    Siva

  • AT NEW command in ABAP Objects

    Hi everyone!
    Is there an equivalent of the AT NEW command in abap oo? When I try to use this command inside a BAdi, I get an error message.
    Best Regards,
    Luís.

    Hi,
    Thank you for your response
    Sample code:
    LOOP AT c_t_data ASSIGNING  variants are no longer supported in the OO context. Use dynamic variants instead.
    Regards,
    Luís.

  • ANSI escape sequence for "Command" key?

    I know there are escape sequences for ctrl (^), alt (~), shift ($), etc that can be used from the command-line, but I'm wondering if there's an equivalent way to invoke the command key (or the apple key or whatever you wish to call it) from a terminal?
    I'd appreciate any advice, thanks!

    Hi Evan,
       This is more than a failure of terminology. The use of certain key sequences cause the terminal to produce certain characters that are just like letters except that many processes take special action when these characters are encountered. These characters are called "control characters."
       For instance, type <Control>-v to "tell the shell" to not take special action on the next character produced. Then, if you type <Control>-c, the terminal will produce an End-of-Text character, ANSII character 3, and the shell will accept it as a literal character. However, it has no symbol for that character so it displays a pair of characters, "^C", in its place. Internally though, there is no carat and no 'C'; there is only the number three, which is the ANSII code for the End-of-Text character.
       The bash shell will substitute control characters for certain escape sequences in expanding words of the form $'string'. For instance, consider the following command:
    echo $'\003' | cat -v
    ^C
    Above, the first line is a command that you can cut-and-paste into your terminal. The second line is the output you would see if you execute the command. Bash replaces the $'\003' word with the literal control character and then "cat" converts that character to the pair of characters, "^C", to show you what had been there.
       Of course there are still terminology problems; you are not using the word "emulate" correctly. However, if there was such a meaning, I think that one would say that the character sequences "emulate" the control character, not the other way around.
       On the other hand, when you modify a key with the "Command" key, Macintosh programs treat that as an attempt to invoke a function of that program. No character is produced. In fact technically, the program never even sees the keystrokes. The system intercepts the key event and converts it to an AppleEvent.
       One tool on Macs specializes in producing AppleEvents and that is AppleScript. Fortunately, Apple wrote a utility to grant the shell access to AppleScript and that is the "osascript" command. That allows you to sort of imbed AppleScript in a shell script and that would allow you to send any program any event that the system would generate in response to a command key sequence.
    Gary
    ~~~~
       "Home life as we understand it is no more natural to us
       than a cage is to a cockatoo."
          -- George Bernard Shaw

  • A summary of set commands that are accepted by SQL Developer...

    Sorry, I've been looking for a list of commands that are used by SQL Developer such as "set verify off|on", etc.
    Can anyone point me to a list of these commands (the equivalent to SQL*Plus set commands)?
    Thanks in advance!
    Tom

    Hi Tom,
    Try Help|Table of Contents|SQL Developer Concepts and Usage|Using SQL Worksheet|SQL*Plus Statements Support and Not Supported in SQL Worksheet.
    What you see there depends on your SQL Developer version. Over time, SQL*Plus support keeps improving.
    Regards,
    Gary Graham
    SQL Developer Team

  • Linux equivalent of pkginfo -i

    I need to determine what Linux packages are associated to a particular software application so I can uninstall them. Is there a Linux equivalent to Solaris' pkginfo -i command? I've already tried different variations of the Linux rpm command but, no good. In Solaris, normally, I'd just run pkginfo -i | grep -i keyword to find what I need. Done. However, in Linux, in order to get detailed info on a package, you first have to know the name of the package. If you don't know the name, you're pretty much screwed into playing a guessing game using rpm -qa | grep -i part_of_pkg_name which could yield zero results. In my case, it has.
    Any help from you Solaris-to-Linux gurus would be greatly appreciated.
    Thank you, kindly.

    Hi
    which Linux distributim do you use?
    if it is RedHat (or its clones) the command will be "rpm -q --all --queryformat "%-30{NAME}\t%{VERSION}\t%-60{SUMMARY}\t%{GROUP}\n"
    it's more easer, isnt it? :)
    in general way - to read a man of "rpm" command.
    Pers

  • Wrong translation commond when I write Tuxedo Service to use Informix Database

    Old Environment:
    DB : Informix Dynamic Server Version 7.31.UC5
    Tools : INFORMIX-ESQL Version 7.24.UC8
    MIDDLE : Tuxedo 6.4 patch 341
    New Environment :
    DB : Informix Dynamic Server Version 9.30.FC1
    Tools : IBM Informix CSDK Version 2.80,
    IBM Informix-ESQL Version 9.52.UC2
    MIDDLE : Tuxedo 8.0 patch 135
    Event :
    My old tuxedo service had wroted to communicate with Informix Database by
    XA transaction. In my service code have to
    prepare informix statement by command
    ' EXEC SQL PREPARE p_roll FROM "ROLLBACK WORK" ' And in my old environment it's
    workable until I upgrade my environment.
    My old tuxedo service can compile in new environment but when i try to test
    service by ud32 tool the result is error "A syntax error has occurred". After
    I check my code and receive statement at Database host I found some thing does
    not correct.
    I send to prepare ' ROLLBACK WORK ' but at database host received ' ROLLBACK WORKRK"
    ' that unknown command to database.
    I try to write my small new code to test PREPARE command of Informix ESQL/C
    without to build to Tuxedo Server, It's can work correctly.
    If you had found the same case , Please advise me too.
    Thanks you very much for your advise.
    [roll.ec]

    If ud32 reported a syntax error, then your service was never called.
    Normally, a service running under XA control should not issue transactional SQL
    statements. Begins and Rollbacks are issued from the transaction manager, not the
    application code.
    Can you post the Tuxedo message catalog number, and your ud32 script, as well as
    your environment variables?
         Scott Orshan
    Sutep wrote:
    Old Environment:
    DB : Informix Dynamic Server Version 7.31.UC5
    Tools : INFORMIX-ESQL Version 7.24.UC8
    MIDDLE : Tuxedo 6.4 patch 341
    New Environment :
    DB : Informix Dynamic Server Version 9.30.FC1
    Tools : IBM Informix CSDK Version 2.80,
    IBM Informix-ESQL Version 9.52.UC2
    MIDDLE : Tuxedo 8.0 patch 135
    Event :
    My old tuxedo service had wroted to communicate with Informix Database by
    XA transaction. In my service code have to
    prepare informix statement by command
    ' EXEC SQL PREPARE p_roll FROM "ROLLBACK WORK" ' And in my old environment it's
    workable until I upgrade my environment.
    My old tuxedo service can compile in new environment but when i try to test
    service by ud32 tool the result is error "A syntax error has occurred". After
    I check my code and receive statement at Database host I found some thing does
    not correct.
    I send to prepare ' ROLLBACK WORK ' but at database host received ' ROLLBACK WORKRK"
    ' that unknown command to database.
    I try to write my small new code to test PREPARE command of Informix ESQL/C
    without to build to Tuxedo Server, It's can work correctly.
    If you had found the same case , Please advise me too.
    Thanks you very much for your advise.
    #include     <stdio.h>
    #define BUFF          30
    #define SQLROWCOUNT sqlca.sqlerrd[2]
    exec sql define LNGTH1     40;
    main()
         exec sql whenever sqlerror goto :sqlx;
         exec sql begin declare section;
              string     hs_vlue_char[LNGTH1];
              string     hs_sql[500];
         exec sql end declare section;
         long     li_line;
         fprintf(stderr,"\nProcessing...\n");
         exec sql connect to 'sysmaster@oltp';
         li_line = __LINE__;
         exec sql prepare bwork from "BEGIN WORK";
         li_line = __LINE__;
         exec sql prepare cwork from "COMMIT WORK";
         li_line = __LINE__;
         exec sql prepare rwork from "ROLLBACK WORK";
         printf("%d: Before Rollback Work\n", __LINE__);
         EXEC SQL PREPARE p_rwork FROM "ROLLBACK WORK";
         /* free(hs_v[tmp]);
         hs_v[tmp] = strfmt("%s", "rollback work");
         CHECK_STRFMT_ERROR( hs_v, tmp);
         debug("'%s'", hs_v[tmp]);
         exec sql prepare p_rwork from :hs_v[tmp];
         printf("%d: After Rollback Work\n", __LINE__);
         printf("%d: Before Begin Work\n", __LINE__);
         EXEC SQL PREPARE p_bwork FROM "BEGIN WORK";
         printf("%d: After Begin Work\n", __LINE__);
         printf("%d: Before Commit Work\n", __LINE__);
         EXEC SQL PREPARE p_cwork FROM "COMMIT WORK";
         printf("%d: After Commit Work\n", __LINE__);
         sprintf(hs_sql, "SELECT vlue_char from cs_dfpm where dfpm_code = 'LOG_PATH_NAME1'");
         printf("hs_Sql = %s\n", hs_sql);
         exec sql prepare sel_sql from :hs_sql;
         exec sql execute sel_sql into :hs_vlue_char;
         printf("hs_vlue_char = %s\n", hs_vlue_char);
         exec sql free sel_sql;
         exec sql execute p_bwork;
         exec sql
         update cs_dfpm
         set vlue_char = '/test/'
         where dfpm_code = 'LOG_PATH_NAME1';
         if ( SQLROWCOUNT == 0 )
              exec sql execute p_rwork;
         exec sql execute p_cwork;
         exec sql free p_bwork;
         exec sql free p_cwork;
         exec sql free p_rwork;
         exec sql disconnect current;
         fprintf(stderr, "\nProcess completed successfully.\n");
         return(0);
    sqlx:
         fprintf(stderr,"\nDB error encountered at line = %ld(%ld)\n", li_line, SQLCODE);
         fprintf(stderr,"\nDB error encountered(%ld)\n", SQLCODE);
         exec sql whenever sqlerror continue;
         exec sql free sel_sql;
         exec sql free p_bwork;
         exec sql free cwork;
         exec sql free rwork;
         exec sql disconnect current;
         printf("%s@%d:Process completed with Error.\n", __FILE__, __LINE__);

  • Cable modem link slowness w ISA570 and CLI "show tech" equivalent

    Hi, I'm helping out a non profit that has a Mediacom 100mbs link, they get 90+ Speed connected directly to the cable modem, but anywhere past the ISA570 they only get 50-60mbs. They have switched cables, added a separate port, tried different PCs, results are the same, 50-60 mbs max.
    Also it's their understanding the ISA570 can't do CLI, so how can they get the equivalent of a 'show tech' command to a file to send offsite for troubleshooting,
    Thanks.
    Jim

    Hello,
    There is something similar to show tech on the ISA.
    Log into the web GUI, go to Device Management >> Cisco Services & Support >> Send Diagnostics.  At the bottom of that page is a Download button that will collect the config file, the logs, and some debug outputs into a zip file.  You can use this to troubleshoot the device, although I usually prefer to be on the live device itself to look at things.
    Before you dig too deep into those however, what kind of security services do you currently have enabled on the ISA?   I was looking over the datasheet and while the SPI is capable of ~500mbps, when you start to enable the various security services those speeds start to drop.
    If we look at the UTM (Unified Threat Management) throughput measures, that is at about 75mbps, which is fairly close to what you are getting.  I would go through and disable the various security services one at a time and test your speed.  My guess would be either A/V or IPS is slowing your connection down.  It may be one or a combination of these services causing the slowdown.  You can disable those options, or just explain that the extra security will cost a bit of speed.
    Hope that helps a bit,
    Christopher Ebert - Advanced Network Support Engineer
    Cisco Small Business Support Center
    *please rate helpful posts*

  • Applescript equivalent to cd

    Hi all,
    I'm writing an Applescript that will automatically convert an audio file from dss to wav so that I can import the file into iTunes, and have run into a problem getting the Applescript to move into the directory the dss files are located in.
    Is there an equivalent to the UNIX cd command in Applescript? I've looked at some of the Finder and Folder example Applescripts and not been able to figure out the command that currently works.
    Any pointers in the right direction would be greatly appreciated!
    Thanks,
    Ed

    Hi Camelot and kel,
    Thanks so much for the excellent code snippets and suggestions. Between the two answers I was able to get the script to do what I need it to do.
    Turns out I need to send QT an "open" statement w/an "as file specification", while on the "export" command to QT, the output WavFile needs to be "as text". Not quite sure why the difference.
    Here's what I got to work:
    property DSSFile : "dss_filename"
    property DSSPath : "dss_pathname"
    property AIFFile : "aif_filename"
    property WavFile : "wav_filename"
    tell application "Finder"
    set DSSFile to (choose file with prompt "Select DSS File") as alias
    set fileNameExtension to name extension of (info for DSSFile)
    set TMPFile to (characters 1 through -((length of fileNameExtension) + 1) of (DSSFile as text) & "aif") as text
    set WavFile to (characters 1 through -((length of fileNameExtension) + 1) of (DSSFile as text) & "wav") as text
    set AIFFile to TMPFile as file specification
    set WavFileSpec to WavFile as file specification
    tell application "QuickTime Player"
    launch
    activate
    open AIFFile
    export movie 1 as wave to file WavFile
    end tell
    tell application "iTunes"
    activate
    add WavFileSpec
    end tell
    end tell
    The reason I don't pass the DSS file to QT is that QT doesn't read that codec.
    The AIF file is converted, via QT, to wav and then imported (ie. added) to the iTunes library as I ultimately wanted.
    Again, many thanks for the tips, they were very helpful. I'll have to read Neuburg and the manuals/dictionaries more carefully to fully understand the differences between "as file specification" and "as file".
    Ed

  • AFP doesn't play nice with Kerberos...

    I'd prefer any open ideas before blowing away the OD master and redoing all the accounts....
    If I leave the AFP Authentication type to "Any", network accounts can login to any computer (and with network or portable home directories). If set to Kerbeors, we get the "User account is located on a AFP/SMB share...."
    If logged in, when attempting to connect by AFP, the "Standard" authentication appears. At this point, if I set the AFP access type back to "Kerberos" (which prevents users from logging in), they will get a -35 error as stated before (one or more required items cannot be found...blah blah). Interestingly, if we use the standalone Kerberos app (System/Library/Core Services/Kerberos) to get a Kerberos TGT, we can then connect to AFP shares using Kerberos authentication. So, it seems as if Kerberos is having problems getting connections started.
    So, for now, it seems as if I have to rely on AFP access via the non-kerberized ("Standard") method, which definitely reduces our security. But, at least people can login to network machines.
    So, in the end, Kerberos doesn't really know what is going on...it seems like its pretty confused.
    kdc.log
    Jul 01 09:07:56 myserver.mydomain.com krb5kdc[268](info): TGS_REQ (7 etypes {18 17 16 23 1 3 2}) 192.168.10.147: UNKNOWN_SERVER: authtime 1151759266, [email protected] for krbtgt/[email protected], Server not found in Kerberos database
    Jul 01 09:07:56 myserver.mydomain.com krb5kdc[268](info): TGS_REQ (7 etypes {18 17 16 23 1 3 2}) 192.168.10.147: UNKNOWN_SERVER: authtime 1151759266, [email protected] for krbtgt/[email protected], Server not found in Kerberos database
    ldap log
    Jul 1 09:06:04 myserver slapd[90]: <= bdbequalitycandidates: (apple-computers) index_param failed (18)\n
    Jul 1 09:06:35 myserver slapd[90]: SASL [conn=137] Failure: no user in database\n
    system.log
    Jul 1 09:05:50 myserver servermgrd: AFPDefines Start AFP Server request\n
    Jul 1 09:05:50 myserver configd[92]: executing /usr/sbin/AppleFileServer
    Jul 1 09:07:40 myserver /usr/sbin/PasswordService: client response doesn't match what we generated<br>
    Many different systems...   Mac OS X (10.4.7)  

    Yes, you're on track with the quickest way to solve this problem: Recreate your Open Directory Master. However, you can save all of the data stored in the database, except for user passwords, if you use Workgroup Manager's File > Export command to save your users, groups, and computer lists. Even MCX records for same are preserved.
    (Exporting from Workgroup Manager is not the same as doing a directory backup and restore via Server Admin. Doing a restore would likely not solve your problem.)
    On to the specifics: I'm guessing that you created the Open Directory Master when your server was using Mac OS X Server 10.4.5 or earlier. Before version 10.4.6, Kerberization was a hit-and-miss procedure: sometimes it would work and sometimes it would not, even when the server's hostname was properly set and a DNS record existed for that name. The problem resides in a hostname resolution issue, but it's one that is most easily fixed by updating to Mac OS X Server 10.4.6 or 10.4.7 and recreating your Open Directory Master. In Mac OS X Server 10.4.6, Apple introduced a better way for the server's hostname to be set.
    In versions 10.4 through 10.4.5, you'd have to make the following changes before promoting your server to Open Directory Master: edit /etc/hostconfig and change HOSTNAME=-AUTOMATIC- to the server's host name, ensure that the server had a valid DNS record for its hostname (via the server's DNS service or existing DNS service), and run the hostname (or equivalent) command to ensure that the hostname was really set. All of this was required to circumvent a system that Apple had put into place but that wasn't effectively working. With the HOSTNAME=-AUTOMATIC- entry in /etc/hostconfig, the server was supposed to set its hostname choosing the first of these that was true: doing a DHCP client ID search, doing a reverse DNS search from the primary Ethernet interface's IPv4 address, setting the hostname to the Bonjour name, then setting it to "localhost." Unfortunately, what always happened, unless the initial boot returned a different result, was the Bonjour name was returned as the hostname. (Some Apple literature calls the Bonjour name, which is a mDNS name, the "local hostname.") Thus, running hostname would always return the Bonjour name, which prevented Kerberos from starting, as Kerberos needs a valid DNS name for the server's hostname.
    Starting with Mac OS X Server 10.4.6, Apple introduced a better way to do a reverse DNS lookup and set the hostname automatically at startup time. Thus, for 10.4.6 and later, /etc/hostconfig needs to have HOSTNAME=-AUTOMATIC-, and you need to ensure that the server is providing DNS services or that your existing DNS services have an entry for the server already.
    You may find this article helpful: http://docs.info.apple.com/article.html?artnum=302044
    It offers an additional suggestion of adding an entry for the server to /etc/hosts, should some problem with DNS arise. It also uses scutil --set to set the hostname; this command performs the equivalent of using the hostname command as I've suggested. In my testing since 10.4.6, I have had to recreate some Open Directory databases in order to get Kerberos working (or working again); however, usually the hostname is set properly after a restart automatically.
    Just for reference, the "Standard" authentication for AFP uses Diffie-Hellman Exchange (DHX), which is an encrypted password transport.
    --Gerrit

  • Creating a job and scheduling a job error in OEM

    Hi, Everyone,
    I am trying to create and schedule a job thru OEM. In the the pl/sql block provide i have given my code like this
    begin
    SET SERVEROUTPUT ON;
    SPOOL C:\RFV_PROFILE_REPORT.LOG APPEND;
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL;
    EXEC PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL;
    SPOOL OFF;
    end;
    i have created the job and scheduled it but i am getting this error:
    Error # 6550
    Details ORA-06550: line 2, column 5: PL/SQL: ORA-00922: missing or invalid option ORA-06550: line 2, column 1: PL/SQL: SQL Statement ignored ORA-06550: line 3, column 7: PLS-00103: Encountered the symbol "C" when expecting one of the following: := . ( @ % ;
    could anyone pls help as this is very urgent.
    Thanks in advance

    Ah, the problem is you are confusing SQLPlus commands with PL/SQL.
    SET SERVEROUTPUT ON; -- This is a SQLPlus command, not necessary here.
    SPOOL C:\RFV_PROFILE_REPORT.LOG APPEND; -- This is a SQLPlus command, in PL/SQL to write out to a file you will need to call the UTL_FILE package to open a file for writing to. Except that the file you write to will appear on the database server, not your workstation, when the scheduled job runs.
    SELECT TO_CHAR(SYSDATE, 'DD/MM/YY HH24:MI:SS') FROM DUAL; -- In PL/SQL you need to SELECT columns INTO variables FROM tables. But in fact I guess you want to write the time to file using UTL_FILE again. However, you don't really need to do this, since scheduler will log the start time and run duration itself.
    EXEC PAC_RFV_PROFILE_REPORT.CALL_ALL (200910); -- This is the SQLPlus equivalent of the PL/SQL command:
    BEGIN
    PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    END;
    SPOOL OFF; -- This is a SQLPlus command, not necessary here.
    So to summarise, all you really need is:
    BEGIN
    PAC_RFV_PROFILE_REPORT.CALL_ALL (200910);
    END;
    And the scheduled job will log the start time and duration in the database, which you can find here:
    SELECT * FROM USER_SCHEDULER_JOB_RUN_DETAILS

Maybe you are looking for

  • Unknown Error while opening an eps file!!

    Hi, While trying to open an eps file in AI, I get the following error. Am not able to figure as to y am getting this. "The operation cannot complete because of an unknwon error". Can anyone tell me whats causing this? Thanks, Anand

  • Query changes are not reflecting

    Hi All, Scenario: We have changed in Query from Query Designer in BED system and moved to Quality system but the changes are not reflecting. After checking tables RSRREPDIR and RSZCOMPDIR, we found out the information as below: Note: Production Syste

  • At-mio-16xe-50 does not work with labview

    I am putting together another system. I set the daq board with the values recorded from the first system using ni-daq. The setup passes the test in ni-daq. I get the correct readings using ni-daq, but when I go to my labview application I do not get

  • Repeating Frame Repeat Across Colour Change

    Hi I have a frame which repeats across 4 time ID NAME | ID NAME | ID NAME | ID NAME | What I want is to have columns 2 and 4 to be grey background and columns 1 and 3 to be white. How can I do this? Is it possible?

  • Hyperlink from SSRS Report

    Hi , I run ssrs reports form my VB application the hyperlink Does not open. When I run the same report from the server the hypelink opens normaly. Any Suggestion? Thanks Luis