Psql procedure to call 2 procedures(one by one)

Hi All,
I am very new to plsql, great if any1 could help me in getting to the right track
my problem is , I need to write a stored procedure which is going to call another stored procedure(lets call this first stored proc as procedure_A) and I have to make sure that it gets completed and then only I call the next stored procedure(lets call it procedure_B) and so on .. I have to do this for 26 stored procedures.
PS: I need to make sure when 1st procedure gets going, it needs to finish and then only the next procedure should start and so on for the 26 stored procedures that I need to call, I hope I am clear with my problem, please help me.
Regards
Rahul

I cannot log from the sys/system user, could you please tell me which privilege should I need.
Regards
Rahul
PS: I have these many privilege's , got it from -> select * from session_privs; :
ALTER SYSTEM
AUDIT SYSTEM
CREATE SESSION
ALTER SESSION
RESTRICTED SESSION
CREATE TABLESPACE
ALTER TABLESPACE
MANAGE TABLESPACE
DROP TABLESPACE
UNLIMITED TABLESPACE
CREATE USER
BECOME USER
ALTER USER
DROP USER
CREATE ROLLBACK SEGMENT
ALTER ROLLBACK SEGMENT
DROP ROLLBACK SEGMENT
CREATE TABLE
CREATE ANY TABLE
ALTER ANY TABLE
BACKUP ANY TABLE
DROP ANY TABLE
LOCK ANY TABLE
COMMENT ANY TABLE
SELECT ANY TABLE
INSERT ANY TABLE
UPDATE ANY TABLE
DELETE ANY TABLE
CREATE CLUSTER
CREATE ANY CLUSTER
ALTER ANY CLUSTER
DROP ANY CLUSTER
CREATE ANY INDEX
ALTER ANY INDEX
DROP ANY INDEX
CREATE SYNONYM
CREATE ANY SYNONYM
DROP ANY SYNONYM
CREATE PUBLIC SYNONYM
DROP PUBLIC SYNONYM
CREATE VIEW
CREATE ANY VIEW
DROP ANY VIEW
CREATE SEQUENCE
CREATE ANY SEQUENCE
ALTER ANY SEQUENCE
DROP ANY SEQUENCE
SELECT ANY SEQUENCE
CREATE DATABASE LINK
CREATE PUBLIC DATABASE LINK
DROP PUBLIC DATABASE LINK
CREATE ROLE
DROP ANY ROLE
GRANT ANY ROLE
ALTER ANY ROLE
AUDIT ANY
ALTER DATABASE
FORCE TRANSACTION
FORCE ANY TRANSACTION
CREATE PROCEDURE
CREATE ANY PROCEDURE
ALTER ANY PROCEDURE
DROP ANY PROCEDURE
EXECUTE ANY PROCEDURE
CREATE TRIGGER
CREATE ANY TRIGGER
ALTER ANY TRIGGER
DROP ANY TRIGGER
CREATE PROFILE
ALTER PROFILE
DROP PROFILE
ALTER RESOURCE COST
ANALYZE ANY
GRANT ANY PRIVILEGE
CREATE MATERIALIZED VIEW
CREATE ANY MATERIALIZED VIEW
ALTER ANY MATERIALIZED VIEW
DROP ANY MATERIALIZED VIEW
CREATE ANY DIRECTORY
DROP ANY DIRECTORY
CREATE TYPE
CREATE ANY TYPE
ALTER ANY TYPE
DROP ANY TYPE
EXECUTE ANY TYPE
UNDER ANY TYPE
CREATE LIBRARY
CREATE ANY LIBRARY
ALTER ANY LIBRARY
DROP ANY LIBRARY
EXECUTE ANY LIBRARY
CREATE OPERATOR
CREATE ANY OPERATOR
DROP ANY OPERATOR
EXECUTE ANY OPERATOR
CREATE INDEXTYPE
CREATE ANY INDEXTYPE
ALTER ANY INDEXTYPE
DROP ANY INDEXTYPE
UNDER ANY VIEW
QUERY REWRITE
GLOBAL QUERY REWRITE
EXECUTE ANY INDEXTYPE
UNDER ANY TABLE
CREATE DIMENSION
CREATE ANY DIMENSION
ALTER ANY DIMENSION
DROP ANY DIMENSION
MANAGE ANY QUEUE
ENQUEUE ANY QUEUE
DEQUEUE ANY QUEUE
CREATE ANY CONTEXT
DROP ANY CONTEXT
CREATE ANY OUTLINE
ALTER ANY OUTLINE
DROP ANY OUTLINE
ADMINISTER RESOURCE MANAGER
ADMINISTER DATABASE TRIGGER
MERGE ANY VIEW
ON COMMIT REFRESH
RESUMABLE
SELECT ANY DICTIONARY
DEBUG CONNECT SESSION
DEBUG ANY PROCEDURE
FLASHBACK ANY TABLE
GRANT ANY OBJECT PRIVILEGE
CREATE EVALUATION CONTEXT
CREATE ANY EVALUATION CONTEXT
ALTER ANY EVALUATION CONTEXT
DROP ANY EVALUATION CONTEXT
EXECUTE ANY EVALUATION CONTEXT
CREATE RULE SET
CREATE ANY RULE SET
ALTER ANY RULE SET
DROP ANY RULE SET
EXECUTE ANY RULE SET
EXPORT FULL DATABASE
IMPORT FULL DATABASE
CREATE RULE
CREATE ANY RULE
ALTER ANY RULE
DROP ANY RULE
EXECUTE ANY RULE
ANALYZE ANY DICTIONARY
ADVISOR
CREATE JOB
CREATE ANY JOB
EXECUTE ANY PROGRAM
EXECUTE ANY CLASS
MANAGE SCHEDULER
SELECT ANY TRANSACTION
DROP ANY SQL PROFILE
ALTER ANY SQL PROFILE
ADMINISTER SQL TUNING SET
ADMINISTER ANY SQL TUNING SET
CREATE ANY SQL PROFILE
MANAGE FILE GROUP
MANAGE ANY FILE GROUP
READ ANY FILE GROUP
CHANGE NOTIFICATION
CREATE EXTERNAL JOB
Edited by: Mac_Freak_Rahul on Sep 9, 2011 4:40 AM

