Error Excuting Host command in Forms6i

Hi,
Can anybody help me? I have a statement that runs a sqlscrip at DOS. But I it doesn't work, I can't see the error,
This is the statement
host('\\ccsclapp\developer$\PLUS33W.EXE prod/prod@prod
@\\ccsclapp\developer$\fs_reposicion.sql &:control.trf_desde
&:control.trf_hasta',NO_SCREEN);
and this is de script:
set feedback off
set termout off
set echo off
set verify off
set heading off
set linesize 200
set pagesize 0
SPOOL c:\reposicion.csv
SELECT ' SKU'||'|'||
'SLOT'||'|'||
'Distr.'||'|'||
'Unid.'||'|'||
'BulDesp'||'|'||
'Existencia'||'|'
FROM DUAL
UNION
SELECT RTRIM(P.PRD_LVL_NUMBER)||'|'||
RTRIM(A.DET_SLOT)||'|'||
NVL(W.TRF_DIST_PAK,1)||'|'||
RTRIM(SUM(B.DET_QTY_UPC))||'|'||
RTRIM(ROUND((SUM(B.DET_QTY_UPC)/C.VPC_CASE_QTY),1))||'|'||
RTRIM(I.ON_HAND_QTY)||'|'
FROM DETMSTEE A, DETTRFEE B, VPCPRDEE C, PRDMSTEE P, INVBALEE I,
WHSPRDEE W
WHERE A.PRD_LVL_CHILD = B.PRD_LVL_CHILD
AND A.PRD_LVL_CHILD = C.PRD_LVL_CHILD
AND I.PRD_LVL_CHILD = P.PRD_LVL_CHILD
AND P.PRD_LVL_CHILD = A.PRD_LVL_CHILD
AND A.PRD_LVL_CHILD = W.PRD_LVL_CHILD(+)
AND C.VPC_ACTIVE_FLAG = 'T'
AND C.VPC_PRIMARY_FLAG = 'T'
AND NVL(C.VPC_CP_DSD,'F') = 'F'
AND I.ORG_LVL_CHILD = 105
AND I.INV_TYPE_CODE = '01'
AND TO_CHAR(B.DET_TRF_NUMBER) > &V_1
AND TO_CHAR(B.DET_TRF_NUMBER) < &V_2
GROUP BY A.DET_SLOT, P.PRD_LVL_NUMBER, I.ON_HAND_QTY, C.VPC_CASE_QTY,
NVL(W.TRF_DIST_PAK,1)
ORDER BY 1;
SPOOL OFF;
EXIT;
Enter value for v_1:
User requested Interrupt or EOF detected.

Get rid of the NO_SCREEN to test it. This will show yu the dos screen and you might find out why it is failing.

Similar Messages

  • Host command in forms6i

    I used the command Host(mycmd, No_Screen) to export my data in dmp file.
    This command works fine but my code (plsql) continue while the command is running.
    I want that the next command (pl/sql) wait till the host command terminate.
    How to do that ?
    In fomrs5 this works perfectly !
    My config is : WIN98/Forms6i
    Thanks

    Hi Sonia!
    Another, but maybe a dirty, solution is
    to create an ms dos bat file, let's say 1.bat, with the
    following lines:
    del c:\test.txt
    exp pp/pp ...
    echo 1 > c:\test.txt
    Then use host command to call it and loop
    after it. This loop will be checking if
    1.bat finished and if it created file
    c:\test.txt:
    declare
    in_file Text_IO.File_Type;
    begin
    host( '1.bat', no_screen );
    loop
    in_file := Text_IO.Fopen('c:\test.txt', 'r');
    if form_success then
    exit;
    end if;
    end loop;
    end;
    Hope, this will help.
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000 http://www.brainbench.com
    null

  • Host command on linux with forms 10g

    Dear Experts
    i have one major problem as i have made a form in forms 10g to upload .dmp files copied in application server my problem is that when i excute host command like bellow
    cmdln := './imp.sh'
    host(cmdln)
    to excute and run shell script saved on application server which runs an imp command to upload all files copied in specified location but nothing is happening when i click on button as these command are fired on when button click trigger plzzz help its urgent
    were i can make mistake

    Whoa...please don't use txt speak when posting here; it is very hard to read and right now it took me about 5 minutes to understand what you have written. Please write proper sentences; help us to help you ; )
    It is a good idea to have exact the same verison of exp / imp then your database version; Forms 10.1.2.0.2 would be compatible with a 10.1 database. If your database is e.g. 10.2 you'd need to install the 10.2 client software on your application server anyway. You wouldn't need to care about this when using datapump.
    And another thing regarding datapump: conventional export is deprecated in 11.2 so one day or another your customers will need to move to datapump; the sooner the better.
    As said: try to run your script on the shell without forms and see if this works. You would see error messages generated by your shell script too.
    cheers
    Edited by: christian erlinger on 19.05.2011 01:14
    that damn smileys don't work anymore

  • Host command in rman

    I have many oracle databases on two different sun servers.
    In RMAN script I am copying some files (like password, tnsnames etc) by using host command. It works fine on one sun box but on other I am getting this error
    host command complete
    released channel: d1
    RMAN-00571: ===========================================================
    RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
    RMAN-00571: ===========================================================
    RMAN-06135: error executing host command: Additional information: 512
    Additional information: 4
    This error I got when I run it via oracle schedular. If I run on command propmt it ask me to enter ORACLE_SID for each 4 times (I have four host commands) and after entering that it is fine.
    As my knowledge in oracle + unix is less but it looks to me that it might be some environmental variables settings. Can anyone get rid of this error. Thanks

    According to oracle note 75003.1
    Where are oraenv and coraenv found and how do they get created on various
    Unix platforms?
    These scripts are used to allow the DBA to set a common environment
    for all users and make it easier for users to move between databases.
    By setting the variable "ORAENV_ASK" to yes, the user will be
    prompted to enter the <SID> value of the database they would like to
    access. If "ORAENV_ASK" is set to no, the current value of "ORACLE_SID"
    will be used.
    Next, the script 'dbhome' is called to determine the "$ORACLE_HOME"
    for that SID and set "$ORACLE_HOME" to the corresponding value.
    'dbhome' will also add "$ORACLE_HOME/bin" to the user's PATH and
    on some platforms (such as Digital UNIX), it will run "ULIMIT".
    These scripts can usually be found in:
    /usr/local/bin, $ORACLE_HOME/bin HP-UX
    /usr/bin, $ORACLE_HOME/bin Solaris, AIX
    Both oraenv and coraenv are created during install and copied to
    your "/usr/local/bin" when "root.sh" is run during post installation
    steps.
    Use oraenv when you are using the Bourne and Korne Shells.
    Use coraenv when you are using the C shell.
    These scripts perform the same functions, but are designed
    for the different shells.

  • Within SQL*Plus, get error code of host command

    Hello everyone,
    I am currently writing an SQL*Plus (Oracle 10g) that has a big logic and somewhere in the middle, I have to call a host command, which is an C++ function.
    I call it using
    SQL> HOST cd
    SQL> HOST cd bins
    SQL> HOST ./my_procedureBut, I need to get the return code of my procedure to see if it finished correctly?
    I checked [the manual|http://download.oracle.com/docs/cd/B19306_01/server.102/b14357/ch4.htm#sthref883] but they don't say anything about return codes.
    When I try:
    SQL> host echo $?
    0It always returns 0, even if I SIGTERM or SIGKILL the child process. Anyone has an idea on how is it possible to retrieve the return code?
    Thanks

    user13117585 wrote:
    Hello guys and thanks for your answers.
    Let me tell you a little more about my problem... I have a 3 steps process. The first step is done in the database. It updates a few tables. Then, when that step successfully ends, I need to start a second step. That second step is done on the server where I have my SQL Plus session. Because I actually have 2 different machines. The first one is where the database is running and the second one where I have SQL Plus (Oracle client 10g) and the program that I have to start in this second step. Then, once this process is finished and his return code is 0, then I have to execute the third step in the database.
    Basically, I wanted to have something like:
    VARIABLE returnCode
    BEGIN
    :returnCode := some_package.do_step_1;
    -- do whatever I want with returnCode.
    EXCEPTION WHEN ...
    END;
    HOST execute_external_program
    BEGIN
    IF external_job_succeed THEN
    some_package.do_step_3
    END IF;
    EXCEPTION...
    END;
    /I wanted to use the Oracle Scheduler to create an EXTERNAL JOB. The problem is that the external program is not deployed on the same machine as the database.I know that on 11g, we have external remote jobs. But I'm on 10g and I have no agent on the server where the external program is. So, what are my options? SQL*Plus and the host command... Or I can also write a bash script to do that... Or any hight level programming language...
    Any other idea?
    Thanks again guys,move functionality of second step into PL/SQL procedure resident inside DB.

  • How to simulate HOST command from DB Procedure

    Hi,
    I'm using Oracle 9.2 database on Win2000 PC.
    I need to start .bat file from a database procedure. More generaly how to simulate HOST command that I'm using from Forms6i.
    Thanks,

    Thanks for the reply,
    But, I am able to successffuly execute HOST from SQL+
    only from the PC where the database is, not from the client. My .bat file is on the server side.
    From the procedure I was not able to run it in either cases
    Procedure TEST
    IS
    BEGIN
    EXECUTE IMMEDIATE 'host C:\MYBATCHFILE.BAT'
    END;
    returns ORA-00900 INVALID SQL STATMENT
    with EXECUTE IMMEDIATE '$ C:\MYBATCHFILE.BAT' returns Invalid Character Error.
    BR,

  • HOST command in Forms9.0.4 versions with 10g

    Hi,
    We are currently running forms6i(character based) on a unix m/c . While trying to upgrade to forms9i (web based) , we find that the HOST command used to call shell script is not wrking and also it doen't shows any errors during compilation or runtime ..Pls suggest how to use HOST command in 9i web based to call a shell script.
    Would appreciate an early response..
    Thanks and regrds ,
    Pooja

    Hi Arun ,
    Thanks for ur response . But when i use client_host , i m getting compile time error as Client_host must be declared . I m using the command as client_host('/ics/users/ics/test.sh') , where test.sh is the script i want to execute . In our developer suite , there is a forms folder which in turn contains webutil folder ..Am i suppose to put shell script there so that it can be called from there ?
    Pls suggest me as how to go abt it..
    Thanks n Regards ,
    Pooja

  • Error MSB3073: The command exited with code -1

    I am getting this error while deploying the biztalk project from visual studio using Deployment Framework for Biztalk (BTDF).
    Please guide me what needs to be done. Here's the code :-
    <?xml version="1.0" encoding="utf-8"?>
    <!--
    Deployment Framework for BizTalk
    Copyright (C) 2008-14 Thomas F. Abraham, 2004-08 Scott Colestock
    -->
    <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Installer" ToolsVersion="4.0">
    <PropertyGroup>
    <Configuration Condition="'$(Configuration)' == ''">Debug</Configuration>
    <Platform Condition="'$(Platform)' == ''">x86</Platform>
    <SchemaVersion>1.0</SchemaVersion>
    <ProjectName>HelloWorld</ProjectName>
    <ProjectVersion>1.0</ProjectVersion>
    <IncludeOrchestrations>False</IncludeOrchestrations>
    <IncludeTransforms>False</IncludeTransforms>
    <IncludeSSO>True</IncludeSSO>
    <UsingMasterBindings>True</UsingMasterBindings>
    <RequireXmlPreprocessDirectives>False</RequireXmlPreprocessDirectives>
    <ApplyXmlEscape>True</ApplyXmlEscape>
    <SkipIISReset>True</SkipIISReset>
    </PropertyGroup>
    <PropertyGroup>
    <!-- Properties related to building an MSI for server deployments -->
    <!-- BizTalk App Version Upgrade -->
    <!-- For each new product release to be deployed to your BizTalk servers: -->
    <!-- 1) Increment ProductVersion -->
    <!-- 2) Generate a new GUID and update ProductId with the new GUID -->
    <!-- This allows the new MSI to automatically uninstall (not undeploy!) the old MSI and install the new one. -->
    <ProductVersion>1.0.0</ProductVersion>
    <ProductId>084986b1-d675-4383-b0ed-da2e3f4e3998</ProductId>
    <!-- BizTalk App Version Upgrade -->
    <ProductName>HelloWorld for BizTalk</ProductName>
    <Manufacturer>Deployment Framework User</Manufacturer>
    <PackageDescription>HelloWorld</PackageDescription>
    <PackageComments>HelloWorld</PackageComments>
    <!-- NEVER change the ProductUpgradeCode. -->
    <ProductUpgradeCode>4975288c-1b94-4d42-868b-f166cdc02224</ProductUpgradeCode>
    </PropertyGroup>
    <!-- Under TFS Team Build, set CustomizableOutDir property to true in TFS 2005/2008/2010 UpgradeTemplate. -->
    <!-- With a workflow build, copy the default template then modify the MSBuild task for the solution build. Set OutDir to blank and -->
    <!-- CommandLineArguments to String.Format("/p:SkipInvalidConfigurations=true;TeamBuildOutDir=""{0}"" {1}", BinariesDirectory, MSBuildArguments). -->
    <PropertyGroup Condition="'$(Configuration)' == 'Debug'">
    <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
    <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Debug\</OutputPath>
    <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
    <DeployPDBsToGac>false</DeployPDBsToGac>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)' == 'Release'">
    <DeploymentFrameworkTargetsPath>$(MSBuildExtensionsPath)\DeploymentFrameworkForBizTalk\5.0\</DeploymentFrameworkTargetsPath>
    <OutputPath Condition="'$(TeamBuildOutDir)' == ''">bin\Release\</OutputPath>
    <OutputPath Condition="'$(TeamBuildOutDir)' != ''">$(TeamBuildOutDir)</OutputPath>
    <DeployPDBsToGac>false</DeployPDBsToGac>
    </PropertyGroup>
    <PropertyGroup Condition="'$(Configuration)' == 'Server'">
    <DeploymentFrameworkTargetsPath>Framework\</DeploymentFrameworkTargetsPath>
    <!-- Get our PDBs into the GAC so we get file/line number information in stack traces. -->
    <DeployPDBsToGac>true</DeployPDBsToGac>
    </PropertyGroup>
    <ItemGroup>
    <PropsFromEnvSettings Include="SsoAppUserGroup;SsoAppAdminGroup" />
    </ItemGroup>
    <!-- !!! TODO !!! -->
    <!-- Add ItemGroup elements that contain one or more Schemas, Orchestrations, Transforms, etc. elements that describe -->
    <!-- the specific artifacts in your solution that need to be deployed. Use IntelliSense as a guide. -->
    <ItemGroup>
    <Schemas Include="HelloWorld.dll">
    <LocationPath>..\$(ProjectName)\bin\$(Configuration)</LocationPath>
    </Schemas>
    </ItemGroup>
    <!-- !!! TODO !!! -->
    <Import Project="$(DeploymentFrameworkTargetsPath)BizTalkDeploymentFramework.targets" />
    <!--
    The Deployment Framework automatically packages most files into the server install MSI.
    However, if there are special folders that you need to include in the MSI, you can
    copy them to the folder $(RedistDir) in the CustomRedist target.
    To include individual files, add an ItemGroup with AdditionalFiles elements.
    -->
    <Target Name="CustomRedist">
    </Target>
    </Project>
    Error :-
    Starting build...
    C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" /nologo /t:Deploy /p:Configuration=Debug
    Build started 08-04-2015 17:43:51.
    Project "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" on node 1 (Deploy target(s)).
    SetModeDeploy:
    DEPLOYING APPLICATION TO BIZTALK...
    SetWinVer:
    Running on Windows V62
    Detected IIS 7
    Detected 64-bit OS
    GetSoftwarePaths:
    Using .NET Framework Install Path 'C:\Windows\Microsoft.NET\Framework\v4.0.30319'.
    Using BizTalk Install Path 'C:\Program Files (x86)\Microsoft BizTalk Server 2013\'.
    Using Deployment Framework Install Path 'C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\'.
    Using Deployment Framework Tools Path 'C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools'.
    Using BizTalk ESB Toolkit Install Path 'C:\Program Files (x86)\Microsoft BizTalk ESB Toolkit\'.
    ExportSettings:
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\EnvironmentSettingsExporter.exe" "C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\SettingsFileGenerator.xml" "C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings"
    Environment Settings Spreadsheet to XML Exporter 1.6.1
    [http://EnvSettingsManager.codeplex.com]
    Copyright (C) 2007-11 Thomas F. Abraham. All Rights Reserved.
    Importing from SettingsFileGenerator.xml...
    Output format is XmlPreprocess (multi-file).
    Exporting to Exported_LocalSettings.xml...
    Exporting to Exported_DevSettings.xml...
    Exporting to Exported_TestSettings.xml...
    Exporting to Exported_ProdSettings.xml...
    Finished.
    InitSettingsFilePath:
    Using settings file C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml
    SetPropertiesFromEnvironmentSettings:
    Setting properties from environment settings file (C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml)
    Setting property to value 'BizTalk Application Users'.
    Setting property to value 'BizTalk Server Administrators'.
    InitializeAppName:
    BizTalk Application Name is HelloWorld
    PreprocessBindings:
    Checking syntax of XML file 'C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindingsMaster.xml'...
    Syntax of XML file 'C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindingsMaster.xml' appears to be valid.
    Clearing file attributes for 'PortBindings.xml'.
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\xmlpreprocess.exe" /v /c /noDirectives /i:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindingsMaster.xml" /o:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" /d:CurDir="C:\BTDF\Walkthrough1" /s:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"
    XmlPreprocess v2.0.18.0
    Copyright (c) 2004-2013 Loren M Halvorson
    XML File Preprocessor
    Settings XML file: "C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml"
    Preprocessing "C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindingsMaster.xml" to "C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml"...
    PortBindings.xml : Set the value 'HelloWorld' of 2 node(s) matching XPath '//ApplicationName'.
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\ElementTunnel.exe" /i:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" /o:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" /x:"C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\adapterXPaths.txt" /encode+
    Nested XML Encoder/Decoder v5.5.100.0
    Copyright (C) 2005-2014 Scott Colestock, Tim Rayburn, Thomas F. Abraham
    XML encodes/decodes content of element(s) by XPath. Applies escaping rules such
    as &gt; for '<'. Namespace decls, PIs, etc. of nested XML are not preserved.
    XPaths : 16
    Transformed Nodes : 0
    Empty Nodes (skipped) : 3
    No Transform Req'd (skipped) : 3
    Total Matched Nodes : 6
    Complete - output file has been saved.
    Checking syntax of XML file 'C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml'...
    Syntax of XML file 'C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml' appears to be valid.
    DeployFileAdapterPhysicalPaths:
    Configuring FILE adapter physical paths from binding file PortBindings.xml...
    Processing FILE adapter physical paths (Send)...
    Setting up path 'C:\BTDF\Walkthrough1\Out'...
    Directory already exists.
    Granted 'BUILTIN\Users' Full Access permissions.
    Processing FILE adapter physical paths (Receive)...
    Setting up path 'C:\BTDF\Walkthrough1\In'...
    Directory already exists.
    Granted 'BUILTIN\Users' Full Access permissions.
    TerminateServiceInstancesConditional:
    Attempting to terminate all service instances for BizTalk app 'HelloWorld'...
    Terminated 0 service instances for BizTalk app 'HelloWorld'.
    VerifyBizTalkAppExists:
    Checking for existence of BizTalk application 'HelloWorld'...
    Did not find BizTalk application 'HelloWorld'.
    DeployAppDefinition:
    BTSTask.exe AddApp -ApplicationName:"HelloWorld" -Description:"HelloWorld"
    Microsoft (R) BizTalk Application Deployment Utility Version 3.10.229.0
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Information: Adding new BizTalk application "HelloWorld" to configuration database (server="BDDBESBWMV01", database="BizTalkMgmtDb")...
    Information: Added application "HelloWorld".
    Command succeeded with 0 errors, 0 warnings.
    UndeploySchemas:
    Adding assembly name 'HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f' to item group.
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\gacutil.exe" /u "HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f"
    Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
    Copyright (c) Microsoft Corporation. All rights reserved.
    Number of assemblies uninstalled = 0
    Number of failures = 0
    DeploySchemas:
    BTSTask.exe AddResource -Type:BizTalkAssembly -Source:"..\HelloWorld\bin\Debug\HelloWorld.dll" -ApplicationName:"HelloWorld" -Options:GacOnAdd,GacOnImport,GacOnInstall
    Microsoft (R) BizTalk Application Deployment Utility Version 3.10.229.0
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Information: Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f") to application "HelloWorld"...
    Serialized BizTalk assembly "HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f" from "..\HelloWorld\bin\Debug\HelloWorld.dll".
    Information: Validating resources (count=1)...
    * Validating resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f")...
    Information: Performing change requests...
    Information: Calling BeginTypeChangeRequest for all selected resource types...
    PerformingBeginChangeRequest
    Adding resource (-Type="System.BizTalk:BizTalkAssembly" -Luid="HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f") to store.
    Information: * Performing change request on type "System.BizTalk:BizTalkAssembly" (count=1)...
    Information: Deploy server="BDDBESBWMV01" database="BizTalkMgmtDb" assembly="C:\Users\dopdevbiztalkadmin1\AppData\Local\Temp\BT\PID9536\BizTalkAssembly\4b4a4387187988d2dc55c72b16113199\HelloWorld.dll"
    Information: Installed the "C:\Users\dopdevbiztalkadmin1\AppData\Local\Temp\BT\PID9536\BizTalkAssembly\4b4a4387187988d2dc55c72b16113199\HelloWorld.dll" assembly into the Global Assembly Cache. (force=True)
    Information: Deploy operation succeeded.
    Information: Deploy server="BDDBESBWMV01" database="BizTalkMgmtDb" assembly="C:\Users\dopdevbiztalkadmin1\AppData\Local\Temp\BT\PID9536\BizTalkAssembly\4b4a4387187988d2dc55c72b16113199\HelloWorld.dll"
    Saved schema "Microsoft.Samples.BizTalk.HelloWorld.POSchema, HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f".
    Saved schema "Microsoft.Samples.BizTalk.HelloWorld.InvoiceSchema, HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f".
    Saved map "Microsoft.Samples.BizTalk.HelloWorld.POToInvoice".
    Saved message type "Microsoft.Samples.BizTalk.HelloWorld.POMessageType".
    Saved message type "Microsoft.Samples.BizTalk.HelloWorld.InvoiceMessageType".
    Saved port type "Microsoft.Samples.BizTalk.HelloWorld.ReceivePOPortType".
    Saved port type "Microsoft.Samples.BizTalk.HelloWorld.SendInvoicePortType".
    Saved orchestration "Microsoft.Samples.BizTalk.HelloWorld.HelloSchedule".
    Saved schema "Microsoft.Samples.BizTalk.HelloWorld.POSchema, HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f".
    Saved schema "Microsoft.Samples.BizTalk.HelloWorld.InvoiceSchema, HelloWorld, Version=1.0.0.0, Culture=neutral, PublicKeyToken=1a3b87e04e203d0f".
    Saved map "Microsoft.Samples.BizTalk.HelloWorld.POToInvoice".
    Saved message type "Microsoft.Samples.BizTalk.HelloWorld.POMessageType".
    Saved message type "Microsoft.Samples.BizTalk.HelloWorld.InvoiceMessageType".
    Saved port type "Microsoft.Samples.BizTalk.HelloWorld.ReceivePOPortType".
    Saved port type "Microsoft.Samples.BizTalk.HelloWorld.SendInvoicePortType".
    Saved orchestration "Microsoft.Samples.BizTalk.HelloWorld.HelloSchedule".
    Information: Installed the "C:\Users\dopdevbiztalkadmin1\AppData\Local\Temp\BT\PID9536\BizTalkAssembly\4b4a4387187988d2dc55c72b16113199\HelloWorld.dll" assembly into the Global Assembly Cache. (force=True)
    Information: Deploy operation succeeded.
    Information: Deployed the following 1 BizTalk assemblies:
    HelloWorld.dll
    EXEC : warning : If any of the assemblies were previously loaded by a Host Instance, it may be necessary to restart the Host Instance for changes to take effect. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]
    Information: Commit the change requests...
    * Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkAssembly".
    Command succeeded with 0 errors, 0 warnings.
    DeploySharedAssemblies:
    Deploying additional assemblies to GAC...
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\gacutil.exe" /f /i "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\SSOSettingsFileReader.dll"
    Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
    Copyright (c) Microsoft Corporation. All rights reserved.
    Assembly successfully added to the cache
    Finished deploying additional assemblies to GAC.
    ImportBindings:
    Copying file from "C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" to "C:\BTDF\Walkthrough1\HelloWorld.Deployment\HelloWorld_PortBindings.xml".
    BTSTask.exe AddResource -Type:BizTalkBinding -Overwrite -Source:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\HelloWorld_PortBindings.xml" -ApplicationName:"HelloWorld"
    Microsoft (R) BizTalk Application Deployment Utility Version 3.10.229.0
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Information: Adding resource (-Type="System.BizTalk:BizTalkBinding" -Luid="HelloWorld_PortBindings.xml") to application "HelloWorld"...
    Information: Validating resources (count=1)...
    * Validating resource (-Type="System.BizTalk:BizTalkBinding" -Luid="HelloWorld_PortBindings.xml")...
    Information: Performing change requests...
    Information: Calling BeginTypeChangeRequest for all selected resource types...
    PerformingBeginChangeRequest
    Updating resource (-Type="System.BizTalk:BizTalkBinding" -Luid="HelloWorld_PortBindings.xml") in store.
    Information: * Performing change request on type "System.BizTalk:BizTalkBinding" (count=1)...
    Information: Commit the change requests...
    * Performing EndTypeChangeRequest for resource type "System.BizTalk:BizTalkBinding".
    Command succeeded with 0 errors, 0 warnings.
    Deleting file "C:\BTDF\Walkthrough1\HelloWorld.Deployment\HelloWorld_PortBindings.xml".
    BTSTask.exe ImportBindings -Source:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" -ApplicationName:"HelloWorld"
    Microsoft (R) BizTalk Application Deployment Utility Version 3.10.229.0
    Copyright (c) 2013 Microsoft Corporation. All rights reserved.
    Information: Importing bindings "C:\BTDF\Walkthrough1\HelloWorld.Deployment\PortBindings.xml" into application "HelloWorld" in BizTalk configuration database (server="BDDBESBWMV01", database="BizTalkMgmtDb")...
    Information: Imported application "HelloWorld" bindings.
    Command succeeded with 0 errors, 0 warnings.
    DeploySSO:
    "C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\SSOSettingsFileImport.exe" "HelloWorld" /settingsFile:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml" /userGroupName:"BizTalk Application Users" /adminGroupName:"BizTalk Server Administrators"
    Error persisting to SSO:
    System.Runtime.InteropServices.COMException (0xC0002A18): The format of the account name is not valid. Domain accounts must include the domain name. Local accounts must not include a domain or computer name.
    at Microsoft.BizTalk.SSOClient.Interop.ISSOAdmin.CreateApplication(String applicationName, String description, String contactInfo, String userGroupName, String adminGroupName, Int32 flags, Int32 numFields)
    at SSOSettingsFileManager.SSOHelper.CreateApp(String appName, String userGroup, String adminGroup)
    at SSOSettingsFileManager.SettingsFileImport.SaveSettingsToSSO(String affiliateAppName, String inSettings, String userGroupName, String adminGroupName)
    at SSOSettingsFileManager.SettingsFileImport.Main(String[] args)
    C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1701,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\SSOSettingsFileImport.exe" "HelloWorld" /settingsFile:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml" /userGroupName:"BizTalk Application Users" /adminGroupName:"BizTalk Server Administrators"" exited with code -1. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]
    Done Building Project "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" (Deploy target(s)) -- FAILED.
    Build FAILED.
    "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" (Deploy target) (1) ->
    (DeploySchemas target) ->
    EXEC : warning : If any of the assemblies were previously loaded by a Host Instance, it may be necessary to restart the Host Instance for changes to take effect. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]
    "C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj" (Deploy target) (1) ->
    (DeploySSO target) ->
    C:\Program Files (x86)\MSBuild\DeploymentFrameworkForBizTalk\5.0\BizTalkDeploymentFramework.targets(1701,5): error MSB3073: The command ""C:\Program Files (x86)\Deployment Framework for BizTalk 5.5\Framework\DeployTools\SSOSettingsFileImport.exe" "HelloWorld" /settingsFile:"C:\BTDF\Walkthrough1\HelloWorld.Deployment\EnvironmentSettings\Exported_LocalSettings.xml" /userGroupName:"BizTalk Application Users" /adminGroupName:"BizTalk Server Administrators"" exited with code -1. [C:\BTDF\Walkthrough1\HelloWorld.Deployment\Deployment.btdfproj]
    1 Warning(s)
    1 Error(s)
    Time Elapsed 00:00:54.94

    Hi Pratibha,
    Thank you for posting in MSND forum.
    Since
    this forum is to discuss: Visual Studio WPF/SL Designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System, and Visual Studio Editor.
    Based
    on your issue, since it is related to the Deployment Framework for Biztalk (BTDF), so I suggest you could consult this issue directly to this Deployment Framework for Biztalk (BTDF) website:
    https://biztalkdeployment.codeplex.com/discussions , you will get better support.
    Thanks for your understanding.
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Use Host command in Oracle forms 6i

    hi
    all
    i use Oracle forms 6i i run in a web and in that i have connect one server so,
    i have to use Host Command and i have to fire this command
    host (' net use \\windchillsvr\e\jyotionline /user:dwg_users dwg_users');
    But it's Not Connect
    My Forms in run in Web
    so help

    JavaBean does d othe job for you but it requires signing process; I used it when I was working on forms6i for our project.
    I could use another approach that is the file type command executable which it stays in client's PC to do it and it does not requires signing at all since I am now working on the Java EE project for downloading and launching the third party tool in client's PC.
    I plan to write a article for forms use, which could do all the heavy WebUtil can do, but not need to go thru the signing process.

  • How to execute host command in trigger

    dear professional:
    i'm trying to create a trigger that when a certain value inserts into a table , it fires some UNIX command to do the job following
    here is what i tried ,create a trigger that gives host command , but when i tried insert , it fails to work
    i also tried dbms_pipe ,but seems same when using dynamic sql to do the job
    any idea of how to accomplish this task ?
    many thanks ~
    br/ricky
    SQL> CREATE OR REPLACE TRIGGER price_exec
    2 BEFORE INSERT ON omc.price_test
    FOR EACH ROW
    BEGIN
    IF :NEW.price = 4 THEN
    execute immediate 'host ll';
    END IF;
    END price_exec;
    / 3 4 5 6 7 8 9
    Trigger created.
    SQL> insert into price values ('test',4);
    insert into price values ('test',4)
    ERROR at line 1:
    ORA-00942: table or view does not exist
    SQL> insert into price_test values ('test',4);
    insert into price_test values ('test',4)
    ERROR at line 1:
    ORA-00900: invalid SQL statement
    ORA-06512: at "OMC.PRICE_EXEC", line 3
    ORA-04088: error during execution of trigger 'OMC.PRICE_EXEC'

    hi,
    my db is 9.2
    i'm aware of schedule you mentioned , but if it's up to the task , you don't know when a row with certain value is inserted
    simple way :
    when a row inserted into a table with value "catch me" you want to know who inserted this test value
    so you tried to create a trigger to catch program, machine, module ,and terminal info from v$session
    so you can figure out where it is coming from
    and i want to go a step further , by executing some os command to digging out more
    and i come up with this , when value 4 is inserted i exec a procedure host to execute command,
    the problem is it's not working as i exepcted , so spare me the lecture of reading docs and just tell me what to do
    i'd really appreciate it , thanks
    CREATE OR REPLACE TRIGGER price_exec
    BEFORE INSERT ON omc.price_test
    FOR EACH ROW
    BEGIN
    IF :NEW.price = 4 THEN
    execute immediate 'host('echo')';
    END IF;
    END;
    Warning: Trigger created with compilation errors.
    SQL> show errors
    Errors for TRIGGER PRICE_EXEC:
    LINE/COL ERROR
    3/30 PLS-00103: Encountered the symbol "ECHO" when expecting one of
    the following:
    . ( * @ % & = - + ; < / > at in is mod not rem return
    returning <an exponent (**)> <> or != or ~= >= <= <> and or
    like between into using || bulk
    The symbol ". was inserted before "ECHO" to continue.

  • Host Command does not come back

    Hi,
    I have treid to export schema by pressing a button, (form designed in Form10gR2 and excute via Application Server R2. )
    For this I have applied one by one these syntaxes
    1) host ( 'cmd /C start "" "'|| exp USERID=SYSTEM/MANAGER@ora11 OWNER=scott,hr FILE=E:\JAN10.DMP');
    2) host ( 'cmd /C exp USERID=SYSTEM/MANAGER@ora11 OWNER=scott,hr FILE=E:\JAN10.DMP');
    3) client_host('exp USERID=SYSTEM/MANAGER@ora11 OWNER=scott,hr FILE=E:\JAN10.DMP');
    4) WEBUTIL_HOST.NONBLOCKING('exp USERID=SYSTEM/MANAGER@ora11 OWNER=scott,hr FILE=E:\JAN10.DMP');
    When my client/ user executes the command, session goes hang and application screen does not come back. If I execute the exp command directly from the Application Server Command Prompt then exp works.
    Please help me, what is the syntax to get the dump wihtout hanging the session.
    Database 11g Linux
    Application Server 10R2 Window2003.
    Developer 10gR2.
    Client Windows , Explorer, FireFox etc.
    Regards.
    Priya.

    Hi Priya,
    It is always a better practice to call a batch file using the host command instead of hardcoding the command inside form. Which would help you to modify the batch file for any changes, without re-compiling the forms.
    In this case, create a batch script, which would set the ORACLE_HOME etc (to make sure the exp command is recognized, you need to add the DB ORACLE_HOME/bin to the PATH), and then call the command to export. You can also parameterize the batch script and pass the parameters from form, separated by space.
    -Arun

  • Calling java host command in trigger/PLSQL

    I created a java call to execute a linux host command that calls a shell script that will echo out a result. It is owned by SYS and has granted execute to SYSTEM. SYSTEM has a table that monitors accesses to the RDBMS. When a user logs on from a remote server vis sqlplus, this LOGON trigger write to the SYSTEM table (successfully). SYSTEM has a trigger that runs a linux command to execute a shell script that pulls the actual IP address from the remote system. I can run this call from a PLSQL block (outside the trigger) and get a response back like "user:101.101.101.111" but when I have the same user log on, the trigger fires - no errors or exceptions yet no rows are returned. Is there some restriction in a trigger versus just a plsql block call? The java code used is what I found on (http://www.oracle-base.com/articles/8i/ ... mPLSQL.php) and it works perfectly OUTSIDE the trigger but nothing is returned in the trigger firing steps. Any idea?
    rdbms: 11.1.0.7, Redhat 4
    I know the code works because I can write the host command output to a file. Later in the trigger I can open the file and can read the data that should have been returned in the java host call.

    FYI - here is the code from your site that I used:
    DROP JAVA SOURCE SYS."Host";
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED SYS."Host" as import java.io.*;
    public class Host {
    public static void executeCommand(String command) {
    try {
    String[] finalCommand;
    if (isWindows()) {
    finalCommand = new String[4];
    // Use the appropriate path for your windows version.
    finalCommand[0] = "C:\\windows\\system32\\cmd.exe"; // Windows XP/2003
    //finalCommand[0] = "C:\\winnt\\system32\\cmd.exe"; // Windows NT/2000
    finalCommand[1] = "/y";
    finalCommand[2] = "/c";
    finalCommand[3] = command;
    else {
    finalCommand = new String[3];
    finalCommand[0] = "/bin/sh";
    finalCommand[1] = "-c";
    finalCommand[2] = command;
    final Process pr = Runtime.getRuntime().exec(finalCommand);
    pr.waitFor();
    new Thread(new Runnable(){
    public void run() {
    BufferedReader br_in = null;
    try {
    br_in = new BufferedReader(new InputStreamReader(pr.getInputStream()));
    String buff = null;
    while ((buff = br_in.readLine()) != null) {
    System.out.println("Cmd results: " + buff);
    try {Thread.sleep(100); } catch(Exception e) {}
    br_in.close();
    catch (IOException ioe) {
    System.out.println("Exception caught printing process output.");
    ioe.printStackTrace();
    finally {
    try {
    br_in.close();
    } catch (Exception ex) {}
    }).start();
    new Thread(new Runnable(){
    public void run() {
    BufferedReader br_err = null;
    try {
    br_err = new BufferedReader(new InputStreamReader(pr.getErrorStream()));
    String buff = null;
    while ((buff = br_err.readLine()) != null) {
    System.out.println("Cmd Error: " + buff);
    try {Thread.sleep(100); } catch(Exception e) {}
    br_err.close();
    catch (IOException ioe) {
    System.out.println("Exception caught printing process error.");
    ioe.printStackTrace();
    finally {
    try {
    br_err.close();
    } catch (Exception ex) {}
    }).start();
    catch (Exception ex) {
    System.out.println(ex.getLocalizedMessage());
    public static boolean isWindows() {
    if (System.getProperty("os.name").toLowerCase().indexOf("windows") != -1)
    return true;
    else
    return false;
    /

  • Host command in forms/reports

    Is there a host command in reports 6i? I used this in forms 6i. When I tried to use in Reports 6i, I received a compile error.
    basically all I need to do is to get directory information. This can be easily done in forms using the host command. Is there any built in package or function to achieve this in reports?
    thanks

    there is no "host" command in reports 6i (or earlier versions). you might want to consider using forms+reports combination (calling the report from within a form, in which you can execute the host command and do whatever you want to do, then pass the related parameters to the report). I am using this approach to handle some complex end user reporting requirements.
    hope this proves useful
    regards

  • Host command in reports 6i

    Is there a host command in reports 6i? I used this in forms 6i. When I tried to use in Reports 6i, I received a compile error.
    Thanks

    basically all I need to do is to get directory information. This can be easily done in forms using the host command. Is there any built in package or function to achieve this?

  • HOST command not working

    Oracle AS Version 10.1.2.0.2, Oracle Forms Version 10.1.2.0.2, Windows XP.
    I am using HOST command to read a files from the directory (on the server). But HOST does not working. When i click the button to read the file, it just hangs on and no error on the console.
    Does host work on forms 10g?
    actually i was using client_host of webutil and its working fine. But it pick the directory from the client. Whereas i need to pick it from the server where AS is. That why i went for HOST command.
    Any suggestion.

    Hi,
    Try this.
    1. Create a batch file (which would first set the required variables as when you do the "set".)
    2. Add the following to the batch file.
    C:\javasoft10g\jre\bin\javaw -classpath C:\javasoft10g\jre\lib\rt.jar;C:\javasoft10g\paths;;C:\javasoft10g\paths\dusjava.jar; %1 %2 %3 %4 %5 %6 %7Save the batch file in some location (say c:\mybatchscript.bat).
    From forms, call it like
    host('cmd /c c:\mybatchscript.bat > c:\temp\testlog.log' );Now, does it work?
    -Arun
    P.S : Looks to me like, you are setting some variables (or calling another batch file - set , which sets up the variables). So, make sure you set all the required variables in the batch script itself.
    -Arun

Maybe you are looking for

  • Video iPod keeps crashing since latest firmware update

    This has happened to me several times since the last update. Playing certain podcasts will cause the ipod to crash and reboot. Worst case was today. I had 4 unplayed episodes of the podcast 'Universe Today'. I clicked on one, the iPod crashed, reboot

  • How to work with two different backend with same MI Server and war file

    Hi All, We have a requirement that we need to work with one Middleware for two backends. For that we had to copy MAM30 sync bo's to zsync BO'S with the name ZMAM30. Now both sync BO'S will point to different backends. I have a standard war file which

  • PO is not creating in system

    Hello Experts, Iu2019m trying to create a PO through u2018BAPI_PO_CREATE1u2019. Iu2019ve gathered all the structure and fields which this bapi needs to create PO. When I call this BAPI in my report program the whole code get execute but I never get a

  • Transfering i-photo projects between macs

    Hello I created a project (albulm) on my laptop using i-photo when abroad & now want to finish it on my main mac. However I can't seem to transfer the project between the macs only the underlying images.  Don't want to have to start the project again

  • Need a bapi to update person data in IR02 tcode.

    Hi experrts, I need to update person data in IR02 tcode through plant and workcenter. But I am looking for BAPI to update this person data. Please help me on this as I caught up badly. Thanks in Advance. J.P