Options for Client_host

Hi,
Do anyone have a link which can show what are all the parameters (or options) that can be used along with client_host and webutil_host
Regards

All is written in the webutil.pll itself:
PROCEDURE CLIENT_HOST(syscmd Varchar2, kwd Number default NULL) IS
* CLIENT_HOST
*   This procedure duplicates the action of the HOST Built-in, except that it
*   operates on the client (browser) tier rather than the Applcation server tier. 
*   Existing HOST code  can be re-directed to run on the client simply by
*   prefixing all the calls with "CLIENT_"
*   The oracle.forms.webutil.host.HostFunctions bean is needed in your
*   Form to use these functions
*   Note 1) This version (like client server) is Blocking and will prevent
*   re-draw of the Forms Screen whilst the Host command is active
*   Note 2) The kwd argument (e.g. NO_SCREEN etc) is ignored
*   For more flexible "Host" commands see the WEBUTIL_HOST package
*   That has facilities for Asynchronous callbacks and return codes
* Version 1.0.0
* Change History
*   1.0.0 DRMILLS 03/JAN/2003 - Creation
BEGIN
     -- simply call through the to WEBUTIL_HOST.HOST() Function
  if WEBUTIL_HOST.HOST(syscmd) <> 0 then
       raise form_trigger_failure;
  end if;
END CLIENT_HOST;
PACKAGE WEBUTIL_HOST IS
* WEBUTIL_HOST
*   This Package contains routines to execute "host" commands on the client
*   Calls may be blocking or asynchronous and if aysnchronous may have a
*   callback mode e.g. You fire off the process on the client and when it
*   has finished a user named trigger will execute
* Version 1.0.2
* Change History
*   1.0.0 DRMILLS 27/JAN/2003 - Creation
*   1.0.1 DRMILLS 01/MAR/2003 - Slight API changes
*   1.0.2 DRMILLS 17/MAY/2003 - Added call to WebUtil_Core.Init
   * Types
   * PROCESS_ID is a type to represent a process so that you can do
   * things like get the return code and error output and also kill it
  type PROCESS_ID is record (handle PLS_INTEGER);
   * OUTPUT_ARRAY is used to return the Standard Out and Standard Error output
   * from a host command - each line of the output will appear as a member of this array
  type OUTPUT_ARRAY is table of VARCHAR2(256 char) index by binary_integer;
   * Functions
   * HOST function is closest to the old client/server Host.
   * It blocks the Forms client until the host call is finished.
   * This version returns with the return code from the client
  FUNCTION  Host(cmd in VARCHAR2) return PLS_INTEGER;
   * HOST function is closest to the old client/server Host.
   * It blocks the Forms client until the host call is finished.
   * This version returns nothing
  PROCEDURE Host(cmd in VARCHAR2);    
   * Blocking like the Host function blocks the client until
   * it is finished.  However it returns the process id rather
   * than the return code.
  FUNCTION  Blocking(cmd in VARCHAR2) return PROCESS_ID; 
   * This version of Blocking is identical to the HOST Procedure
  PROCEDURE Blocking(cmd in VARCHAR2);  
   * NonBlocking executes a Host command and returns
   * to the Form, allowing PL/SQL to continue at the same time that
   * the command is running on the client.
   * The process id is returned so that you can:
   * 1) Get the Return code from the Process once it's finished
   * 2) Get the console output and error output
   * 3) Kill the Process you started
   * NOTE: It is important to call Release_Process(processId) when
   * You have finished with this process ID - this will release
   * resources in the client (but will not kill the program that
   * you started - use Terminate_Process() for that)
  FUNCTION  NonBlocking(cmd in VARCHAR2)return PROCESS_ID;
   * The Procedure version of NonBlocking executes a Host command
   * and returns to the Form, allowing PL/SQL to continue at the
   * same time that the command is running on the client.
   * In this case the process id is not returned and the client
   * side objects are automatically cleaned up for you.
  PROCEDURE NonBlocking(cmd in VARCHAR2);
   * NonBlocking_With_Callback executes a Host command and returns
   * to the Form, allowing PL/SQL to continue at the same time that
   * the command is running on the client.
   * The difference between this call and NonBlocking is that you
   * can supply the name of a User Defined trigger which WebUtil
   * will automatically call as soon as the process you've started
   * has ended.
   * The process id is returned so that you can:
   * 1) Get the Return code from the Process once it's finished
   * 2) Get the console output and error output
   * 3) Kill the Process you started
   * NOTE: It is important to call Release_Process(processId) when
   * You have finished with this process ID - this will release
   * resources in the client (but will not kill the program that
   * you started - use Terminate_Process() for that)
   * Only call ReleaseProcess in this case *After* the callback
   * trigger has been called.
  FUNCTION  NonBlocking_With_Callback(cmd in VARCHAR2, callbackTrigger in VARCHAR2)return PROCESS_ID;
   * Given a Valid process id that you've gotten from
   * NonBlocking() or NonBlockingWithCallback() you can terminate
   * the client program that you are running.
  PROCEDURE Terminate_Process(process in PROCESS_ID);
   * Get the return code from a given process
  FUNCTION  Get_Return_Code(process in PROCESS_ID) return PLS_INTEGER;
   * Get the console output from a given process
  FUNCTION  Get_Standard_Output(process in PROCESS_ID) return OUTPUT_ARRAY;
   * Get the error output from a given process
  FUNCTION  Get_Standard_Error(process in PROCESS_ID) return OUTPUT_ARRAY;
   * Clean up the resources allocated to a particular Process
   * on the client
  PROCEDURE Release_Process(process in out PROCESS_ID); 
   * Get the ID of the process that has just finished.
   * This call is only valid for use in a callback trigger
   * that has been set up and called through NonBlockingWithCallback()
  FUNCTION  Get_Callback_Process return PROCESS_ID; 
   * Test to see if this Process ID is null
  FUNCTION  ID_NULL(process PROCESS_ID) return BOOLEAN;
   * Test to see if two Process IDs represent the same process
  FUNCTION  EQUALS(process_1 PROCESS_ID, process_2 PROCESS_ID) return BOOLEAN; 