Similar Messages

  • I have a IPhone 5 and Iphone 5s. Both are set up with the same account ID and running IOS 8.0.2. When the phones are connected to the same Wifi at home, both phones will ring when someone call in to one of the phone.  Anyway to solve this problem?

    I have a IPhone 5 and Iphone 5s, each phone is activited with a different service provider. Both are set up with the same account ID and running IOS 8.0.2. When the phones are connected to the same Wifi at home, both phones will ring when someone call in to one of the phone.  Hence you do not know exactly which line the caller called.  If you answered using the wrong phone, then anyone calling the other number will not get through.  Anyway to solve this problem?

    Hey David Koh TP,
    Thanks for the question. It sounds like your devices are set up to use continuity together. Specifically, it sounds like you are signed into the same Apple ID in FaceTime, and have iPhone Cellular Calls enabled. To resolve your issue, simply disable this setting:
    Connect your iPhone, iPad, and iPod touch using Continuity
    http://support.apple.com/kb/HT6337
    Turn off iPhone cellular calls
    To turn off iPhone Cellular Calls on a device, go to Settings > FaceTime and turn off iPhone Cellular Calls.
    Thanks,
    Matt M.

  • Stopping call forwarding on one of two numbers?

    HI,
    I have two Sype numbers, the main one for the UK and a new one that I bought a couple of months ago, a Hong Komg number.
    The HK number used to be used by a tourism website, and although they have changed their main number on their website, references to the old number still exist in a few places and I get calls, sometimes several a day to the number.
    I have contacted the company in HK twice and asked them to clear up the problem, but I suspect that the calls come from external websites that they don't control and are unable to remove the numbers.
    So, I would like to stop call forwarding on one of my numbers, but it doesn't seem like this is possible, which is obviously ridiculous but hey ho.
    I am therefore trying to cancel the HK number, but when I go to the cancel page and hit cancel the page just reloads without doing anything. I also believe that the number stays valid until the yearly payment runs out.
    Questions then, can I cancel the number and peoperly kill it, so I stop getting these calls?
    Many thanks,
    Tom.

    Hello and welcome to the Skype Community.
    Checking your options. Canceling the HK Number wouldn't be effective until it expires on February 16th 2016, Which error message [if any] do you receive when you try to cancel call forwarding to the HK Number?
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Hello i am having a problem in my 4s that it dosent run any USSD code it goes on calling , can any one help me i am mack from Karachi Pakistan

    Hello i am having a problem in my 4s that it dosent run any USSD code it goes on calling , can any one help me i am maqsood  from Karachi Pakistan

    Ok so I've done what you said and this is what it's come back ....
    I don't know that these are the errors , but they're the things which don't look right ...
    Throughout the shut down there is a recurring line ;
    It says ;
    Com.apple.launchd 1 0x100600e70.anonymous.unmount 301 PID still valid
    Then there are 2 more which I think are related ;
    Com.apple.securityd 29 PID job has I overstayed its welcome , forcing removal.
    Then the same with fseventd 48 and diskarbitrationd 13
    Oh and on Launchd1 : System : stray anonymous job at shut down : PID 301 PPID13 PGID 13 unmount...
    Then the last process says "about to call: reboot (RB_AUTOBOOT).
    Continuing...
    And stops ...
    Hope this means something to you ... Thanks again for your help so far :-)

  • Why dose not see the call waiting notification when other party in a call with some one ?

    why dose not see the call waiting notification when other party in a call with some one ?

    Because that is not a feature of the iPhone (or of most phones). If someone does not answer when you call, it means they do not want to or cannot talk to you at that time. They could be on another call or they could be simply busy doing something else. Why does it matter which?

  • Just updated my iphone with iOS 7.0.2 and when I call or people call me, only one party can hear the other. Would you know how to fix this problem? Thanks

    just updated my iphone with iOS 7.0.2 and when I call or people call me, only one party can hear the other. Would you know how to fix this problem? Thanks

    Hi Apple_Mom,
    Thanks for visiting Apple Support Communities.
    If you've noticed issues after updating to iOS 7.0.2, you may want to first update to iOS 7.0.3 which was recently released.
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    If the behavior persists, the troubleshooting steps in this article can help:
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/TS1630
    Cheers,
    Jeremy

  • Can we call sceen of one program into another?

    Hi ABAPers,
      I wish to know whether, is it possible to call the screen of one program through another program? I know, calling a subroutine of a program from another is possible but i want to know whether calling screen of one program from another is possible or not?
      Also if its possible then how?
    Regards,
    Sonu.

    Hi,
    We can call the subscreens ...
    CALL SUBSCREEN <area> INCLUDING [<prog>] <dynnr>.
    The screen of a subscreen that you call is placed in the subscreen area <area> on the main screen.
    If you do not specify a program <prog>, the system uses a screen from the current ABAP program. If you do specify a program <prog>, the system uses a screen from the program <prog> for the subscreen. This program is treated in the same way as an external subroutine call. In other words, it is loaded into the program group of the calling program, or, if it is a function group, as its own program group in the same internal session as the calling ABAP program.
    Regards
    Sudheer

  • Can I Call method on one JVM from another through a dll?

    Let me explain.
    I have this java jar file that I can only have one instance of running at any given time. I'm using a shared data segment in a dll to store a bool indicating whether the program is already running or not. If it's already running, I have to not run the second instance and give focus to the current running instance.
    The jar file calls a native method "canInstantiate()" on a dll to see if there's already an app running. If there isn't, the env and obj are stored in the shared data segment of the dll and we return true. If there is already an instance of the program running, I want canInstantiate call a function on the current instance of the jar (like a callback) to tell it to request focus. It's not working. Can someone tell me if my code is right?
    The .h file
    #include "stdafx.h"
    #include <jni.h>
    #include "CardServer.h"
    #pragma data_seg("SHARED") // Begin the shared data segment.
    static volatile bool instanceExists = false;
    static JavaVM *theJavaVM = NULL;
    static JNIEnv* theJavaEnv= NULL;
    static jobject instanceObject = NULL;
    static jmethodID mid = NULL;
    static jclass cls = NULL;
    #pragma data_seg()
    #pragma comment(linker, "/section:SHARED,RWS")
    jdouble canInstantiate(JNIEnv *env, jobject obj);
    jdouble instantiate(JNIEnv *env, jobject obj);
    jdouble uninstantiate(JNIEnv *env, jobject obj);
    void grabFocus();
    </code>
    The .cpp file:
    <code>
    #include "MyFunctions.h"
    #include <string.h>
    #include <stdlib.h>
    #include "stdafx.h"
    #include <iostream.h>
    jdouble canInstantiate(JNIEnv *env, jobject obj)
    printf("In canInstantiate!!");
    if (!instanceExists)
    printf("No instance exists!!");
    return (jdouble)0.0;
    else
    printf("An instance already exists!!");
    grabFocus();
    return (jdouble)1.0;
    jdouble instantiate(JNIEnv *env, jobject obj)
    printf("**In CPP: Instantiate!!\n");
    cout << "At start, env is: " << env << endl;
    cout << "At start, obj is: " << obj << endl;
    if (instanceExists == false)
    instanceExists = true;
    theJavaEnv = env;
    instanceObject = obj;
    theJavaEnv->GetJavaVM(&theJavaVM);
    cls = (theJavaEnv)->FindClass("TheMainClassOfTheJar");
    if (cls == 0) {
    fprintf(stderr, "Can't find Prog class\n");
    exit(1);
    mid = (theJavaEnv)->GetMethodID(cls, "grabFocusInJava", "(I)I");
    if (mid == 0) {
    fprintf(stderr, "Can't find grabFocusInJava\n");
    exit(1);
    printf("About to call grabFocusInJava\n");
    grabFocus();
    printf("CPP: After the grab focus command in instantiate!!\n");
    cout << "At end, env is: " << env << endl;
    cout << "At end, obj is: " << obj << endl;
    return 0.0;
    else
    printf("CPP: Finished Instantiate!!\n");
    return 1.0;
    jdouble uninstantiate(JNIEnv *env, jobject obj)
    printf("CPP: In uninstantiate!!\n");
    if (instanceExists == true)
    instanceExists = false;
    theJavaVM = NULL;
    instanceObject = NULL;
    printf("CPP: Finishing uninstantiate!!\n");
    return 0.0;
    else
    printf("CPP: Finishing uninstantiate!!\n");
    return 1.0;
    void grabFocus()
    printf("In CPP::GrabFocus!!\n");
    instanceObject = theJavaEnv->NewGlobalRef(instanceObject);
    cls = (theJavaEnv)->FindClass("CardFormatter");
    if (cls == 0) {
    fprintf(stderr, "Can't find Prog class\n");
    exit(1);
    printf("Got the cls id again!!\n");
    if (cls == 0)
    printf("IT'S INVALID!!\n");
    mid = (theJavaEnv)->GetMethodID(cls, "grabFocusInJava", "(I)I");
    if (mid == 0) {
    fprintf(stderr, "Can't find grabFocusInJava\n");
    exit(1);
    theJavaEnv->CallIntMethod(instanceObject, mid, 2);
    printf("Called grabFocusInJava\n");
    </code>
    thanks in advance

    Can I Call method on one JVM from another through a dll
    ...The rest of your question merely expands on your title.
    And the answer to that question is no.
    When you call a method you are executing a "thread of execution." A thread of execution exists only in a single process. It can not exist in another process.
    If the dll is doing some interesting things then you could call a method that sets a flag. Data can move between instances. But you would then have to have a thread in that different process monitoring that flag. And sharing data in a dll is not a normal process, so it would have to be coded appropriately.
    If all you want to do is set the current focus to the existing application, then that can be done with existing windows functionality. You don't need to do anything special in your dll. You can probably search these forums to find the exact code. If not there are countless examples in windows repositories (like MSDN) on how to do that.

  • How to call more then one Function modules at the same time

    HI ,
    How to call more then one FM at the same time .
    Modertor Message: Interview-type Questions are not allowed.
    Edited by: kishan P on Jan 2, 2012 2:22 PM

    They are a few different models of the MacBook Pro ranging from 15.4" i7's to 17" i7's. I would use the same models together though when imaging them just like I do with PC's. For example I would Ghost 5 Lenovo T420 Thinkpads at the same time which all share the same exact specs and config. Looking to do the same with the MBP. I have .dmg image of OSX 10.8.1 on a firewire drive which I'm using. I image all my MBP's with this drive, the only downside is I have to do each MBP one at a time.
    Thanks

  • How to call more then one smartforms from SE38 ?

    Hello Expertise,
    Good Afternoon,
    Hope all r fine. Do anybody knows,Is it possible to call more than one smartform from SE38?
    If possible then how?
    Please help me.
    Thanks n regards,
    Tripod.

    Hi,
    what you meaning with: call more than one...
    call & show as smartform (print preview ) > I think that´s not possible
    Call & create PDF > show as PDF in IExplorer ? > Yes could work when you crate the PDF > and send it to different Internet explorer
    Call & create PDF > show as PDF in GUI ? > Yes could work when you crate the PDF > and send it to different Containers...
    Best Regards
    Robert

  • Calling BAPI only ones and receiving all values

    HI all,
      I am having a BAPI and I want to receive all the values from the BAPI at the first time.I am having two tables table1 and table2. These tables are inside a Tab(tab strip).
    When i click the Tab strip the BAPI fills the first table table1 and based on the lead selection in table1 it calls the BAPI again and fills the second table tab2. But I want to call BAPI only ones when i enter the Tab and show the details from buffer.
    It should give the values based on the lead only from webdynpro.
    Please help..Its urgent..
    Thangs&regards
    karthik.

    Hi Karthi,
    1> Take a Value Node with the necessary attributes to store the BAPI output only once.
    2> Inside wdDoint Method:  Execute the BAPI and Copy the BAPI Output to your Value Node.
    3>All the data will be available in your ValueNode. Use the Value Node as per your requirement.
    Re: RFC Issue - Cardinality and Selection problem
    Issue with Table
    Regards,
    Mithu

  • When i make a call or receive one, i cant hear the other part but they can hear me???? anyone please help...

    please help- when i make a call or receive one from my i phone 4 i cant hear anything but they can hear me? anyone has a sollution to this or can help?
    -anita

    Try a reset:
    Press and hold the Sleep/Wake button and the Home button at the same time for at least 10 seconds, until the Apple logo appears.

  • Can anyone give me step by step for calling FM from one SAP to another SAP

    can anyone give me step by step for calling FM from one SAP to another SAP
    points will be rewarded,
    thank you,
    Regards,
    Jagrut BharatKumar Shukla

    *& Report  RFC_FOR_CUSTOMER_LIST
    *& RFC to a Fn. module from another system which implements BAPI
    REPORT  rfc_for_customer_list.
    DATA:
      fl_status TYPE i.
    DATA:
      fs_message TYPE bapiret2.
    DATA:
      BEGIN OF fs_customers,
        id   TYPE s_customer,
        name TYPE s_custname,
      END OF fs_customers.
    DATA:
      t_customers LIKE
         STANDARD TABLE
               OF fs_customers.
    CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
      IMPORTING
        return = fs_message
      TABLES
        customerlist = t_customers.
    IF sy-subrc EQ 0.
      fl_status = 1.
      LOOP AT t_customers INTO fs_customers.
        WRITE:
          /10 fs_customers-id,
           30 fs_customers-name.
        AT LAST.
          WRITE:
            /,/5 'No of customers in R3N = ', sy-tabix.
        ENDAT.
      ENDLOOP.
    ELSE.
      MESSAGE 'RFC failed' TYPE 'S'.
      EXIT.
    ENDIF.
                           TOP-OF-PAGE EVENT                            *
    TOP-OF-PAGE.
      IF fl_status NE 0.
        WRITE:
          /12 'ID'   COLOR 6,
           32 'NAME' COLOR 6.
        SKIP.
      ENDIF.
    This is one small example...
    Regards,
    Pavan

  • After updating my iPhone 5 to ios 6.1 I'm getting a hissing sound during calls. Any one else having this problem? Need help

    After updating my iPhone 5 to ios 6.1 I'm getting a hissing sound during calls. Any one else having this problem? Need help

    I am having the same issue. I am updating to 6.1.3 to see if that helps. It is really annoying. It seems to vibrate as well as hiss on my ear piece speaker while on a call. I keep looking at the phone thinking maybe another call is coming in.

  • Is there any way to call methods of one view from another

    Hi experts,
    I am new to webdynpro.I am having some requirement in which I need to call methods of one view from some other view of same component .So is there any way to do this.

    Dear Pradeep,
    This will solve your problem......( plz 1st read everything ..)
    There are 2 views  :
    i) Mandatory Attributes ' view(V1)
    ii) Button' s  View..(V2)
    1. Create a method in Component Controller.( M1).
    2. Goto V2 . In the Action Handler method of Button , call method  M1 of component controller.
    3. Write your Code in M1 instead of  V2 method.
    4. Create an EVENT ( E1 ) in component controller.
    5. Fire this event  from M1 before executing Action Code.
    6. Now  Add the event handler method of  E1 in  V1 ( i.e. Mandatory attributes view. )   ..........clear????? .. set "METHOD TYPE" = Event Handler. instead of  Method.
    7. In this event handler method in V1 , write the "check_mandatory_attribute_view" method.
    8. use necessary flags..
    Regards ,
    Aditya.

  • How to block calls & texts from one telephone number

    How to block calls & texts from one telephone number

    Call number blocking is done only by the carrier. Some carriers allow users to input numbers to be blocked on a website.
    Verizon allows users to list up to five numbers to be blocked for free for 90 days by entering them in the users My Verizon site. I've found that 90 days has been sufficient to discourage most nuisance calls. But Verizon also provides a service ( for a fee) that will permanently block a number.
    So contact your carrier to see what they offer.

Maybe you are looking for