Regarding Jobs in PLSQL

Hi everyone i am finding jobs as a ORACLE PLSQL DEVELOPER. Can anyone help me what are the main points/topics to study regarding interviews. . .I am totally lost what to study what not? As PLSQL is vast thats why i am facing difficulty what to study first. HELP ME PLEASE.
Is there any good site where can i practice the practical questions of PLSQL.
Thanks in advance. . .

You are completely correct. Thank you for waking me up.
I interview people for developer jobs and my minimum criteria are:
1. Know all Oracle table, constraint, and index types and when and when not to use them.
2. Know how to write cursor loops and know they are obsolete and how to turn them into array processing loops with BULK COLLECT and FORALL.
3. Know how to tune with Explain Plan and how to properly use DBMS_XPLAN to generate output.
4. Have a good working knowledge of Oracle functions, data types, packages (built-in and user defined).
5. Can white-board solutions to questions popped on the fly.
6. Can tell me the last books they have read: Both technical and non-technical.
7. Can tell me about the last class they took.
8. Can admit when they don't know the answer to a question.

Similar Messages

  • System Refresh regarding jobs

    Hi,
    I have a query regarding jobs. We refresh production to quality server. So this way all jobs also would be refreshed to quality from production. Now i will have all the jobs but i do not want same scheduling(as of production for my quality) and actually want the scheduling that was previously defined for my quality system jobs to be effective now after i have refreshed the system from production. So how i may do this? is there a way to take a backup of scheduling times of jobs before quality refresh so i can manitian same later having refreshed from production.
    Also is there a way to completely restore the older (before refresh all jobs of quality) to quality again may this would help me to get my older scheduling?
    Please let me know.
    Regards,
    Ashish Robinson
    SAP BASIS Team
    Edited by: Ashish V Robinson on Oct 5, 2011 7:43 AM

    Hi Ashish,
    When you are performing the system copy with PRD data.There are some pre-steps needs to taken care to avoid issues after building the target system with PRD data.
    1.Disable communication between source systems ( sm59 )
    2. Disable background job processing by running BTCTRNS1
    3.Complete message processing in source landscape.
    If your target system already exist in your landscape before going to perform the refresh with PRD data  take secure information backup in your target system.
    1.User master data
    2.RFC tables backup.
    3.Background jobs information and background job tables backup using transport of copies method.
    If you follow above steps you won't face any difficulty after system copy with PRD data.
    What you have to do is the secure information which you have taken in target system you need to import in your target system.
    I hope it will help you.
    Regards,
    Kiran .V

  • Issue regarding job SAP_CCMS_MONI_BATCH_STARTUP_DP

    Hi,
    We are facing an issue regarding an event triggered job SAP_CCMS_MONI_BATCH_STARTUP_DP.
    Details of the job
    ABAP Program -> RSAL_BATCH_TOOL_STARTUPDISP
    User -> DDIC
    Job Frequency -> Event Periodic
    Event -> SAP_MONITORING_STARTUP_DISPATCH
    We performed Database Refresh and this job has come from Source System. We have deleted the job in Target System but after that also we are getting continuous error message in SM21.
    Error message is as follows:
    14:33:36 DIA  001 000 SAPSYS                EA  S Failed to reschedule a periodic job
    14:33:36 DIA  001 000 SAPSYS                EB  C > Job SAP_CCMS_MONI_BATCH_STARTUP_DP
    On digging down we got the below information in SM21 regarding the error:
    Documentation for system log message EA S :
    This message is output by one of the job schedulers active in the
    system (e.g. time or event-based scheduler). It indicates a problem
    related to the database. An attempt was made to reschedule a periodic
    job and write the respective control data in the database. This error
    occurred for one of the associated database operations (for example,
    INSERT or UPDATE).
    Another cause of the error is failure to generate a new job ID number.
    A subsequent message will point this out.
    The following courses of action are possible:
    Check whether there are any other notes on this problem next to this
    message in the system log, for example direct messages from the
    database interface. These details generally bring you closer to the
    actual cause of the problem.
    The additional information for this message contains the name of the
    database table for which the error occurred.
    If you determine that the error occurred during the SELECT access to
    table TBTCI, the internal report belonging to this background job has
    been deleted. In this case, there is normally a background job in the
    'terminated' status, which ended due to runtime error
    'LOAD_PROGRAM_NOT_FOUND'. Delete this job to prevent further
    unnecessary scheduling on the part of the background processing
    scheduler. You must then reschedule the job concerned.
    As rescheduling of the periodic job could not be completed
    successfully, this job is not executed at first. The background
    processing scheduler takes this job and attempts to schedule it again.
    Depending on the repetition period, gaps in running the background jobs
    can occur for successful scheduling (i.e. the background jobs that were
    unsuccessfully scheduled will be missing in the job overview if their
    execution date elapsed in the meantime).
    Since the next start of the periodic job could not be scheduled
    correctly, there is no entry in the job overview for the planned start
    date.
    If the system failed to generate the job ID number, you will find notes
    on what to do next in the long text of the respective system log
    message.
    We have fixed also Background Object in SM61.
    Kindly help to fix this issue. Looking forward for reply.
    Thanks,
    Soumya

    I am also facing similar issue  . I found below SM21 entries daily . becoz of this my system  performance becomes slows down. no idea which tables are getting filled up  due to this .
    > Job SAP_CCMS_MONI_BATCH_STARTUP_DP
    Failed to reschedule a periodic job
    For temporary fix we have changed the below memory parameters when system performance is poor .
    EM/TOTAL_SIZE_MB = 16384
    ES/SHM_SEGS_VERSION = 2
    ES/TABLE = SHM_SEGS
    But we need to fix these system log entries as still we are getting these errors. If anybody knows the permanent fix of this error that will be great for us.
    Regards
    Krishna

  • Query regarding Job work senario in India

    dear all,
    i am facing a strange problem
    i m having some Customer who sent material on (4)(5) a or 57F4 challan for job work. In that case only labour charges are charged no excise duty will charged, but how i will take the material "in" in to system,from which transaction code and which movement type i used. Also the storage location should be different for that ?
    It Dose not hit the RG1 Register.
    can any body help me to solve this
    please please solve the problem
    regards
    pankaj
    [email protected]

    Dear Pankaj
    1. Then i will suggest to use DIEN Material type , which will not be valuated, as
    it is customer's stock
    2. Then you recieve the material from Customer, which is non-valuated.
    This you can do in MIGO.
    3 Then you make a production order with BOM, where component will
    be material given by customer and FG will be Material you are going
    to send along with byproducts.
    3. Once material is process(or produced) then you can make a seperate jobwork sales order type and deliver it
    4. Finally bill it for services rendered.
    If you use Services you will not get stock of customer's material in the system.
    But if you use non valuated material you can get the stock. So ask if stock
    is required???
    As no excise entries are required you need no worry about CIN part
    I hope it is clear....
    Regards
    Jitesh

  • Task is taking more time, while creating more number of jobs in PLSQL.

    Hi,
    I want to know regarding distributing a task to no. of scheduler jobs. On which basis we should have to define no. of jobs and also what will be advantage or disadvantage of increasing the number of such jobs for a particular task ?

    Hello,
    Looks like you have a 1:M relationship from TableA to TableB, with a 1:1 back pointer from TableB to TableA. If triggering the 1:M relationship is causing you delays that you want to avoid there might be two quick ways I can see:
    1) Don't map it. Leave the TableA->TableB 1:M unmapped, and instead just query for relationship when you do need it. This means you do not need to call tableA.addTableB(tableB), and instead only need to call tableB.setTableA(tableA), so that the TableB->TableA relation gets set. Might not be the best option, but it depends on your application's usage. It does allow you to potentially page the TableB results or add other query query performance options when you do need the data though.
    2) You are currently using Lazy loading for the TableA->TableB relationship - if it is untriggered, don't bother calling tableA.addTableB(tableB), and instead only need to call tableB.setTableA(tableA). This of course requires using TopLink api to a) verify the collection is an IndirectCollection type, and b) that it is hasn't been triggered. If it has been triggered, you will still need to call tableA.addTableB(tableB), but it won't result in a query. Check out the oracle.toplink.indirection.IndirectContainer class and it's isInstantiated() method. This can cause problems though in highly concurrent environments, as other threads may have triggered the indirection before you commit your transaction, so that the A->B collection is not up to date - this might require refreshing the TableA if so.
    Change tracking would probably be the best option to use here, and is described in the EclipseLink wiki:
    http://wiki.eclipse.org/Introduction_to_EclipseLink_Transactions_(ELUG)#Attribute_Change_Tracking_Policy
    Best Regards,
    Chris

  • Regarding Job Log Content.

    Hi all,
    I want to sent the content of the job log through mail for the failed jobs.
    Can anybody tell me how to get the content of the joblog in an internal table?
    I am able to check the status of the job from the table TBTCO.But unable to
    find how the joblog information is being fetched??
    Please help me out with this.
    Thanks and Regards.
    syed.

    syed,
    you can use the FM 'BP_JOBLOG_READ' passing the client, jobcount, joblogid and jobname. The jobcount and joblogid can be obtained from the TBTCO table for the date/time of the job execution.
    the log content is then returned back in the tables parameter 'joblogtbl'.
    - Kester

  • Regarding Job Status

    Hi,
    I want to check the status of my job i m aware of the tables n FM but what i wanna
    know how do i go about doing it in my program which is submitting that job
    using JOB_SUBMIT ??
    if i check the status in my program it always gives Running it may take some tme for my job to be proceesed,thus im nt gettting the actual status.
    Is there any way out??
    Its Urgent,
    Answers will be rewarded,
    regards.
    Rohan

    Hi,
    Please check this sample code.
    CALL FUNCTION 'JOB_OPEN'
      EXPORTING
        JOBGROUP         = V_JOBGROUP
        JOBNAME          = V_JOBNAME
        SDLSTRTDT        = SY-DATUM
        SDLSTRTTM        = SY-UZEIT
      IMPORTING
        JOBCOUNT         = V_JOBCOUNT
      EXCEPTIONS
        CANT_CREATE_JOB  = 1
        INVALID_JOB_DATA = 2
        JOBNAME_MISSING  = 3
        OTHERS           = 4.
    IF SY-SUBRC NE 0.
      CLEAR WA_MESSAGE.
      CONCATENATE TEXT-005 V_JOBNAME INTO WA_MESSAGE
                           SEPARATED BY SPACE.
      MESSAGE S009(ZZSCMAPO) WITH WA_MESSAGE.
      STOP.
    ENDIF.
    SUBMIT ZZAPOSSFCST_EXTRACTOR2
           USER SY-UNAME
           VIA JOB V_JOBNAME
           NUMBER V_JOBCOUNT
           WITH P_SOURCE EQ P_SOURCE  "<--- Here submit with parameter1
           WITH P_REQUNR EQ P_REQUNR  "<--- Here submit with parameter2
           WITH P_SIZE   EQ P_SIZE    "<--- Here submit with parameter3
           WITH P_CALLS  EQ P_CALLS   "<--- Here submit with parameter4
           AND RETURN.
    IF SY-SUBRC NE 0.
      CLEAR WA_MESSAGE.
      CONCATENATE TEXT-006 V_JOBNAME INTO WA_MESSAGE
                           SEPARATED BY PACE.
      MESSAGE S009(ZZSCMAPO) WITH WA_MESSAGE.
      STOP.
    ENDIF.
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
        JOBCOUNT             = V_JOBCOUNT
        JOBNAME              = V_JOBNAME
        STRTIMMED            = 'X'
      EXCEPTIONS
        CANT_START_IMMEDIATE = 1
        INVALID_STARTDATE    = 2
        JOBNAME_MISSING      = 3
        JOB_CLOSE_FAILED     = 4
        JOB_NOSTEPS          = 5
        JOB_NOTEX            = 6
        LOCK_FAILED          = 7
        INVALID_TARGET       = 8
        OTHERS               = 9.
    IF SY-SUBRC NE 0.
      CLEAR WA_MESSAGE.
      CONCATENATE TEXT-007 V_JOBNAME INTO WA_MESSAGE
                           SEPARATED BY SPACE.
      MESSAGE S009(ZZSCMAPO) WITH WA_MESSAGE.
      STOP.
    ENDIF.
    <b>Reward points if useful</b>
    Rewards
    Ashu

  • Help requested regarding job scheduling for an action

    Hi Gurus,
    I have created an action with a custom method. This method is used to change the status of all the subsequent tasks from that transactions. In case if any of the tasks is opened while the action is executing then the action would error out. To reprocess such action I created a job for the variant created in CRMC_ACTION_MONITOR. But it doesnt seems to work. Please suggest how to go about it.
    Thanks and Regards,
    Jai

    Did you set processing time for an action as "Processing Using Selection Report"?
    Did you create variant in SPPFP and defined "Processing without dialog"?
    Did you schedule job for program RSPPFPROCESS and your variant of report?

  • Regarding Job Schedule

    Hi,
    I need to execute a Report u2018YBu2019 on a next day (If I execute a report u2018YAu2019  today, then Report u2018YBu2019 in u2018YAu2019  should get executed on next day at 10.00 AM).
    REPORT YA
    jobname = 'YSAUs_JOB'.
    Open Job
    CALL FUNCTION 'JOB_OPEN'
    EXPORTING
    jobname = jobname
    IMPORTING
    jobcount = w_jobcount.
    SUBMIT YB VIA JOB jobname NUMBER w_jobcount AND RETURN USER sy-uname.
    Schedule and close job.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    jobcount = w_jobcount
    jobname = jobname
    sdlstrtdt = lv_start_dat u201C sy-datum +1
    sdlstrttm = '100000'.
    But My job is not getting scheduled. I get an error saying use job step not given correctly so unable to start job. It is suggesting to use JOB_SUBMIT FM.
    Please provide your valuable inputs on this.
    Thanks in advance.

    Hi,
    Try like this:
      DATA: I_VARID  TYPE STANDARD TABLE OF VARID,
            WA_VARID TYPE VARID.
      DATA: V_REPO TYPE RALDB_REPO,
            V_VART TYPE RALDB_VARI.
      RANGES: R_REPO FOR VARID-REPORT,
              R_VARI FOR VARID-VARIANT.
      R_REPO-SIGN = 'I'.
      R_REPO-OPTION = 'EQ'.
      R_REPO-LOW = 'RMMMPERI'. " Name of Program
      APPEND R_REPO.
      R_VARI-SIGN = 'I'.
      R_VARI-OPTION = 'EQ'.
      R_VARI-LOW = 'ZMMPV'. " Name of Varient
      APPEND R_VARI.
      SELECT * FROM VARID
             INTO TABLE I_VARID
             WHERE REPORT IN R_REPO
             AND VARIANT IN R_VARI.
      LOOP AT I_VARID INTO WA_VARID.
        V_REPO = WA_VARID-REPORT.
        V_VART = WA_VARID-VARIANT.
    ENDLOOP.
        CONCATENATE SY-UNAME
                      SY-DATUM
                      SY-UZEIT
                              INTO W_JOBNAME .  " Assign unique jobname
        CALL FUNCTION 'JOB_OPEN'
         EXPORTING
          JOBNAME                = W_JOBNAME
        IMPORTING
         JOBCOUNT                = W_JOBCOUNT
       EXCEPTIONS
         CANT_CREATE_JOB        = 1
         INVALID_JOB_DATA       = 2
         JOBNAME_MISSING        = 3
         OTHERS                 = 4
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
        CALL FUNCTION 'JOB_SUBMIT'
          EXPORTING
          AUTHCKNAM                         = SY-UNAME
          JOBCOUNT                          = W_JOBCOUNT
          JOBNAME                           = W_JOBNAME
          REPORT                            = V_REPO
          VARIANT                           = V_VART
         EXCEPTIONS
           BAD_PRIPARAMS                     = 1
           BAD_XPGFLAGS                      = 2
           INVALID_JOBDATA                   = 3
           JOBNAME_MISSING                   = 4
           JOB_NOTEX                         = 5
           JOB_SUBMIT_FAILED                 = 6
           LOCK_FAILED                       = 7
           PROGRAM_MISSING                   = 8
           PROG_ABAP_AND_EXTPG_SET           = 9
           OTHERS                            = 10
        IF SY-SUBRC <> 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                  WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    CALL FUNCTION 'JOB_CLOSE'
    EXPORTING
    jobcount = w_jobcount
    jobname = w_jobname
    sdlstrtdt = lv_start_dat u201C sy-datum +1
    sdlstrttm = '100000'.
    Regards,
    Bhaskar

  • Regarding job scheduling

    hi gurus,
    Im trying to schedule a job. everything is going right but the problem is that in the backgroung job i'm exporting an internal table in the memory id. this internal table, in the memory id, im importing in my background programm. but im not able to get the imported data from the memory id.
    how to over come this condition.

    You must have the same structure for both the internal tables.
    Check out are they same? IF they don't have same definition then you have to make then with the same structure.
    Can you please paste your code which does the Import / Export. ?
    Regards,
    Naimesh Patel

  • Please help me regarding implemenatation of plsql webservices

    hello every one,
    My name is anil, I am working on the topic "building pl/sql web services". I successfully deployed my pl/sql function. But i got an error while invoking the function from a web service.
    my error is
    08/04/22 10:40:23 javax.servlet.ServletException: Cannot generate Class: java.lang.NoClassDefFoundError: com/sun/tools/javac/M
    ain
    Exception in thread "main"
    08/04/22 10:40:23 at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebService.java:569)
    08/04/22 10:40:23 at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:467)
    08/04/22 10:40:23 at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:614)
    08/04/22 10:40:23 at oracle.j2ee.ws.RpcWebService.doGetRequest(RpcWebService.java:725)
    08/04/22 10:40:23 at oracle.j2ee.ws.BaseWebService.doGet(BaseWebService.java:1199)
    08/04/22 10:40:23 at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    08/04/22 10:40:23 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    08/04/22 10:40:23 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:691)
    08/04/22 10:40:23 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    08/04/22 10:40:23 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    08/04/22 10:40:23 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    08/04/22 10:40:23 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.ja
    va:303)
    08/04/22 10:40:23 at java.lang.Thread.run(Unknown Source)
    please help me

    SowmyRaj wrote:
    But i am unable to run it successfully...please help me regarding this... No wonder. Script is full of entries:
    **MOBILE CODE**Modify script:
    1. Change:
    **MOBILE CODE** immediateto:
    execute immediate2. Change:
    **MOBILE CODE**to:
    end ifRun the script. If you will run it second time, change:
    u_exist PLS_INTEGER;
    t_exist PLS_INTEGER;
    ts_exist PLS_INTEGER;
    ss_exist PLS_INTEGER;to:
    u_exist PLS_INTEGER := 1;
    t_exist PLS_INTEGER := 1;
    ts_exist PLS_INTEGER := 1;
    ss_exist PLS_INTEGER := 1;This way existing objects will be dropped before recreating them.
    SY.

  • Regarding Job selection process/sm37

    what is difference bettwen Released and Ready state?

    Hi babu
                 released jobs are those jobs related to Infopackages which r running now.
    when comes to the ready state those jobs related to Infopackages which r ready to run next in the coming scheduled time

  • Can't stop a job from plsql 27486 - stops fine from sql

    Hi,
    I'm trying to create a simple package that will stop known jobs that the user owns. (Same user owns the jobs and the package)
    the code just does
    dbms_scheduler.disable('JOB_EMAIL_QUEUE', TRUE);
    dbms_scheduler.stop_job('JOB_EMAIL_QUEUE', TRUE);
    At stop_job I get
    ORA-27486 insufficient privilege
    ORA-06512 at "SYS.DBMS_ISCHED", line 164
    ORA-06512 at "SYS.DBMS_SCHEDULER", line 483
    Yet if I put the exact same code in an anon block it runs fine in sqlplus for the same user. The user holds the role SCHEDULER_ADMIN but I have now granted him execute access on both dbms_isched and dbms_scheduler.
    Whassup?
    Thanks,
    Steve

    Hi,
    I think what you're seeing is caused by the following two facts
    - a user must have the manage scheduler system privilege to stop a job with force=>true
    - definer's rights pl/sql stored procedures don't honour system privileges granted through roles. See
    http://download.oracle.com/docs/cd/B14117_01/appdev.101/b10807/08_subs.htm#sthref1072
    The simplest solution is to grant MANAGE SCHEDULER directly to the definer of the definer's rights stored procedure.
    Hope this helps,
    Ravi.

  • Regarding job in sap mm

    Hi all,
    my name is sagar and i am new to sap mm as well as sap scn.
    I am a civil engineer and having 7 years of exp in construction field but now i want to go for sap and completed my sap mm course from pune institute and now looking for a job. This institute has given me an avg training but not giving any interview calls(as they committed), they provide me fake documents of 2 years of exp with salary slip.
    help me that is it helpful to show 2 years of fake exp and can anybody justify that in interview and can anybody work actually if he cleares the interview.
    Please help me, what should i do and how can i get actual work exp by study.
    sagar

    Sagar Men wrote:
    Hi all,
    my name is sagar and i am new to sap mm as well as sap scn.
    I am a civil engineer and having 7 years of exp in construction field but now i want to go for sap and completed my sap mm course from pune institute and now looking for a job. This institute has given me an avg training but not giving any interview calls(as they committed), they provide me fake documents of 2 years of exp with salary slip.
    help me that is it helpful to show 2 years of fake exp and can anybody justify that in interview and can anybody work actually if he cleares the interview.
    Please help me, what should i do and how can i get actual work exp by study.
    sagar
    Let me get this clear - you have obtained fake documents to show your work history but don't understand why you can't get a job?
    This right here is what is so fundamentally broken in our wonderful global industry...
    Unbelievable.  Can't decide if I'm more annoyed that there are "institutes" so corrupt as to take advantage of people trying to get into SAP, or that individuals hope to obtain a career under false pretences.  Either way it stinks.

  • Regarding job

    sir i wish to do a oracle certification but iam currently doing final B.Tech I.T.my domain is to become a oracle dba administrator.is any job assurance for freasher in oracle after finishing the course.or the experience candidate are expected

    Hi,
    It is collecting data from a table and preparing an excel file and sending for every user in the table.
    Thanks,
    Jack

Maybe you are looking for