END WEBUTIL_HOST;Francois

Similar Messages

  • I cannot see the option for face time of open and close in iphone 4s

    Plzzz tell me no facetime option for on and off is nott comming in settings help me plzzz

    There is no FaceTime app for the iPhone if that's what you're asking.  FaceTime is accessible through your Contacts as one of the options in how to contact a person -- there is no standalone FaceTime app for iPhone.
    If you mean how to disable FaceTime, you can do that in Restrictions (Settings/General/Restrictions).

  • Needing a multi-month and year-in-view option for ical!

    Hello all!
    I could really use a multi-month and year-in-view format in ical... I've seen some dated posts - is anyone aware of any new developments/options for this?
    thanks and peace-
    DW

    I turn off all calendars but the birthdays. Select [Print]. Choose all the months you want to see. Deselect all calendars but birthdays. Click [Continue]. On the next menu, go to "Layout", select how many pages to print on the paper. I usually print a border around each calendar then you're good to go!
    By only printing the birthdays calenar, you won't get too many appointments to get in the way of brain storming and future planning, yet the computer still thinks its printing a useful calendar.

  • BODS : Datastore options for SAP R/3 - need clarity for use

    Hi All.
    Another request to understand the datastore optiono n BOXI 3.1 BODS existing installation.
    We are trying to pull a new table from SAP R/3 into BODS and we find that ABAP program is not getting generated as expected. And terminates. When we tested a simple workflow.
    While creating a new datastore for SAP R/3 Source :
    When we look at the datastore we find the following options for R3 Source ;
    ABAP Execution option :
    Execute preloaded
    Generate and execute
    Under data transfer method we find ;
    Shared directory
    Direct download
    FTP
    Custom transfer
    Then we have working directory on sap server
    local directory
    generated ABAP Directory
    Am testing a simple workflow of pulling data from SAP R/3 in a dev machine.
    But am not understanding.
    which option of ABAP Execution, and data transfer , path would work in co-ordination.
    Because when i say direct download and say generate and execute it throws error.
    Can anyone help me with combinations of the options to choose for a R/3 source. And the implications thereof.
    I had created a folder under local bods server D:\Bodi. And given the path for data transfer.
    But the files are not getting generated for whatsoever reasons.
    Any advise on this would be helpful.
    Also found a bit unusual, that there was no button to test the connection to be correct or not, a TEST connection button is not there. Which i felt, could be included.
    Note : on the existing production system, we have chosen execute preloaded; shared directory on sap server. and shared that folder path for the user and given full rights. But while we try to do the same on the dev machine a test before transporting on production, a simple workflow does not work.
    would like to know what settings on sap server, really affect the data store options on the BODS
    thanks
    indu
    Edited by: Indumathy Narayanan on Jul 19, 2011 4:14 PM

    Indeed, BODS <> SAP connectivity can be tricky.
    For a development environment, I suggest you select the option "Generate and execute" for your "ABAP Execution Option." What this means is that DS will create, on the fly, small-ish ABAP programs. These ABAP programs will be written, in plain text, to a local directory on the DS job server, in the folder specified in "Generated ABAP Directory".  You can see them in there after an attempted job execution, assuming the job involves the creation of an ABAP program.  The ABAP program name is specified in the properties of an ABAP data flow, under Options > ABAP Program Name.  If you can't, perhaps the DS job server process doesn't have full rights to that folder - ?  After being generated on-the-fly, they'll be transferred to SAP to execute.  The SAP user you use to connect to SAP must have sufficient rights to upload-and-execute these ABAP programs, and that's a fairly substantial set of rights. What's required is documented in the BODS supplement for SAP. Often, to get things running, your friendly local Basis admin will grant SAP_ALL to the DS user, to see what rights are being invoked.
    Once all that jazz is working, you need to get the data back. There are a number of ways to do this. The method of data transfer is specified in "Data transfer method," where, ignoring "Custom transfer," you have three choices:
    1) Direct Download: easiest and slowest.  This method tells SAP to attempt to stick data in the client-side folder specified in "Local directory." Try this first.
    2) Shared folder: This is recommended when you have SAP being hosted on a Windows box. Basically: you set "Working directory on SAP Server" and "Data Services path to the shared directory" to point to the same folder.  SAP uses the "Working directory on SAP Server" to find this folder, and DS uses the other setting. So, for instance, if you were going to use the Shared folder method, you could set "Working directory on SAP Server" to "E:\BODS_Transfer", and, assuming E:\BODS_Transfer was shared-out as "BODS_Transfer", you could set "Data Services path to the shared directory" to
    dev12.somecompany.com\BODS_Transfer .  Then, you'd need to setup all the relevant security, as both SAP and DS need rights to read and write files in this folder.
    3) FTP (this is the method I usually use): SAP writes the "transport files" you're after (i.e., the data) in the folder specified in "Working directory on SAP Server". Then, you need to establish ftp connectivity to that folder from the DS job server's perspective, which you do by entering the ftp host name and the path to that folder in "FTP host name" and "FTP relative path to the SAP working directory".  In my opinion, the "relative" business is a little confusing, and I just typically enter the full ftp path, beginning the path w/ a forward slash, like "/usr/sap/tmp/BOBJ" or something like that.  You also need to obtain a separate username and password for the ftp connectivity. Note that this name and password has NOTHING to do with the SAP username and password; you're just setting-up DS to act as an ftp client. I strongly encourage you to test ftp connectivity by using a regular ftp client from the DS job server and attempt to connect to your ftp host using the username and password you were given, and attempting to fetch some sample test file. If you can't do this, manually, then DS won't be able to do it, either.
    Best wishes,
    Jeff Prenevost

  • Can't see pricing options for Creative Cloud. :'(

    Two things, Adobe:
    1. When I try to click the "See All Plans" button on this page (Cloud-based software and services for creatives | Adobe Creative Cloud) I'm taken to a blank page (except for the unhelpful footer). The error console on my browser says there are a couple of errors, which are usually where this comes from.
    plans:237 -- ReferenceError: Can't find variable: s
    test_and_target.js:1:132 -- ReferenceError: Can't find variable: mboxDefine
    I would love to see the pricing options for this service that you've built into all of your applications, but apparently I can't.
    2. Apparently the forum is the only way to tell you guys about technical problems?

    Hi ChristofferLu,
    Please refer the knowledge base article: http://helpx.adobe.com/creative-cloud/help/cc-desktop-download-error.html.
    Regards,
    Romit Sinha

  • How do I use my iPad with Retina Display model MD514LL/A with apple tv? I see no option for airplay and I have the latest update.

    I am having trouble mirroring my ipad with my new apple tv. I don't see any options for airplay. Any suggestions would be greatly appreciated. Thanks!

    Is your apple tv also up to date?
    Are they both on the wireless network, or is the apple tv using an ethernet cable?
    Reboot your wireless router, your apple tv, and your ipad, in that order.

  • Is there a key on the MacBook Pro to toggle display options for a projector

    I have had some difficulty getting my InFocus projector to consistently work correctly with my MacBook Pro. Is there a key on the MacBook Pro that toggles the options for projector display? There was one on my last MacBook and my previous PowerBook.
    Thanks -
    Dudley Warner

    No, there is no longer a key to control external display modes (it's F7 on my 1st gen MBP, but the option was removed along with the embedded numeric keypad in the Early 2008 models). There's not a substitute keyboard shortcut (with the exception of installing a macro player like Keyboard Maestro). Your main option is System Preferences > Displays (as stated, ticking the box to show Displays in the menu bar provides a helpful shortcut).

  • Set maximum size in Text Form Field Options for a field in bi publisher RTF

    Hi All,
    How to set maximum size in Text Form Field Options for a field in bi publisher RTF.
    I have a RTF whch is having a field in that i need to add some validation condition but after adding certain condition in Add help text tab ,it is not accepting after certain length, how i can increase the length to unlimited,please help me on this
    Thnaks

    Form fields have some restrictions if your are using version lower than 11g.
    They can accommodate only 393 chars. You can add the text in both status bar and help key, which can in total consume 393 chars.
    If your code logic is more than that, it can be split into multiple form fields as Avinash suggested or you can use sub template logic and handle coding over there. Again in sub template code can be within/outside form fields.
    So there is no option for user to increase the size of form field.

  • Message settings option for text messages is not c...

    I am using  N73 phone and here i cant go to the message settings option for text messages. actually i want to change my message center.
    Message > Options > Settings > Text Message 
    When i tried to follow above steps it finally ends up with the Main menu. But previously it works fine. I want to know there whether there is another way to set it or i need to go for a phone software installation.
    Thanks.

    The settings can also the sent directly to your phone as an auto install sms from your network. Contact your network and request they send you the sms.

  • My ipod nano 6th gen fell out of my pockey and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed

    My ipod nano 6th gen fell out of my pocket and the screen cracked badly, is there any coverage for this under warranty? I just bought it a month ago. If not what are the options for getting it fixed? It is pretty frustrating, it fell from about 3 feet out of my pocket and now looks like it was beaten by a hammer.

    Debbie:
    deborahfromwindsor wrote:
    he advises restarting by inserting the OSX disc and pressing down the C button to reboot from there then selecting disk utility, hard disk and repair.... Does he mean me to hold down the C key on the alpha keyboard or the ctrl key?
    Should I just ask for my money back??? If it is a simple repair do I just literally push the disc in, push the power button and hold down the C button?
    That's where I would begin, too, with
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.TStatus of HDD at the bottom of right panel, and report if it saysanything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need touse autility like TechTool Pro,Drive Geniusor DiskWarrior
    First we need to determine if the issue you are experiencing with the computer is software or hardware based. Once we have gotten things sorted out there should be time enough to make you decision about keeping or returning it.
    cornelius

  • How do I remove a credit/debit card from my account? I ask because I currently have a VISA gift/debit card with 50 dollars on it, but the money has run out so I want to usea new card. Also, there is no 'None' check option for payment type on my account.

    How do I remove a credit/debit card from my account? I ask because I currently have a VISA gift/debit card with 50 dollars on it, but the money has run out so I want to usea new card. Also, there is no 'None' check option for payment type on my account.

    Depending on how you created your account, "None" may or may not be an option. I believe it has something to do with whether the account was made through an App Store request or the regular iTunes Store. For example, my account allows no card but my father's doesn't allow there to be no card.
    To change the card, go to your account settings and change the information to your new card, and hit save.

  • Default option for password in UME

    Hi,
    Is there a way that when we create new users in UME, that the default option for password management is set to "Disabled Password" in stead of "Define Initial Password".
    We are using SPML SOAP message to create the users and if there is no password in the SPML messgae, the user is created, but no logon is possible as the system expects that you should have a  password.
    We will like to avoid sending in the password as part of user creation process, as these users will have to be created with no password. These users will never do a basis authentication, but  are needed for SSO using HTTP header variable..
    Thanks,
    Vikrant sud

    Is this a portal or what?
    On the ABAP side this is possible, so I would expect the Java APIs to offer the same.
    Looking in the PASSWORD structure is the wrong place, try the LOGONDATA (if it is done the same way). If you activate it in the call it should delete the PASSWORD regardless.
    Sorry, I have an ABAP mentality... but consistent APIs make it easier (to have to understand less concepts) and SAP increasingly does this.
    Cheers,
    Julius
    Edited by: Julius Bussche on Nov 19, 2009 9:47 PM

  • I have a late 2008 white macbook.  I have a mini dvi to hdmi adapter, and a hdmi cord.  My cannot get my MB to detect an external monitor.  Nothing happens when plugged in.  Also, my display settings does not have an option for mirroring or arrangment tab

    I have a late 2008 white macbook.  I have a mini dvi to hdmi adapter, and a hdmi cord.  My cannot get my MB to detect an external monitor.  Nothing happens when plugged in.  Also, my display settings does not have an option for mirroring or arrangment tab

    Yeah, I'm having the same exact problem - It seems that the thunderbolt minidisplay port is only able to output the analog VGA signal, not the digital signal to support DVI and HDMI. This is a bug that came up after installing 10.7.1. I bought my macbook air with 10.7 on it, upgraded it to 10.7.1 as soon as I got it, so I have never been able to use hdmi or dvi with my macbook air. This is an extremely frustrating problem for me, I used HDMI on a daily basis with my PC. I have spent many hours at the genius bar running diagnostic tests so Apple can get as much information as possible to create a fix for this problem. I have been emailing tech support for 3 or so weeks now, they keep saying that they are working on a fix and it should be out soon, but 10.7.2 has come and gone and I still have no HDMI functionality with my MacBook Air!

  • HT4527 I am trying to move my library and playlists to a new computer by burning to CD's. However, I followed the directions by going to File and then Library - then they said to go to burn CD(s) - I DO NOT have that option for some reason. How do I do th

    I am trying to move my library and playlists to a new computer by burning to CD's. However, I followed the directions by going to File and then Library - then they said to go to burn CD(s) - I DO NOT have that option for some reason. How do I do this? I have done the library sharing thing but I am getting rid of my primary computer and am afraid I will lose the library.

    To move an iPhoto Library to a new machine:
    Link the two Macs together: there are several ways to do this: Wireless Network,Firewire Target Disk Mode, Ethernet, or even just copy the Library to an external HD and then on to the new machine...
    But however you do choose to link the two machines...
    Simply copy the iPhoto Library from the Pictures Folder on the old Machine to the Pictures Folder on the new Machine.
    Then hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    and select the Library that you moved.  That's it.
    This moves photos, events, albums, books, keywords, slideshows and everything else.
    Your first option didn't work because you imported one Library to another. Every version and thumbnail is imported like a distinct photo, you lose all your Albums, Keywords etc., the link between Original and Previews is destroyed, the non-destructive editing feature is ruined and so on. In summary: it's mess.
    Your second option didn't work because you simply referenced her library on the old machine.
    Regards
    TD

  • Drop down option for an output field in an ALV display

    hi,
    how to provide a drop down option for a field in the output of an ALV Grid display........
    Thanks in advance

    Hi Deepthi,
    Please refer this program BCALV_EDIT_07 and BCALV_EDIT_06.
    This will help you in your program
    <b>Reward Points if Useful</b>
    Thanks
    Vishwanath Purohit

Maybe you are looking for

  • Returns of Promo material & Free of cost

    Actually we are a pharmacuetical company and we have business scenarios that we give our marketing team promotional material which are free of cost and based on zero value means we maintain their stock in quantities only and also at the time of order

  • Source of Flat File in a File scenario

    Hey guys i was just wondering wats the source of flat files which are used in File scenarios,i know it can come from anywhere but in a real world scenario,where do we usually get these files from(is it any server?)also if anyone of u has worked on an

  • Problem to  Use C function in oracle

    Hi Friends, i m trying to use c funciton in oracle as per oralce documentation its working fine when i used the demo example but in demo example thr are only interger data type used i need to use the char data type from c and while calling that funct

  • HELP! CAN'T RESTORE!

    I try restoring my 8gig ipod touch and I recieve the error message "the ipod could not be restored. the device is not eligible for the requested build." so i looked online and found someone who had the same problem and tried doing what they said work

  • I want to convert from decimal (5, 2) to decimal (3,0) in data services

    Hi All, I want to convert from decimal (5, 2) to decimal (3,0) in data services. if anybody knows please let me know with syntax.