Batch Job to Turn ON/OFF BO 4.1 SIA

In our current BI architecture we have a batch file that turns ON/OFF the SIA when certain conditions are met, or not met, as the case may be.  I am trying to get it to work with our 4.1 implementation but it does not seem to work.  Can any one tell me what I am doing wrong.  this is in the batch file after we determine what we want to do.  I have confirmed getting to this point does work.  thanks
:Good
::psservice \\<server_host_name> start "crystal report job server"
net start BOE120SIA<server_host_name>
GOTO End
:NoGood
::psservice \\<server_host_name> stop "crystal report job server"
net stop BOE120SIA<server_host_name>
GOTO End
:End

Do you have permissions to stop the SIA? Are you using the account which has administrator access or valid rights to run batch files?
Can you run netstop from dos prompt just by itself?
Are you running the bacth file on the server where SIA exists or from some other place?

Similar Messages

  • Turn off Spool Printing for MRP Batch Job run

    Hi Experts,
    Please tell on how to turn off the printing of a Batch Job which is an MRP Batch Run. Can this be done while creating the Job? We really don't need the prinout for this job. Thanks.
    Points will be awarded.
    Regards,
    LM

    Yes, this can be done while scheduling a job. When creating a job step (transaction SM36) there is a button "Printer specifications". Select any printer there and option "Send to SAP spool". Spool request will be created but it won't be printed out.
    If you are using RMMRP000 program, you also might want to uncheck "Display material list" checkbox on the selection screen. If using other program, see if there is an option to disable the log.

  • Turn logging off for a roll off job

    Hi Everyone,
    We are running into an issue in one of our bw production systems.  Once a week we run a chain that deletes data that is past our required retention period. The infoproviders we are doing the data roll off on are quite large.  Most contain two years worth of transactional data.  We have been running into issues with this process because the transaction log keeps filling and the job gets rolled back.  In sm21 the errors are as follows:
    Database error -964 requires intervention by the database administrator
    Database error -964 at UPD access to table BTCCTL                      
    > SQL0964C The transaction log for the database is full.               
    > SQLSTATE=57011 row=1                                                 
    Perform rollback                                                       
    I am wondering if there is a way to turn logging off for this particular job.  We do not require the logging. I realize the rollback cannot occur without the logs, but we don't need the rollback to happen, because we want the data deleted.
    Any suggestions?
    Thanks
    Charla

    Hi Charla,
    I don't think turn logging off is the best way to resolve this problem. I'd suggest you contact your DBA/BASIS for the root cause of this issue. They will correct it with the most professional way
    Generally once we see SQL error or DB error we just ask for their help.
    Regards,
    Frank

  • When I open Safari, I keep getting the Jobs video from Tim. Once was OK.ow do I turn it off?

    When I open Safari, I keep getting the Jobs video from Tim. Once was OK.ow do I turn it off?

    First, go to the website that you wish to make your Home page.  Then click on Safari>Click on Preferences on the dropdown menu>Click on the "General" tab on top of the window which should be on your screen>click on the "Set to Current Page" button which is under the Home Page line.  This should solve the problem.

  • PFAL Batch job replication

    Hi,
    I am replicating the HR organisation structure from the HR system to the R/3 system. I have everything in place and I would like to create batch jobs to schedule it on a daily basis.
    Can you tell me how to schedule the PFAL so that it sends only the changed data to the R/3 system (and not all the organizations units).
    I mean if Org. Unit B has been modified, it should only send the Org Unit B data and not the data of Org Units A and C.
    In this way, I want less number of IDocs to be created and the process be a speedy one.
    All your answers would be highly appreciated and properly rewarded.
    Cheers,
    Sidhu.

    I think you would be better off to turn change pointer on for the message type so that all changes are recorded and therefore only these changes would be distributed.
    Rgds.

  • Where windows batch file lies which log off windows ?

    where windows batch file lies which log off windows ? wana log off my pc from java code

    grc.com has a program (very small) that does it. The program is called "wizmo" and is written in Assembly.
    If you are using Windows NT/2000/XP you can get a program in MS Windows Resource Kit called "shutdown.exe" but the program does only the shutdown job. You must manually turn the machine off.

  • How to write log information into SM37 batch job log

    Hi,
    I have a report running in batch mode, and I would like to log the start time and end time for some part of the code (different Function modules). I need to write this log information into the batch job log. Therefore I can check the time frame of my FMs.
    After search the SDN, I can only get some information on how to write log into the application log displayed in SLG1, but that's not I want. I want to write batch log information, and check it in SM37.
    If you have some solution or code to share, please. Thanks a lot.
    Best Regards,
    Ben

    Hi Nitin
    Thanks for the reply. Could you explain it with some code ?
    I tried to use the write statement , but it did not wrok. I could not see the result in SM37.
    write : "start of the FM1 processing".
    FM1 code
    write : "end of the FM1 processing".
    but those two statement did not show in SM37..
    1) how to use  a information message  ?
    2) how to use NEW PAGE PRINT ON and PRINT OFF command. ?
    I would appreciate if you can write some code ,that I can use directly.
    Thanks a lot.
    Best Regards,
    Ben

  • How to do equivalent of Mainframe batch jobs in Oracle

    Hi Everybody ,
    We are considering to move our application from mainframe to Oracle , our present day application relies heavily on mainframe batch jobs for report generation and other purposes, I was wondering what are the similar batch options we have in Oracle .Any feedback is most welcome.
    Thanks in advance ,
    Sanjay

    (Your question was posted to the forum dealing with Oracle's Application software so it's somewhat off topic.)
    However, Oracle does include a Job schedule capability (DBMS_JOBS) as part of the database, as well as other neat capabilities including a full blown Workflow and Message Queue - all built into the database.
    In addition, you might want to consider looking at the Oracle9i Application Server as that includes comprehensive (paper and web based) reports and (web based) ad-hoc query.
    Strongly urge you to contact a sales rep and ask for technical discussion on these capabilities.

  • Batch job with 2 conditions

    Hi,
    We have a program that will create a batch job and then we need to go to SM35 to run that batch job manually. We want to avoid this manual step and what we want to do is to as soon as our program runs it will create a batch job and then batch job should kick off automatically.
    One of the solution that came to my mind is to schedule a batch job with two conditions:
    1. in first condition it will run our main program
    2. and in 2nd step it will look out for the batch job that created in SM35 and will kick off that, but I am not sure how can i do this using Sm36.
    I was also wondering if there is another way so that we can just avoid the batch run for the second step?
    So can you please help me with this.
    Thanks,
    Rajeev

    SM35 -> batch sessions, so I assume you are talking about these.
    You can start sessions under program control by submitting program RSBDCSUB after creation of the session.
    Thomas

  • CC&B v2.3.1 - Updating SA status to Closed (out of box batch jobs)

    I was reading the online help for CC&B v2.3.1 and I keep reading that the system changes a stopped or reactivated SA (service agreement) status is changed to Closed once its balance is 0.
    I was wondering which out of the box batch job (batch control) would actually change the status to closed once the balance is 0? I can't seem to find this detail in any of the out of the box batch job descriptions.
    Thanks in advance :)

    You don't need to run a batch job to update SA Status to Closed - the system will update the Status to Closed once the SA no longer has a financial balance. This means that, if you make a payment of the whole outstanding balance for the SA, the Status will be updated when the payment is frozen (whether online or in batch). It is also possible for such an update to occur during write-off processing, because WO can take an outstanding balance and remove it from the SA.
    And just a note to say that SAACT selects only Pending Start and Pending Stop SAs, so will not process an SA that is already Stopped.
    Edited by: user816833 on 23 mai 2012 12:16

  • Error in Batch Job - Urgent

    Hi,
    Iam getting a Error
    " Error returning from function G_SET_FETCH,returncode 3"
    in a particular batch job, when i tried to understand where it arised from i found its from a Standard SAP program LSHL2F05 and if the FM  'HELP_VALUES_GET_NO_DD_NAME'  Fails, This Error Occurs.
    How to correct this Error???
    Regards,
    Anita

    Hi All,
    Thank You very Much for your response.
    I checked GS02 Transaction which is used to maintain SET ID's. The User entered the wrong SET ID and that was the problem. Now , Its fine.
    Rich, Thanks for turning my attention to SET ID. I was not looking at it at all and was looking at the Job log error message rather.
    Thank you Everyone.
    Regards,
    Anita

  • Spool not getting created in batch job

    Hello experts,
    We have a requirement of printing BA00, BA01 and LD00 from different application.
    We have done same code for all BA00, BA01, and LD00.
    Normally the code is working fine except in few cases, when batch job is created but spool is not created.
    DATA: job_name TYPE tbtcjob-jobname,
                  number   TYPE tbtcjob-jobcount,
                  print_parameters TYPE pri_params,
                  wv_pripar    TYPE pri_params,
                  wv_arcpar    TYPE arc_params,
                  wv_val       TYPE c VALUE 'X',
                  wv_false     TYPE c VALUE 'X',
                  gv_mandt     TYPE tsp01-rqclient,
                  gv_user      TYPE tsp01-rqowner.
              CLEAR: gv_mandt, gv_user, number.
              gv_mandt = sy-mandt.
              gv_user  = sy-uname.
              job_name = 'DELIVERY_PRINTING'.
              CLEAR: range1.
              range1-sign = 'I'.
              range1-option = 'EQ'.
              range1-low = 'LD00'.
              CLEAR: range1-high.
              APPEND range1 TO range.
              CALL FUNCTION 'JOB_OPEN'
                EXPORTING
                  jobname          = job_name
                IMPORTING
                  jobcount         = number
                EXCEPTIONS
                  cant_create_job  = 1
                  invalid_job_data = 2
                  jobname_missing  = 3
                  OTHERS           = 4.
              IF sy-subrc = 0.
                SUBMIT sd70av2a WITH  rg_kschl IN range
                                WITH  rg_vbeln IN deli_tab
                                TO SAP-SPOOL
                              SPOOL PARAMETERS print_parameters
                              WITHOUT SPOOL DYNPRO
                              VIA JOB job_name NUMBER number
                              AND RETURN.
                IF sy-subrc = 0.
                  CALL FUNCTION 'JOB_CLOSE'
                    EXPORTING
                      jobcount             = number
                      jobname              = job_name
                      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
                      OTHERS               = 8.
                  IF sy-subrc <> 0.
                  ENDIF.
                ENDIF.
                WAIT UP TO 10 SECONDS.
    ** to give the data to the printer***
    *            CLEAR gv_rqident.
                SELECT SINGLE listident INTO gv_listident FROM tbtcp
                              WHERE jobname = job_name
                               AND  jobcount = number.
              IF sy-subrc = 0.
                MOVE gv_listident to gv_rqident.
                CALL FUNCTION 'RSPO_OUTPUT_SPOOL_REQUEST'
                  EXPORTING
                    spool_request_id = gv_rqident.
              ENDIF.
    The same code is for all the output BA00, BA01 and LD00.
    The issue is that for few batch jobs (which is created in the above code) , spool is not getting created.
    Thanks and Regards,
    Paritosh Pandey

    Hi,
    The code starting from WAIT UP TO 10 SECONDS. - not only does it look attrocious, is error prone (if no free process for executing batch job is available for 10 seconds, or if the job runs for more than 10 seconds, what will happen...?), but seems utterly unnecessary... Is there any reason immediate spool output can not be handled by simply setting PRINT_PARAMETERS-PRIMM = 'X'?
    cheers,
    Janis
    Edit in:
    Ok, i just read Document in spool but not printed... Do not use an output device relying on frontend access methods to do printing from background processing. Frontend is not available during background processing, period. To my knowledge there is no easy, clean solution to this problem other than defining and assigning, per user, output devices not relying on frontend printing. What if the dialog user has logged off by the time batch job finishes..? May the spool remain unprinted?
    Has the SAP Basis refused to define output devices (I have hard time believing this...)? Well, tell them one time to stop being silly and if they do not cooperate, tell the owner of the requirement that it can not be implemented due to uncooperative Basis then... and that the users will have to keep going to SP01 and manualy start the output!
    Message was edited by: Jānis B

  • RM30: batch job to send surveys?

    Hi, Does anyone know off-hand the name of the batch job that has to be scheduled to make Risk Management 3.0 send surveys? Thanks.

    Hello Alex,
    you have to perform the Automatic Workflow customizing.
    Highlight "Maintain Runtime Environment" and press the red-white ball in left upper corner.
    The name of the job itself is SWWDHEX.
    Best,
    Jürgen

  • Recorded Actions and Batch jobs

    Photoshop has an Actions panel feature that allows you to record and save a set of commands (eg: resize an image to 400 x 600, then turn it black & white).  Anytime you want to perform the same set of commands, just select and run the saved Action.  In addition, Photoshop has a Batch jobs feature that allows you to select a directory of files and run the saved action on all files in the directory.  In this way, you could resize a thousand images to 400 x 600 and turn them all black & white with one click.
    Does Captivate have any similar capability?  I have about 3,000 swf files and I wish to set the preloader percentage on all of them to the same value. I would hate to open, edit, save, and close the files manually one at a time.  If this feature does not exist, can you guys think of an efficient way to accomplish the task?
    I have Captivate 5 but can upgrade if necessary.
    Thanks for the help

    Since you mention that you have both CPT and CPTX files it might be worth mentioning that your goal of just opening them, chaning the preloader percentage before save and close again might not work out as planned. 
    Have you considered the following issues?
    Are you intending to open the CPT files in the same version of Captivate that created them, or were you thinking of upgrading them to a later version such as Cp5.5?  If so, you'll need to do more than just change the preloader percentage.  You'll also need to change the path to the preloader itself since each version of Captivate is installed in a different directory in Program Files. 
    Were all of the CPT projects set up as AS3 with all AS3 components, or were some of them AS2 and therefore would need to be reviewed and tested to make sure upgrading to a Cp5x version did not have other impacts?  Projects that were set up as AS2 would need to change preloaders, skins, and any animations over to AS3 before the upgrade would be successful.
    CPT to CPTX files will also experience font size issues since the font rendering technology changed in Cp5x.  So you'll probably need to go through those projects and fix a lot of issues in text captions.
    And another one to watch out for:  After upgrading projects from CPT to CPTX the Continue button on the Quiz Results will often cease to work unless you remove and replace the Quiz Results slide.
    This is not a complete list of potential upgrade issues.  What I'm trying to sound here is a warning that, unless you use exactly the same version of Captivate that created them, making any changes to these files could turn into a much bigger job than you hope.  There could be weeks of work involved trawling through each project file one by one checking for issues.

  • Unwanted duplication of picture titles: how to turn this off!

    I had a batch of 42 photos and laboriously entered titles for each one. At about the 40th, I discovered the program had copied into all the picture titles the most recent title entered. So it had overwritten my work. I started over and entered titles again. This was not a synch action on my part and there were no efforts to have a repetitious action that might apply to the pictures included in my collection.
    I will understand this is probably some kind of "feature" but if so where do I turn it off? This is Lightroom 4 and involves both raw and jpg files.

    Affects not only "showing", but editing too.
    (with this option checked, keywords in grid mode still apply to all selected, but not title or caption...).
    Rob

Maybe you are looking for

  • 4S no longer recognized in Itunes but works for my husbands itunes on same computer

    I just tried to syn my 4s iphone to my Itunes account and itunes does not recognize my iphone.  I went through all the online help menues and even uninstalled all apple products and reinstalled.  It still does not recognize my iphone.  However, when

  • Scale in Property inspector

    Hi, I have recently got the Flash bug. To my regret, I experience some difficulties in mastering Flash. There are a few reasons. For example, one of them I am afraid that the help and tutorials of Flash do not cover all my enquiries on this program a

  • Recordset pages show up blank

    When my recordset is returned, the first page shows up perfectly. If I have, for example, 22 records, they will all show up on that page. But, if I restrict each page to 10 records, the first page shows up with 10 records, but the second and third pa

  • Help Needed: User exit for transaction IL01 and IL02

    Hi, First of all I would like to take you through my requirement. The requirement is: When I try to instal an equipment(EQ) at a functional location(FL) in SAP, I want to pass on the values of these two technical objects(EQ,FL) to an external system

  • Weblogic Server 8.1 SP4 "Deploy" tasks

    Since upgrading to SP4 on WL Server 8.1 the deployment task for our application is now taking twice as long as it did in SP2. Can anyone advise if there are any known issues with deployments.