BAT job

Hi all,
very quick and easy question. I need to update some DNs partition, however BAT only let me query DNs that are assigned to a phone or to User Profiles. I instead, want to change the partition to all of them.
I am trying this in a LAB environment where I have about 20 DNs and when I go for the update, I can only select (or actually see) only the DNs that are associated to a device, other DNs do not show up.
Any way I can get this done?
Thank you,
Frank

These are the database charactersets, NLS_LANG is a client setting,which may be different. You are on Windows, so NLS_LANG is set in the registry. I don't know the regional settings of your Windows versions, by default NLS_LANG corresponds to these settings, but I think even on a US-american Windows characterset is not set to US7ASCII. If I'm wrong and you already have US7ASCII (means identical to the database characterset), there must be another reason for the problem.
Werner
I think you need only 2 test scenarios, at the beginning of your batch file try
1) set NLS_LANG=american_america.US7ASCII
2) set NLS_LANG=american_america.AL32UTF8
Edited by: oradba on May 14, 2009 6:16 PM

Similar Messages

  • DS Job Monitor not showing executed .BAT job -did in DI 11.5

    When I kick off a job, in Data Services 3.1, through a bat file the job does not appear in the monitor tab of Designer. The job does execute, however you can only tell through Task Manager is that al_engine appears and there is a log file created. Now only way to kill executed job is ending the al_engine process.
    The exact same BAT file and corresponding job worked fine in Data Integrator 11.5, only when we upgraded to DS did the monitor stop working. Monitor does show Designer executed jobs though.
    My question: Does anyone know how I can view BAT executions through the monitor tab in DS Designer? Note: I do have the "Open monitor on job execution" checked in Tools>Options>Designer>General.

    Hi Kevin,
    Thx for the reply..
    Yes, there table comparison and parallel processing. and also, the volume of the data is huge.
    I mean, some of the tables has 130 million row records. It occurs when processing large loads.
    the strange thing at this point is; within old version there is no problem. The flows are the same..
    thx
    omer

  • Error on Executable (bat) job in scheduler on Windows

    I am receiving the following:
    ORA-27369: job of type EXECUTABLE failed with exit code: -51976600
    on a batch job that is submitted with Oracle scheduler. I have other jobs that are doing pretty much the same thing running successfully. However, I can't seem to find anything on the exit code and what it means. When I was setting up other batch jobs, I got much better information in the error codes/details.
    Can anyone point me in the right direction to decipher this exit code and what it means?
    My environment: DB is on a windows 2003 server.
    DB=10.2.0.3
    batch job is a via putty:
    echo "Copying to vsxi-bb for Blackboard ASP"
    echo off
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\Cat_Courses /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\USR_ALL /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\KNOWL.CSV /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\GEOCODE.CSV /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\ROLES /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\ORG /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\GROUPS /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\CRS_200920 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\CTG_MEMBERSHIP_200920 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\ENR_200920 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\STAFF_200920 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\CRS_200930 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\CTG_MEMBERSHIP_200930 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\ENR_200930 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\STAFF_200930 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\CRS_201010 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\CTG_MEMBERSHIP_201010 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\ENR_201010 /s BB_Push /
    sfxcl.exe /log bb_sftp.log e:\BB\PROD\STAFF_201010 /s BB_Push /
    exit
    Could it be authorization to anything? My other batch/excecute program (that works) references e:\dax successfully:
    echo "copy files to New DAX"
    echo off
    sfxcl.exe /log new_dax.log e:\DAX\* /s new_dax /
    echo "Move files from E:\DAX to E\Dax_Archive"
    echo off
    move e:\dax\* e:\dax_archive\
    TIA,
    DJM

    I have seen that this error - Wrong process return code generally comes when syntax are not correct. To correct that i would recommend run the syntax in the Windows system from Oracledi/bin path and check if the that works and once you get the correct syntax ,copy and paste the codes into the OS command and try that should work .
    Make sure you use the correct Agent .

  • ** Is it possible to run a windows .bat script job from ODI between server?

    Hello Friends,
    We have ODI 10.1.3.5 on a Win2003 Server.
    Have a windows Batch script job .bat(this is a related to a different program - DRM) on a different Windows 2003 server...is it possible to execute .bat job thru ODI between servers?
    Appreciate your suggestions...
    Thanks.

    Hi AJ,
    Here are more details:
    Server-A: ODI Server (Win2003)
    Server-B: Oracle DRM Server (Win2003)
    Server-C: ODI scheduler agent is installed (Linux)
    We have a .bat batch script job on Server-B which we are planning to run from Server-A (as part of the ODI package execution flow)
    This .bat job exports the DRM hierarchy data to a table that ODI uses to process next steps.
    So, you are suggesting to install ODI agent on Server-B? If we do that...not sure if there be issues if we have to run the package with other scenario's (interfaces/Procedures) that refer agent isntalled in Server-C??
    Any feedbacks are appreciated!!
    Thanks

  • How can I execute a doitatonce.bat from BC4J application

    Hi,
    I have an existing NT batch job script: doitatonce.bat. I need to execute it when a user click a "do it" button in a JSP page. Can anybody give me an idea how to do that? Any sample code I can borrow?
    Thanks a lot!
    Dawson

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Dawson Yang ([email protected]):
    Hi,
    I have an existing NT batch job script: doitatonce.bat. I need to execute it when a user click a "do it" button in a JSP page. Can anybody give me an idea how to do that? Any sample code I can borrow?
    Thanks a lot!
    Dawson<HR></BLOCKQUOTE>
    Is the .bat job to be run on the client or on the server side?
    If the former, some sort of javascript, but I wouldn't know how to do that.
    If the latter, a simple form sending a post to the JSP that either uses an inline scriptlet call to something like Runtime.getRuntime().exec(String)
    or (better) a call to a bean that does the same.
    Cheers, Malte
    null

  • Extension mobility logout issues UCM v 6.1

    Hi, I am using UCM v6.1, with a Pub and Sub. I have deployed handsets out using auto-reg. I have created user device profiles and associated those the users. I have subscribed the services to the autoregistered phones by using BAT to bulk update , using bulk admin->phones->update phones->phones query.
    The users press the services key and have the extension mobility and logout options. They can login to their Device profiles ok but when I attempt to log them out i receive an error on the lcd "logout unsuccessful [6] database error".
    I have attempted to locate the actual device and log the user out manually using the CCMadmin GUI, however i receive a message ,
    "Error occurred while retrieving information from database. No LOGOUT device profile".
    According to the documentation, wgen selecting a log out device profile you choose "use current device settings". I left this as default when bulk updating the phones.
    I have restarted the extension mobility service on Publisher and Subscriber, and have also shutdown the servers and rebooted - but to no avail.
    I am doing something fundamentally wrong or could this be a bug? I have found a few in v6.0, which is why i upgraded to 6.1. thanks.

    Hi Stuart,
    It does sound like this bug (somewhat);
    CSCsj33055 Bug Details
    bulk insert phone or UDP does not add phone service if no svc parameters
    Symptom:
    Insert UDP fails to insert IP Phone Service if there are no parameters to all
    Device Profiles.
    Conditions:
    'Insert UDP' in Bulk Administration Tool [BAT] doesn't insert IP Phone Service
    for all the Device Profiles if no parameter is defined on the Phone Service.
    This also happens when the UDP template is not subscribed to the Phone Service.
    And this Insert UDP works fine in inserting the IP Phone Service to all DPs if
    you are doing one record at a time, it fails if you do it in a BULK.
    Workaround:
    For Device Profiles:
    1. Using a template
    - Add a dummy parameter to the EM service. Save it and click on Update
    Subscriptions.
    - Subscribe EM service on the UDP template. Ignore if already done.
    - Upload the Insert file for specific details transaction.
    - Submit a job with the uploaded file and the UDP template on which EM is
    subscribed.
    2. Using a CSV file
    - Add a dummy parameter to the EM service
    - Specify this dummy parameter with blank values in the CSV. Sample file below
    - Upload the Insert file for specific details transaction and submit a job
    Once you have inserted DPs, you can go to IP phone service page, select the EM
    service. Delete the dummy parameter and click update subscriptions.
    sample:
    DEVICE PROFILE NAME,DESCRIPTION,DIRECTORY NUMBER 1,SERVICE NAME 1,SUBSCRIBED
    SERVICE NAME 1,SUBSCRIBED SERVICE NAME ASCII 1,PARAMETER NAME 1,PARAMETER VALUE 1
    DP-1,DP1,2001,Extension Mobility,Extension Mobility,Extension Mobility,dummy,
    DP-2,DP2,2002,Extension Mobility,Extension Mobility,Extension Mobility,dummy,
    For phone devices:
    1. create bat phone template and subscribed it to the EM service
    2. define an update phones job:
    enable extension mobility
    log out profile: use current device settings
    add services from this teamplate: run immediatelyMake sure to check the box to the left of the line item in the BAT job definition. That signifies to BAT that wish to synchronize all selected phones to the value specified.
    I would open a TAC Case.
    Hope this helps!
    Rob

  • File doesn't exist e:\as_apps\apache\apache\htdocs\index.html

    I have a OracleAS 10g server setup and I placed the this in the CGICMD.DAT file
    cgicmd.dat file
    I put this in the cgicmd.dat file in the Apps home and the reports/forms home.
    hpl: destype=cache server=rep_cte07 userid=hplwebr/internet@hplprd %*
    cscprd: destype=cache server=rep_cte07 userid=internet/reports@cscprd %*
    cscdev: destype=cache server=rep_cte07 userid=bat/job@cscdev %*
    In the rep_cte07.conf File I made these changes and it was in both places.
    <engine id="rwEng" class="oracle.reports.engine.EngineImpl" initEngine="1"
    maxEngine="1" minEngine="0" engLife="50" maxIdle="30" callbackTimeOut="60000">
    <property name="sourceDir" value="E:\GMCD_web_reports"/>
    <property name="tempDir" value="c:\temp"/>
    And put the patch to the reports in the my rep_cte07.conf file but when I run the reports the screen gets white and stays that way.
    The error file only states this:
    [Tue Dec 28 07:00:10 2004] [error] [client 127.0.0.1] [ecid: 1104235210:172.25.94.105:1908:12772:865,0] File does not exist: e:/home_apps/apache/apache/htdocs/index.html
    [Tue Dec 28 07:00:30 2004] [error] [client 127.0.0.1] [ecid: 1104235230:172.25.94.105:1908:12880:923,0] File does not exist: e:/home_apps/apache/apache/htdocs/index.html
    [Tue Dec 28 07:00:50 2004] [error] [client 127.0.0.1] [ecid: 1104235250:172.25.94.105:1908:12948:910,0] File does not exist: e:/home_apps/apache/apache/htdocs/index.html
    [Tue Dec 28 07:01:10 2004] [error] [client 127.0.0.1] [ecid: 1104235270:172.25.94.105:1908:14136:901,0] File does not exist: e:/home_apps/apache/apache/htdocs/index.html
    [Tue Dec 28 07:01:30 2004] [error] [client 127.0.0.1] [ecid: 1104235290:172.25.94.105:1908:12948:911,0] File does not exist: e:/home_apps/apache/apache/htdocs/index.html
    [Tue Dec 28 07:01:50 2004] [error] [client 127.0.0.1] [ecid: 1104235310:172.25.94.105:1908:4060:932,0] File does not exist: e:/home_apps/apache/apache/htdocs/index.html
    [Tue Dec 28 07:02:10 2004] [error] [client 127.0.0.1] [ecid: 1104235330:172.25.94.105:1908:3656:911,0] File does not exist: e:/home_apps/apache/apache/htdocs/index.html
    [Tue Dec 28 07:02:30 2004] [error] [client 127.0.0.1] [ecid: 1104235350:172.25.94.105:1908:1380:900,0] File does not exist: e:/home_apps/apache/apache/htdocs/index.html
    Can anyone please help me out.
    Thanks, so much

    Hi,
    I saw the same problem once I changed the docRoot of apache. in one of the opmn config file I saw reference to this index.html. I workedaround it by adding empty index.html to the docRoot.
    Best,
    EA

  • New Process Server / Agent Required?

    Hi,
    I am wanting to expand the abilities of CJS by executing OS (windows/unix) jobs on various servers. I am just not sure how this is facilitated. I already have a process server and repository on the same server that schedules SAP jobs as well as some .bat jobs on that server. I went down the path of installing another process server (perhaps this is wrong) on a different server (call it NEWSERVER) using the cr602-win-x86.exe file downloaded from Service Marketplace. It seemed to install ok but when I go to the Redwood Explorer connected to the original process server/repository and try to add a new scheduler I recieve the message: "JCS-00255: maximum number of schedulers exceeded".
    I guess I have two questions. Am I going down the correct path to allow running OS jobs on server NEWSERVER? Am I running into a license problem with the JCS-00255 message? Thanks,
    Kind Regards,
    David Carr

    Hi David,
    This seems to be a license issue indeed. Your installation approach is OK.
    You are using standalone version v6, my guess is you are using it with the free license. This only allows one process server, which would explain the message.
    If you are using an enterprise license, then the number of process servers as defined in your license is reached.
    Regards,
    Anton Goselink.

  • Build and load error

    While running the bat job for build and load i got this error Failed to select any new views or all views that you requested to build exist already.
    I guess it is build error . Please let me know where i should look and what is the cause of this error.

    Your build contains one of the following commands...
    execute aggregate selection
    execute aggregate process
    execute aggregate build...to select aggregate views based on specified criteria (without your script I can't tell what they are). However, all the views selected already exist.
    You can make the error go away by clearing the aggregate views (alter database app.db clear aggregates) before selecting / building new views, but that seems a waste of time in this scenario. Unless your whole process is really fast anyway in which case it doesn't matter.
    In my opinion, it's not really an error (I wish it was only a warning but I'll save you my grumbling). You could use IFERROR to just ignore an error on that particular statement, the only problem being that with MaxL's limited error handling you won't be able to distinguish a real error (running out of space while building the aggregations, say) from this 'problem'.

  • Extracting Files from ZIPped Downloads

    I'm new to Oracle. I've downloaded Oracle Enterprise Manager (OEM 2.1) for NT as both a single download and then as 13 separate zip files. WINZIP reports an error on the 1 big ZIPped file and then missing 200MB+ when opening oem21_013.zip. The downlaod instructions refer to a program called "unzip". I've never heard of "unzip".
    What am I missing here?
    TIA

    Resolved: I decided to try downloading something else and this download area said to run the "put it all together" .bat job. That did the trick. Don't know why the one big download didn't work and at this point, don't care.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Robert Petrie ([email protected]):
    I'm new to Oracle. I've downloaded Oracle Enterprise Manager (OEM 2.1) for NT as both a single download and then as 13 separate zip files. WINZIP reports an error on the 1 big ZIPped file and then missing 200MB+ when opening oem21_013.zip. The downlaod instructions refer to a program called "unzip". I've never heard of "unzip".
    What am I missing here?
    TIA<HR></BLOCKQUOTE>
    null

  • Automation of Smartview Connectivity check

    Hi Friends,
    I have few Smartview URLs ( http://server:port/workspace/SmartViewProviders, http://server:port/hfmofficeprovider/hfmofficeprovider.aspx ) using which I use sometimes to check only connectivity through MS Excel.
    Is there any way I can automate this Smartview connectivity check (any command line option, any Web-Url access method etc. which can be automated.)
    ----Sunny

    Sunny,
    Check and see if the EPM validate tool give you the information you seek.  If so you can schedule the .bat job for checks.   http://docs.oracle.com/cd/E17236_01/epm.1112/epm_install_1112200.pdf p.303.  There are URL checkers (3rd party as well.

  • CUCM 9.1 When pressing Messages button it shows select service

    Hi there,
    Just finished a migration from BE5K to BE6k and I have some phones with issues accessing the voicemail by pressing the Messages button. they receive a message that says Select Service. this was working before the migration off course!
    do you have any idea why this could be happening ?
    I forgot to add the version of CUCM that I'm running is 9.1 (Latest)
    Thank you

    This will happen anytime there is more than one Phone Service of Messages type subscribed to the phone. This can either happen globally using the Enterprise Subscription option; or, on the phone itself. I have seen this happen with BAT jobs where the phones were imported more than once and their config was overwritten but the separate checkbox to delete existing subscribed services was not selected.
    Check your services and delete any duplicates. If there aren't any then check the phone itself for a duplicate and clear it out.
    Please remember to rate helpful responses and identify helpful or correct answers.

  • Execute SSIS Package from JOB which contains Execute Process Task calling a .bat file

    Hi All,
    I have a EXCEL Macro needs to be called from SSIS. We could not use Script task because of some internal reason.
    So we have taken an approach to call a .BAT file using Execute Process Task. This .BAT file will call a .VBS file which will execute the EXCEL Macro.
    The SSIS Package is running good if I execute the package from BIDS.
    But the real problem is with the scheduling this SSIS Package using SQL JOB.
    If i execute this SSIS package from SQL Server Job, its executing the whole package successfully except the Execute Process Task.
    So the overall issue is SQL Server Job is not executing properly if I call any .BAT file from the SSIS Package.
    Please give me suggestion to get rid of the issue. Thanks in advance.

    Hi Sai.N,
    If you run the SQL Server Agent job manually from SSMS, does the package execute properly? If the package executes properly when you run the job manually, the issue should occur due to permission issue. In this case, I suggest that you create a SQL Server
    Agent proxy based on the current Windows account which you use to log onto the operating system, and run the job under the proxy account.
    If it is not the issue, please enable logging in the package as Visakh mentioned and post the warning/error message for further analysis.
    Regards,
    Mike Yin
    TechNet Community Support

  • Bat file for running scheduled jobs

    Hi
    I am not entirely sure whether this is the correct forum to post this question, so apologies if I have posted this question in the wrong place.
    Anyhow, I would like to know how to create two automated bat file scripts that will execute a PL/SQL package that will tell my Oracle 10g R2 database to run a scheduled job. Equally, I need another bat file to tell it to drop the scheduled job.
    I already have a PL/SQL package that creates a schedule job using dbms_scheduler, and I can execute the scheduled job by going into SQL Plus running the execute command against the package. It is this latter bit, the execute part that I want to automate into bat file.
    Can someone show me how to do this?

    I'm in complete agreement with Hans. Oracle has two facilities DBMS_JOB and DBMS_SCHEDULER neither of which benefits in any way be being called by a batch file.
    What is your version number (all of it) and why are you considering this idea?

  • .bat or .sh file for executing jobs in data services

    are there any command line utilities where i can import the .atl files and executes the jobs in data services
    i was able to import the .atl files using 'al_engine' but not able to find the arguments to execute the jobs.
    Here is my requiremen:
    There would be 2 master scripts :
    Master_Initial_Script.bat/.sh - This would have all the pre/post checks and would call the DS Initial Job
    Master_Delta_Script.bat/.sh - This would have all the pre/post checks and would call the DS Delta Job
    Pre-Checks for Delta Job -
    If the initial job is not loaded then
                    Do not move further to execute the Delta job
    else
                    Execute the Delta job
    Post Checks for Delta Job:
    Print the statement when the job starts successfully,
    Checks the error/return code and prints Job success message in a log file

    This looks more like scheduling the job with dependency.
    Unfortunately, BODS scheduler doesnt support setting depedencies for running the jobs.
    So, the best way to go forward is export the jobs to a batch files in a particular location.
    Use the batch files with a external scheduling tool and set the dependency.
    A scheduling tool such as Control M or Redwood chronacle scheduler should be able to execute the batch files.
    Set the dependency in the scheduling tool accordingly.
    Let me know if you need any more details.
    Regards,
    Kishore Reddy L.

Maybe you are looking for

  • Synchronous 4xAI, 3xAO over RTSI

    Hello! My task is to control a hardware with 3 AO channels an read back produced data at 4 (minimal 1) AI channel simultaniously. I´ve got two PCI-cards: PCI NI 6711 for one of the AO channels and a PCI NI 6110 for the rest. Both are connected over R

  • My uploads to Facebook fail with Unknown Error

    Every attempt to upload my projects to Facebook fail with the message "Error, Unknown Error" message. I have tried projects from 15 down to just 5 minutes. I have tried projects with 6 down to just 1 clip. I have tried wireless and wired connections.

  • Exchanging data with C-DLL via arrays

    hi I'm trying to implement a program in java that reads audio data and sends it over the network (netmeeting clone). to reduce the bandwidth I want to use the G723 audio codec, from which I have an ansi-c implementation. Concerning the exchange of da

  • Data Transfer using LSMW IDOC processing with multiple segments

    we need to post the document data (Header structure, BP item structure, G/L item structure..etc) using LSMW IDOC processing. is it possible to transfer data for all these structures (Segments) in single file?

  • Exporting a double page spread and the PDF ends up blank?

    I've created a double page spread as part of my university portfolio and wish to export this. Although when I export to a PDF the file is blank. I've tried changing everything and watching many videos but I can't seem to find the problem? I using CS6