Alternative for "Commode" parameter in Host command
Dear Buddies
As we use "Commode" parameter to run report (using Run Product built-in), so can we use it in "Host ifrun60" command too to run our reports in "Asynchronous" communication mode?? I've tried this in my Host command like this
.....commode=asynchronous....
Or is there any alternative for this parameter to use in Host command?
Host built in is used to invoke any executable from forms. It can be used to invoke calc , word or any exe
I dont think its a good idea to use host built since you will not get the status.
Use run_product or run_report_object
Rajesh ALex
Similar Messages
-
Alternative for Hairpinning / DNS static host entry
Hello,
I want to reach a server, which resides in LAN D from client LAN A via it´s public IP (Citrix Netscaler) and https.
Both nets have the same default gateway device (Cisco 1921, 15.4(1) with virtual Interfaces).
On this device also the NAT statics for reachablity of the server from outside are configured.
Is there a way to forward packets destined for 93.XXX.XXX.XXX:443 directly to 10.10.1.150 and back from 10.10.0.0/24, without static DNS or host entrys on any device?
Config extract:
ip nat inside source static tcp 10.10.1.150 443 93.XXX.XXX.XXX 443 extendable
interface GigabitEthernet0/0
description *** OUTSIDE ***
ip address 93.XXX.XXX.XXX 255.255.255.224
ip nat outside
ip inspect FW in
ip inspect FW out
interface GigabitEthernet0/1.2
description *** LAN A ***
encapsulation dot1Q 2
ip address 10.10.0.254 255.255.255.0
ip nat inside
interface GigabitEthernet0/1.3
description *** LAN D ***
encapsulation dot1Q 3
ip address 10.10.1.254 255.255.255.0
ip nat inside
Help is very much appreciated.
Kind regards
AlexHi Alex,
Hope you are doing well!
Since you are using Citrix Netscaler I wanted to mention a new feature Automated Policy based Routing(APBR) and RISE(Remote Integrated Service Engine) that is available on Citrix Netscaler which might ease you pain points in configuring services.
Here are some details and links
RISE (Remote Integrated Services Engine) is an innovative, industry-first architecture conceived by the Nexus Services engineering team to seamlessly integrate Nexus switches with appliances offering L2/L3/L4-L7 services. RISE makes the service appliance look like a line card in the Nexus 7K series. This integration allows any appliance to take advantage of the benefits of an in-chassis module such as increased application performance, high application availability, and data center consolidation.
RISE press release on Wall Street Journal : http://online.wsj.com/article/PR-CO-20140408-905573.html
RISE At A Glance white paper: http://www.cisco.com/c/dam/en/us/products/collateral/switches/nexus-7000-series-switches/at-a-glance-c45-731306.pdf
RISE announcement blog: http://blogs.cisco.com/datacenter/rise
RISE Video at Interop: https://www.youtube.com/watch?v=1HQkew4EE2g
Cisco RISE page: www.cisco.com/go/rise
Gartner blog on RISE: “Cisco and Citrix RISE to the Occasion”: http://blogs.gartner.com/andrew-lerner/2014/03/31/cisco-and-citrix-rise-to-the-adc-occasion/
Please contact us for a demo/presentation/POC. Please send email to [email protected]
Thanks
Avni -
hi all,
are there for SAP HANA a "Host Command" (from Oracle), which you can jump from HANA studio or HANA client to the operating system "SUSE Enterprise SERVER"?
greeting
ichtoukHi Ichtouk
the sqlplus command host does not allow you to execute commands on the server you're connected to. Instead, you can execute local command without leaving your current sqlplus session.
It is by no means an open window to the Oracle servers O/S (would be bad, don't you think?).
Having said that, SAP HANA does not include a SSH client in the database client software.
If you want to access the SAP HANA server on O/S level, you really need to use a proper SSH client with a regular O/S user logon.
- Lars -
Crystal Reports 2008 - passing a parameter in the Command Object
Hi,
I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
select emrace, count(empl_id) cntFCiv from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
select emrace, count(empl_id) cntFSw from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null group by emrace
select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null group by emrace
I want to pass a parameter to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
How do I pass the parameter that the user picked to those command objects. I tried doing this:
select emrace, count(empl_id) cntFCiv from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
and emunit = '{?Bureau}' group by emrace
But it did not work. Any help will be greatly appreciated.
Thanks.Hi,
I am using Crystal Reports 2008. I have 4 Command Objects where I have the following queries.
select emrace, count(empl_id) cntFCiv from emmain where emtype='CIV' and emsex ='F' and emdateterm is null group by emrace
select emrace, count(empl_id) cntFSw from emmain where emtype='SWOR' and emsex ='F' and emdateterm is null group by emrace
select emrace, count(empl_id) cntMCiv from emmain where emtype='CIV' and emsex = 'M' and emdateterm is null group by emrace
select emrace,count(empl_id) cntMSw from emmain where emtype='SWOR' and emsex = 'M' and emdateterm is null group by emrace
I want to pass a parameter to all these command objects. I want the user to select a parameter from a list of values. So, I created a parameter object, Bureau. (I get the values for the parameter with this command object: select code_agcy, descriptn from systab1 where code_key = 'UNIT'). I want the user to be able to get the counts for each bureau.
How do I pass the parameter that the user picked to those command objects. I tried doing this:
select emrace, count(empl_id) cntFCiv from emmain where emtype='CIV' and emsex ='F' and emdateterm is null
and emunit = '{?Bureau}' group by emrace
But it did not work. Any help will be greatly appreciated.
Thanks. -
How can I use variable name as a prameter value in HOST Command ???
Hi All,
How can it possible to use variable value in parameter in HOST command ??
Following in my code:
host('rwclient server=reptest report=c:\cust_print.rdf p_1= s_sam_cust_id userid=wh1/wh1@dwh desformat=pdf desty=file desname=c:/temp/'||v_sam_cust_id||'.pdf');
RegardsHello,
The Syntax of the builtin HOST is :
SyntaxPROCEDURE HOST
(system_command_string VARCHAR2);
PROCEDURE HOST
(system_command_string VARCHAR2,
screen_action NUMBER);
So , you can build the system_command_string as any VARCHAR2
Example are provided in online help :
http://www.oracle.com/webapps/online-help/forms/10g/topics/f1_help/builth_m/host.html?tp=true
Regards -
What are alternatives for passing DB credentials to rwrun/rwclient command line instead of USERID parameter?
As per application security, the DB details should be mentioned in command line.
I am looking for alternatives which I can use?
Please help.
Regards
Gaurav AnandIf you want a database username/password for every user that runs a report, you need to include un/pw in the command.
An option that you see quite often is that Reports use a general database user to run any report. In that case you can include the un/pw of this special user in the Key Map File:
http://docs.oracle.com/cd/E17904_01/bi.1111/b32121/pbr_run013.htm#RSPUB23557
Of course, in that case you need an application in front of the call to the report to check if the user is allowed to run the report. This is how most web applications work anyway: there is one database user, and application users are maintained in the application itself.
Or you can use single sign on:
http://docs.oracle.com/cd/E24269_01/doc.11120/e24479/pbr_sso002.htm#RSPUB23512 -
Hallo,
I'm looking for an alternative to the HOST-command in dev2000.
HOST always displays that ugly window of the dos-box, even when
i launch a gui-program.
I suppose its possible to achieve the same via ora_ffi and
shell32.dll or something...
Wouldn't mind if someone could post some src.
I want to use to invoke the web-browser and open a url.
thanks
M.
nullI'd similar problems with the HOST command which tries to invoke
DOS/COMMAND window before executing the requested command. I'm
using Windows NT and Windows 95 and as Matthias Schulze wrote it
looks ugly.
Question 1:
On Windows 95/NT, you can execute commands like EXCEL.EXE from
START --> Run option which start the requested program directly.
Is there a way to tell developer2000 to execute the programs
similarly?
Question 2:
Host command with NO_SCREEN parameter is an alternative. But that
doesn't give you the return status. Have anybody come across this
and if so, is this a bug or expected functionality?
I'm using Developer2000 V2.1 on NT/95.
Vishnu Vadla (guest) wrote:
: Matthias Schulze (guest) wrote:
: : Hallo,
: : I'm looking for an alternative to the HOST-command in
dev2000.
: : HOST always displays that ugly window of the dos-box, even
: when
: : i launch a gui-program.
: : I suppose its possible to achieve the same via ora_ffi and
: : shell32.dll or something...
: : Wouldn't mind if someone could post some src.
: : I want to use to invoke the web-browser and open a url.
: : thanks
: : M.
: Mr. Matthias Schulze
: Try using Web.Show_Document a built in available in forms 5 and
: above, it works on java initiator but, i tried but in does not
: work in the applet viewer.
: Vishnu V.
null -
Alternative for EXEC command(Native SQL)
Hi Friends,
While Using the EXEC command in native sql it is showing the obselete Error , Can any one help with giving the alternative for the commands for native SQl.
ImmediateIn a Native SQL statement, data is passed between the ABAP program and the database using host variables. A host variable is an ABAP variable that is identified as such in the Native SQL statement by a preceding colon (:).
Example
Displaying an extract from the table AVERI_CLNT:
DATA: F1(3), F2(3), F3(3).
F3 = ' 1 '.
EXEC SQL.
SELECT CLIENT, ARG1 INTO :F1, :F2 FROM AVERI_CLNT
WHERE ARG2 = :F3
ENDEXEC.
WRITE: / F1, F2.
To simplify the form of the INTO lists in the SELECT statement, you can, as in Open SQL, specify a single structure as the target area.
Example
Displaying an Extract from the Table AVERI_CLNT:
DATA: BEGIN OF WA,
CLIENT(3), ARG1(3), ARG2(3),
END OF WA.
DATA F3(3).
F3 = ' 1 '.
EXEC SQL.
SELECT CLIENT, ARG1 INTO :WA FROM AVERI_CLNT
WHERE ARG2 = :F3
ENDEXEC.
WRITE: / WA-CLIENT, WA-ARG1.
Native SQL supports the directly-executable commands of your underlying database system. There are other special commands that you can use after the EXEC SQL statement for cursor handling, stored procedures (procedures stored in the database), and connections to other databases.
Cursor Processing -
Alternative for Open , Fetch cursor command
Hi Experts,
I am populating data from glpca table using Open Cursor statement with hold as shown below:
OPEN CURSOR WITH HOLD cur1 FOR
Select data from the purchase order header table.
SELECT runit rprctr sprctr
racct rfarea hsl msl kostl aufnr ps_psp_pnr
FROM glpca
WHERE docnr IN s_docnr
AND rbukrs = p_rbukrs
AND rprctr IN s_rprctr
AND sprctr IN s_sprctr
AND rfarea IN s_rfarea
AND budat IN s_budat
AND kostl IN s_kostl
AND aufnr IN s_aufnr.
Now when i try to Fetch the cursor even restricting it with PACKAGE SIZE command ( value 998), my program get struck over here for 20-30 mins or more den that & session gets out for the user at client end coz of large data. I checked the value of cursor , it was around 670-700 approx.
The query is shown below:
DO.
fetch rows from cursor depending on package size
FETCH NEXT CURSOR cur1 INTO TABLE t_glpca
PACKAGE SIZE p_size.
IF sy-subrc NE 0.
CLOSE CURSOR cur1.
EXIT.
ENDIF.
The program get struck at above fetch next cursor command.
Kindly suggest me some other way to handle or populate the data or any alternative for Cursor command.
Thanks for your consideration.
Regards
MuditSiegfried Boes wrote:
> there is a reason why OPEN CURSOR WITH HOLD is usually used.
>
> Siegfried
Sorry for hijacking this thread and asking here. I am here in the forums on daily basis just reading and learning.
This got me curious and I googled and read SAP tutorial about cursors:
http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/content.htm
also read an answer from Thomas after searching forum:
The combination with OPEN CURSOR ... WITH HOLD allows package processing of tasks that require a database commit inside the loop. A normal SELECT loop without holding the cursor would be interrupted by a commit -> short dump.
MY TWO QUESTIONs
1. In SAP tutorial it states that
"WITH HOLD addition in the OPEN CURSOR statement allows you to prevent a cursor from being closed when a database commit occurs in Native SQL"
If I don't specify any commit statements in my abap code and user cursor without the addition with hold.
Can a commit be executed anyway and I get an unwanted commit and thus an unwanted close of my cursor?
Or do they mean that "if you specify commit in native sql"?
2. Thomas says a normal select loop without the cursor holding would be interrupted. Interrupted by who? Again, it seems like there is an "unwanted" commit here? Again, can there be any commits and unwanted interrupts if I dont specify it somewhere in my code?
regards
Baran
Edited by: Baran Sölen on Feb 25, 2009 11:39 AM -
JDAPI to search for HOST command in PLSQL
Hi All
How do I seach for all host commands in a form. I can convert the form to text or xml but I would like to do that using JDAPI. Has anyone successfully done that.
Any help is appreciated.
Rgds
Arvind BalaramanCan someone help me?
Rgds
Arvind Balaraman -
Hello - We are performing customize installation for Captive CS6 with the help of AAMEE tool. We have couple of licenses which we wish to supply over the installation command line during deployment. However we did not find any parameter or the command line which will allow us to enter the license key during installation. Has any one succeed in finding the command line where we can pass the license key during installation of this application?
Thanks.Can you post the last bit of your log file? 100 or so lines should be plenty to see what's going wrong.
-
Need a sample file for IDQ parameter file and a Shell script to execute it from command line
Hello,The parameter file itself is generated from cmd line using infacmd command and it automatically creates the parameters inside it based on the parameters created inside the mapping and the workflow. So, even if one provides you a paramtere file for IDQ, it might fail as your workflow definition and its paramters would be different. Thanks,K
Hi all My project migrated from Power Center to IDQ developer and I had to move all my mappings to IDQ developer. I was able to migrate everything except for the parameter files. It seems that the layout and syntax for parameter file is different from Power Center. Is there anyone who can help me out or send me a sample of a parameter file for IDQ? As well as a sample shell script to run the mapping or application from the Command line.This is an urgent need and It will be greatly appreciated. ThanksNaveen Medisetti
-
How to use host command for creating folders
i want to create a folder called abc in my C drive using forms 6i.
how can i do it using Host command?Host('MD C:\ABC');Francois
-
Can we pass data-parameter in host
Can we pass a data-parameter to a report using host command in the form.
urgent please
vishalYour answer is quite correct, but it is stupid behavior - how do you build backwards compatibility into a function if you have to specify the keyword 'default'?
For example, I have an existing function that takes one parameter, but I need to alter it to take two parameters. I work for a large bank that has a rigorous change management process, and this function resides in the data warehouse, so many
people can use this function in their code, and I need to ensure that any changes I make are backwards compatible, and don't break any existing code that I don't know about.
If this was a stored proc, I could call it without the optional parameter, and the default value would be applied, but a function needs me to specify the keyword 'default' or to provide a value.
My only option seems to be to create a wrapper function that calls either the old function (if only one parameter is provided) or the new function (if both parameters are provided). Sort of defeats the purpose of having default or optional values. -
How to run a HOST command from Report 2.5
Hello everybody,
I want to pass an unix command from a Report. I am running the report (Report 2.5) on an Unix server and I want to pass a unix host command inside the Before Report Trigger of the report. But Report2.5 is not recognising the HOST built-in. Is there is any way around?
Thank in advance.
Samujjwal BasuFirst off is that openssl command correct? Should it be this instead:
openssl pkcs8 -inform der -nocrypt -in test.der -out result.pem
Try out your openssl command within a command prompt so that you know that it works ok. I think the command line you specified waits on stdin (well it does for me).
After that.....
runtime.exec creates a Process object. If you do this:
Process openssl = runtime.exec("....")
then you can examine the return code from openssl to see the exit code - for instance if the input file does not exist then exit = 1. You can test for this with Java
Alternatively you could get the stderr from the process and look inside it - if it is 0 length then all is good, if it has some text in there then it has likely failed. You could then throw an exception and include the stderr output in the exception messgae. You may need to experiment with this, runnig it first when openssl is happy then running it again when openssl is upset.
M
Maybe you are looking for
-
How to backup files to ensure future access and use using a different mac
I recently attempted access backed up data on my LaCie drive from a different Mac notebook. I was blocked. I didn't write down the message, but it essentially advised that the data was locked and I wasn't allowed access. I wasn't given a chance to en
-
HT1689 How do I remove credit card information from my iTunes account
Hello my name is Deionte and I put a credit card on my ipad 2 to purchase some music and now I would like it off because it is keeping me from buying any other apps because of billing information that has changed and nothing has changed.
-
hey, i'm going to hook my macbook to my HDTV via the DVI adapter and then HDMI to the TV. My question is this: My Macbook has a screen dimming function, whether it's plugged into a wall socket or not after a short time of no operation the screen goes
-
I have sent all info to receive my serial number for this product 4 days ago and still have not received any email to get the serial number for the product I brought. I'm not sure if the information (ie proof of eligibility) has been sent through.
-
Technical name for a lower 3rd? (off topic)
This is a bit of a random question, but I remember reading/hearing before a technical term for a lower 3rd. I totally forgot what it was, think it might've started with a T :S. I think it was a term used for a graphic that would go behind the text in