Hide ui/pw when submitting job via FORMS HOST cmd

I have a oracle procedure that returns the run_command string. Ex . ‘sqlplus ui/pwd @report.sql’. The run_command string returned by the procedure is run via the HOST command in oracle Forms.
HOST(run_command) submits the job but it exposes the ui and pa that is used in the run_command string. On UNIX, if I do ps –ef | grep sqlplus after the job is submitted by the HOST command, I can see the ui/pwd in the run_command.
How can I submit the job via HOST command without exposing the ui/pwd ?
Thanks
GP

Thanks for the reply.
The users have individual userid and passwords and I will have to pass it to the shell script that runs the report.
That will be exposed by ps -ef.
I can't create a single query only id because I have some reports that do inserts and updates.
Is there a way I can hide the userid and password that I am passing to the shell script.
Thanks.

Similar Messages

  • Problems with in/out points when submitting jobs via Terminal/command-line

    I've writting a GUI based script which allows a user to select a source Quicktime file, and will encode that file to multiple formats, and trims each destination based on specific timecode in/out points. However, I'm having problems getting the Compressor command-line interface to honor the in/out timecodes that I've explicitly set for multiple jobs within a single commandline.
    In other words, if I want to encode a source Quicktime between 01:00:00:00 and 01:00:29:23 with just ONE setting/destination, then the following commandline works:
    /Applications/Final\ Cut\ Studio/Compressor.app/Contents/MacOS/Compressor -clustername MHM -batchname CLI_BATCH -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov  -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/OTWC.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_OTWC.mov -in 01000000 -out 01002923
    But if I try to append multiple settings/destinations to the commandline, Compressor will only honor the -in/-out arguments which appear in the LAST -jobpath instance in the commandline.
    For example, the following commandline will properly encode the file to multiple destination files, using the appropriate .settings file, but it ignores the -in/-out points that were set for any -jobpath instance that appears before the last -jobpath instance (in other words, every file is output using 00:59:57:00/01:00:30:01 as the in/out points, instead of having the "*_OTWC.mov" file output using 01:00:00:00 as the in point)
    /Applications/Final\ Cut\ Studio/Compressor.app/Contents/MacOS/Compressor -clustername MHM -batchname CLI_BATCH -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov  -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/OTWC.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_OTWC.mov -in 01000000 -out 01002923 -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/HNN-HD.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_HNN-HD.mov -in 00595700 -out 01003001
    It's wierd that everything else about this command-line syntax works as expected (and as explicitly stated in the Compressor -help output, which says "when submitting individual source files. (The) Following parameters are repeated to enter multiple job targets in a batch"), except for the -in/-out points.
    I've even tried quoting the -in/-out arguments using colons (e.g., -in "01:00:00;00") , but this doesnt appear to change the behavior.
    Is this a bug, or am I missing something here?

    I've writting a GUI based script which allows a user to select a source Quicktime file, and will encode that file to multiple formats, and trims each destination based on specific timecode in/out points. However, I'm having problems getting the Compressor command-line interface to honor the in/out timecodes that I've explicitly set for multiple jobs within a single commandline.
    In other words, if I want to encode a source Quicktime between 01:00:00:00 and 01:00:29:23 with just ONE setting/destination, then the following commandline works:
    /Applications/Final\ Cut\ Studio/Compressor.app/Contents/MacOS/Compressor -clustername MHM -batchname CLI_BATCH -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov  -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/OTWC.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_OTWC.mov -in 01000000 -out 01002923
    But if I try to append multiple settings/destinations to the commandline, Compressor will only honor the -in/-out arguments which appear in the LAST -jobpath instance in the commandline.
    For example, the following commandline will properly encode the file to multiple destination files, using the appropriate .settings file, but it ignores the -in/-out points that were set for any -jobpath instance that appears before the last -jobpath instance (in other words, every file is output using 00:59:57:00/01:00:30:01 as the in/out points, instead of having the "*_OTWC.mov" file output using 01:00:00:00 as the in point)
    /Applications/Final\ Cut\ Studio/Compressor.app/Contents/MacOS/Compressor -clustername MHM -batchname CLI_BATCH -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov  -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/OTWC.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_OTWC.mov -in 01000000 -out 01002923 -jobpath /Volumes/mel/temp/20120329/TEST_SRC.mov -settingpath /Volumes/common/settings/compressor/M9_Slave/_Local_/HNN-HD.setting -destinationpath /Volumes/mel/temp/20120329/TEST1234_Testing30_HNN-HD.mov -in 00595700 -out 01003001
    It's wierd that everything else about this command-line syntax works as expected (and as explicitly stated in the Compressor -help output, which says "when submitting individual source files. (The) Following parameters are repeated to enter multiple job targets in a batch"), except for the -in/-out points.
    I've even tried quoting the -in/-out arguments using colons (e.g., -in "01:00:00;00") , but this doesnt appear to change the behavior.
    Is this a bug, or am I missing something here?

  • Error when submitting job to Qmaster cluster

    Hi all,
    I'm new to working with the Qmaster cluster but I created a cluster (at least I think I did it right) using the distributed processing apple document from the help menu. Everything looks right...I have an active cluster with two machines. What is a little weird is that the Cluster that I can choose in Compressor when submitting a job has a format like "ThisComputer.RScomputer.local:50411" instead of the name of the cluster I made (I called it Zeus Cluster).
    So, I choose this long cluster name and submit the job but I get this error:
    Error: An internal error occurred: NSException raised by 'NSPortTimeoutException', reason = '[NSPortCoder sendBeforeTime:sendReplyPort:] timed out'.
    Has anyone seen this error. What could I be doing wrong? Apple Qadministrator has the Cluster active and both machines are sharing fine.
    Any help would be appreciated. Thank you!

    Have you looked in the /Library/Logs/Qmaster for any specific detail? (use /applications/utilities/console.app )
    there's usually some detail in there that will give you an insight. If you see smething in there of significance, by all means post it here so w can examine and suggest to you.
    I have had his before, and in my case is related to the cluster setup I had.

  • Problem while submitting job from Forms

    Hi,
    i'm submitting a job in when button pressed trigger. This job will call a Backend Package(one procedure). But the job id is created in the backend but the job is not running. but if i run the job with DBMS_job.Run(jobid) from form itself after submitting the job, its working fine. Do we need to maintain any parameter to run job automatically?
    Thanks in advance.

    if there are four parameters passed then one of them is contradicting ur conditional statements. First check and debug those parameters if they consist the required value. also post ur code for further scrutiny.
    zaibi.

  • Need to avoid Select Email Client dialog when submitting Acrobat X form

    We are using Windows 7 / Office 2010 32-bit with Adobe Pro X, and have found that when creating a PDF from a Word 2010 document (via either print or convert or Word PDF or XPS), then using Acrobat to create a form from it, when we apply the action Submit a Form, the finished product presents users with a Select Email Client dialog.  The choices within the dialog are Desktop or Internet email.  We are using a direct email address, not a server location.  This happens even when NOT using the Distribute wizard.  Outlook is confirmed as the email choice in Adobe Preferences Internet Settings.  Anyone encounter this issue and have a fix or workaround?  We want the email to auto-create as it does in our XP / Acrobat 8 Pro environment without a dialog presentation.
    Thanks for any and all thoughts!

    Yes, you are right that is the way to go.  Thank you!
    I have tested and am now using successfully:
    // Set email address
    var cToAddr = "%email.address%";
    // Set the subject and body text for the e-mail message
    var cSubLine = "Survey Response";
    var cBody = "Message body text";
    // Send the form data as a PDF attachment in an e-mail message
    this.mailDoc({bUI: false, cTo: cToAddr, cSubject: cSubLine, cMsg: cBody});

  • How to send FDF file when submitting a PDF form

    Most users do not have Pro only reader. I need to be able to send the fdf file so that when the
    user launches the fdf file the digital signatures will be in tact and form fields populated. Is that possible?

    Digital signatures are not form data.  A digital signature is actually a way of encoding an entire file.  So if a user applies a digital signature to a PDF form, then they have to submit the entire PDF.  The entire PDF can be submitted from Reader if the PDF is Reader Enabled for Signing Rights.  The enabling can be done from Acrobat Pro.  
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • How to disable confirmation message when submitting a pdf form

    How do I disable the confirmation mesage, so that the user does not get at message like " you form has been recieved"  each time data is submitted?
    The reason for my question, is that i have a pdf form that i'd like to fill out offline, store the settings (data) in an array and the when I get online again run a loop that populates the form with the values storen in my array and submits them one at the time to formscentral.
    I'm able to make the loop work just fine, however I do not want to see the confirmation message each time data is submitted,  because my loop is paused each time the confirmation message appears, and the only way to resume it, is to click "ok".
    Hope someone can provide me with some help here

    Hi,
    >>however I do not want to see the confirmation message each time data is submitted,  because my loop is paused each time the confirmation message appears, and the only way to resume it, is to click "ok". 
    Sorry, disabling the confirmation message is not possible.  The confirmation is always enabled.
    Thanks,
    Lucia

  • Strange error message when submitting my contact form - what does it mean?

    This site was designed by someone else and taken over by me.  The contact form used to work but now when you type in the fields and hit SUBMIT you get the error message that I've attached.  I've tried changing the code using Godaddy's gdform mailer steps and it's still not working.
    Try:
    www.ducksinaroworganizers.com/contactus.php
    I was also playing around with this one too:
    www.ducksinaroworganizers.com/contactustest.php
    Thank you.

    Your form is apparently trying to send via SMTP through pobox.com instead of from your own domain. pobox.com has probably set up their server to prevent this type of email relay - a good thing.
    Why not send through your own domain's mail server? I know nothing about GoDaddy, though. You might want to give them a call.
    Mark A. Boyd
    Keep-On-Learnin' :-)
    This message was processed and edited by Jive.
    It shall not be considered an accurate representation of my words.
    It might not even have been intended as a reply to your message.

  • Invalid_jobdata when submitting job with rfc user

    Hi,
    I've created a function module in the erp system to remotly trigger a report program by a bw prossess chain.
    When running in the forground it works fine, but the runtime is so long that I want it as a background job.
    So I call job_open, job_submit, job_close in the function module. When I test the function module in the erp system with my dev user it opens a new job, adds a step and release correctly. It also runs fine if I intercept it in the debugger and change sy-uname to aleremote (the standard rfc user).
    It does not work when it's acctually called rfc from the bw system. The job is opened, but job_submit throws invalid_jobdata.
    Could this have anything to do with rfc or the executing user (which is of type SYSTEM)?

    I've caught the execption so there is no dump, but I'm unable to determine why the function module job_submit gives invalid_jobdata only when the executing user is the aleremote user and only when the call originated (the call to my module) from a remote system (the module job_submit is called locally thru my module). Authorization for the user is sap_all, but I was woundering maybe the user type system could be a problem?

  • Is it possible to add name to subject line when submitting a pdf form

    Hi,
    I have created a form with Live Cycle and added a button which submittingthe form as PDF. I was wondering is it possible to add staff name to the subject line just after Leave Request as seen in the picture below?
    Regards

    It is pretty easy to accomplish your requirement using scripts on a regular button rather than email submit button.
    Look at this amazing sample created by Paul which explains a number of ways to submit form data through email.
    http://forums.adobe.com/message/2109208#2109208
    Nith

  • Run a client-side program when using web-enabled forms(host command)

    I am trying to run a local program on my windows machine when i press a button on the oracle web form SCAN[Host('C:\scktscan.exe')]. It trys to execute the program on the server machine and not the client machine. The button will work when forms are run in client-server mode. How can i get the button to access a program on the client machine when the forms are run on the web?

    In order to execute a program at the client pc, you must implement a java bean.
    Have a look at the demos extension pack 1 (http://otn.oracle.com/sample_code/products/forms/content.html)
    It explains also how to implement this in your own application.

  • In firefox I am unable to submit information via form buttons. The buttons are present and clickable but nothing happens once they are clicked.

    I am having trouble submitting information via form buttons. I click on the button but nothing happens. It isn't site specific and is a problem that has only started to happen recently. I have uninstalled firefox and reinstalled it without any rememdy. The problem does not replicate itself in Chrome or Internet Explorer. Can anyone advise what maybe the problem? Is it s a javascript setting within firefox that I may have accidentally turned off? Please help.

    Thank you for the help but I found the answer here: http://support.mozilla.com/tiki-view_forum_thread.php?locale=en-US&comments_parentId=601699&forumId=1
    I am pretty sure you had the same diagnosis and solution to start it in safe mode, and if it does work, go disabling each extension one by one until you determine which extension is the culprit.
    Thanks!

  • Submitting a PDF form and Error Message

    One of my users received the following error message when submitting a PDF form: "An error occurred during the submit process. The server has an invalid SSL certificate." Can anyone tell me what this error is and how do I prevent it?

    I have had the same error - we are behind a webfilter which is very tight
    can you please advise the domains i need to whitelist?
    many thanks
    Bruce

  • Hide user/pwd when  running sqlplus job via HOST cmd in oracle forms

    I have a oracle procedure that returns the run_command string. Ex . ‘sqlplus ui/pwd @report.sql’. The run_command string returned by the procedure is run via the HOST command in oracle Forms.
    HOST(run_command) submits the job but it exposes the ui and pa that is used in the run_command string. On UNIX, if I do ps –ef | grep sqlplus after the job is submitted by the HOST command, I can see the ui/pwd in the run_command.
    How can I submit the job via HOST command without exposing the ui/pwd ?
    Thanks
    GP

    Of course, the Operating System Authenticated account method should only be used if you are running this job on the machine with that's running the Oracle instance. You absolutely do not want to turn on remote authentication. If you're not on the same machine, I would suggest you put the credentials in a file and secure it with filesystem privileges. I generally use a single generic script initiator that logs on and then runs some other script specified on the command line. Something like ...
    username/password
    @&1Note: the extra "--/--" lines ensure that the script fails with invalid login if the credentials are wrong but they get interpreted as comments if the logon succeeds.

  • Problem submitting RFEBKA00 via Job

    Hi experts
      I have a requirement to create a Z program to upload 3 different files by using RFEBKA00.
      For this purpouse, I have created a Z program which creates 3 Z jobs (ZA, ZB, ZC one per file) using JOB_OPEN / SUBMIT program VIA JOB / JOB_CLOSE.
      Once every job is finished, I need to read logs using BP_JOBLOG_READ,and if there are no errors, move files to other folder.
      My questions are:
        1.- When using JOB_OPEN and SUBMIT VIA JOB name NUMBER n, as far as I know n is the number returned by jobcount parameter from JOB_OPEN and should be the same for both jobs (the Zjob created by JOB_OPEN and the one created by program RFEBKA00).When I debbug the program, it is OK, but when accessing table TBTCO sometimes there are 2 different jobcounts. Seems that jobcount is created based on sy-uzeit and sometimes there is some delay between JOB_OPEN and SUBMIT. Is there any way to ensure both jobs have the same jobcount?.
        2.- As I need to read the log for each file, and because of the fact that the job created by submitting RFEBKA00 has always the same name, if the answer to my first question is NO, how can I link each of my Z jobs with its corresponding RFEBKA00 job?.
    Many thanks in advance for your answers.
    BR,
    Carlos.

    Hi Thomas
      Thanks for your answer.
      For your first question, there is not BD key problem beacuse of my job is ZJOB and the one created when doing submit via job is RFEBKA00-EXTR.CTA.EL. (standard job) have different names.
      But job number should be the same, because I'm using JOB_OPEN (which return the job number in parameter jobcount) and SUBMIT VIA JOB . 
      For the second question, and based on SAP documentation about SUBMIT , when submitting a program vía job, the submitted program is executed as a background task, which means creating a new job, so the answers is yes, the standard program schedules a new job.

Maybe you are looking for

  • Indesign CS6 8.0.1 report "missing" links after package

    After reopening indd file from package folder, links palate is fullfill with brocken links. Links have correct new path to links folder in package. Sometimes indd wont package all links. Whats wrong?

  • Please send me the easiest code...thanks :)

    Please send it to [email protected] thanks guy! Question 1 (10 marks) Write a program that asks a user to type A, B, C, or Q. When the user types Q, the program ends. When the user types A, B, or C, the program displays the message �Good job!� and

  • Product Costing and Production Planning

    Hi, Is Product Costing absolutely required before implementing Production Planning, specifically PP orders? My client does not want to plan costs or need any cost estimates. They want to use a PP order to check availability for a BOM, and then issue

  • To distribute by month

    Hello, I would like to distribute by month data that is saved with “month from” and “month to“ fields (the year is known). I think I can’t use the standard distribution function and I’ll have to use a formula (that is going to be complex). Could anyo

  • Can't preview files from a network drive to a local CF9 server.

    Hi, I have the following set up: CF9 Local Dev version CF Builder 2. Project files are in a network drive N:\project I have RDS set up and everything seems to work ok, view DSN, files, etc on my local server. In the URL prefix section I even created