Sitemap

Amicuk Programming Answers

Unable to run a Batch File Operating System Command

2015-10-11   Views:2

Advertisement

Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing. My Batch file: gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin My Command Line (ID scenario) exec "cmd.exe /c C:\Progra

Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing.
My Batch file:
gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin
My Command Line (ID scenario)
exec "cmd.exe /c C:\Progra~1\GNU\GnuPG\boagpg.bat %F"
If I execute
exec "cmd.exe /c type C:\Progra~1\GNU\GnuPG\boagpg.bat >xis.txt"
It displays the contents of boagpg.bat file in xis.txt.
I just don't understand why when I run the batch file, I would expect an %F.asc encrypted file in the same directory as the %F unencrypted file.
Any ideas?
or will I need Basis to create commands that will allow me to run GPG from XI Command Line?

The replay answer
Advertisement
Check this links if its helpful
http://help.sap.com/saphelp_nw04/helpdata/en/bb/c7423347dc488097ab705f7185c88f/frameset.htm
/people/sap.user72/blog/2004/01/30/command-line-help-utility
Check this thread a similar problem
Process Integration (PI) & SOA Middleware
Note 841704 - XI File & JDBC Adapter: Operating system command
http://service.sap.com/sap/support/notes/841704
Try to see the below links
/people/michal.krawczyk2/blog/2005/08/17/xi-operation-system-command--error-catching
OS Command on FTP
OS command line script - Need help
FTP - Run OS Command before file processing
Note: reward points if solution found helpfull
Regards
Chandrakanth.k

Go to See the other 3 answers

Unable to run a Batch File Operating System Command

Category:DefaultRelease time:2015-10-11Views:130

Using XI 3.0, I am unable to run a Batch File Operating System Command After Message Processing. My Batch file: gpg -se -r BOA3RSKY --armor --passphrase-fd 0 %1 < C:\Progra~1\GNU\GnuPG\gpgin My Command Line (ID scenario) exec "cmd.exe /c C:\Progra[More]

Is it possible to call operating system command after file receive?

Category:DefaultRelease time:2015-10-11Views:130

Hi expert, I'm trying to call operating system command after file receive comm.channel receive a txt file. operating system command uses txt file name as parameter. Is it possible? How? Thanks.Hi, It should be possible, actually we have two options t[More]

Running a batch file - VERY URGENT .. help

Category:DefaultRelease time:2015-10-11Views:130

Hi people I am attempting to run a batch file from with a JSP page. the code i am using is: Runtime runtime = Runtime.getRuntime(); Process process = runtime.exec("cmd.exe /c d:\\uploadfiles.bat"); This jsp file is located on the c: of a webserv[More]

Filestream Creation Unable to Open Physical File Operating System Error 259

Category:DefaultRelease time:2015-10-11Views:130

Hey Everybody, I have run out of options supporting a customer that is having an error when creating a database with a file stream.  The error displayed is unable to open physical file operating system error 259 (No more data is available).  We're us[More]

File Receiver Adapter:Run Operating System COmmand after message Processig:

Category:DefaultRelease time:2015-10-11Views:130

Dear All, I have gone through this link [http://help.sap.com/saphelp_nw2004s/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm] But i have a problem. In the scenario which we have, File name is DYNAMICALLY GENERATED by a UDF I want to call th[More]

Run operating system command for sender File adpter (NFS)

Category:DefaultRelease time:2015-10-11Views:130

Hi All, iam doing a file to RFC scenario, using 'Run operating system command' in sender file adapter to change the file name while archiving (after processing completed). I mention OS command like this: sample_server\scripts\Test\Rename.bat" Rename.[More]

Operating system command in file receiver adapter

Category:DefaultRelease time:2015-10-11Views:130

Hi, How to use the Run Operating system command after message processing option in the parameters tab of the file receiver adapter. I am working on a scenario wherein a batch file needs to be invoked after the file is written on the file system. So h[More]

Running a Batch File on another Server with an Oracle Job

Category:DefaultRelease time:2015-10-11Views:130

hi, i have the following code BEGIN DBMS_SCHEDULER.CREATE_JOB ( job_name => 'test_job_bat', job_type => 'EXECUTABLE', job_action => '\\10.1.1.63\test\test.bat', enabled => true, comments => 'test bat' END; So i want to run a batch file, whi[More]

Trying to run a batch file in ODI and the file is on a windows network drive.

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I'm trying to run a batch file that is located on a windows shared drive for the ODI server. When I try to run the file through OS command by giving the file path in the "command line". I get the error " ODI-1226: Step fails after 1 att[More]

File Adapter 7.11 - set operating system command line dynamically

Category:DefaultRelease time:2015-10-11Views:130

Hi, is there any way to set the "Operating System Command Line" in the file adapter as ASMA / dynamic attribute? I need to set  a command line exec depending on some XSL mapping values. thx holgerhi, >>>is there any way to set the "[More]

Operating System Command After File Processing in Sender File Adapter

Category:DefaultRelease time:2015-10-11Views:130

Hello guys, actually we have different interfaces, and the client to take all the files from only one directory, for example D:/DPI. Unitl now we had one adapter for every file with the content conversion, so we didn't have problems with that. Now we[More]

Hot
I have wrote below about my ongoing problems with BT. I am going to use this thread as a record and to refer others to because if I have to go over it one more time I fear my brain will melt. Advice appreciated. Four months ago: Possibly/probably unr [More]
Hi everyone,<br /><br />Ive been trying for days now to integrate BlazeDS into one of my Coldfusion 8 multi-server instances, and I get the following error in Flex Builder 3: Channel definition, mx.messaging.channels.StreamingAMFChannel, can n [More]
Lately my e-mails have been showing an X in a box where a picture or graphic should have appeared. This may have started with the latest OS update. Some times the picture appears. Some times I can see it in preview. Sometimes I can save it to the des [More]
Now that I have downloaded the latest Flash software, I have no sound in Flash content. How to fix?To give you any useful advice, I'm going to need to know more about your computer and browser: https://forums.adobe.com/message/5249945#5249945Read oth [More]
As I understand, with Jena adapter java interface, the client can connect to Oracle RDF database directly. Why does it still need SPARQL web service endpoint? Does the query request from Jena adapter at client side have to go through SPARQL webservic [More]
Bonjour, j ai l'habitude de travailler avec la version d'essai d'in Design ( travail ponctuel et impossible d'acheter la version definitive -à mes frais- pour le moment vu que je n ai pas encore mon contrat definitif), et jusqu a present, je n avais [More]
Hello I just bought a new HP laptop with Windows 8 preinstalled. It has 500 gb HDD and since I also have a 1TB hdd i wanted to swap them. I created Image of the disk and then recovered it on the bigger HDD (using Acronis 13). Everything worked fine, [More]
Hi everyone need help I am updating a column which has 35 millions of records. When i start update, it is taking like > 60 mins and its not stoping (finishing). I need to null that column A, and update that column A  with the other column B values. T [More]
I am running 40 minute Presenter 7 files. Some attendees will just restart the Presentation part way through. I'm guessing they are exiting and restarting. When you join part-way into the presentation it starts from the beginning. Why? How can I make [More]
Hi All, Is its possible to remove the Add button in Send Mail option?. If Add button is not possible, then is it possible to remove the whole Attachments part of the Send Mail component? How can we remove these components? Regards GeorgeHi George, we [More]