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
Hello, My Macbook pro was stollen about 2 months ago and i'm currently debating on which Macbook retina I should get, the higher 13" or the higher 15" model. In either case, how do I go about restoring the system to which my old macbook pro was [More]
I have installed and reinstalled CS4 bridge/photoshop several times but not all of the Tools menu options are showing up. As it stands, only these appear: Batch Rename Create Metadata Template Edit Metadata Template Append Metadata Replace Metadata C [More]
We have an java application which apparently contains hard coded references to the java installation directory. I.E. (C:\program files\Java\jre1.4.2_04) The problem is that this means we have to have the same version of java across all our servers fo [More]
I use an Imac with MacOS 10.5.8. Untill recently I used Firefx v9 without problems. After ignoring the urge to upgrade I finally installed Firefox 10.0.2 only to notice that performance now is very poor. Are there any tips, preferences to tune to inc [More]
Hi, if one part # is allocated to a particualr part, i need to put it int the material master . how it can be done? Does it have a different transaction code or can we do it in MM01? thanksDear Kishore When you are saying that " one part number is al [More]
I'm coding in Python and VIM is auto-tabbing each new line.  It's a real buzz kill. When I hit enter at the left margine, even when there is nothing on the line above the cursor, it shoots out a tab and three spaces.  I've switched to nano but feel l [More]
Printer won't print. Can't delete "what's printing" item-tried cancelling, deleting, pausing and restarting, turning off printer, even unplugging printer and repluging it in. The port is cn25u3501f05px, but I don't know if that means anything.   [More]
Hi Everyone, My customer used to assign documentation as BOM item... even for raw material in their old ERP system, that means for raw material, they will also have BOM, the BOM item will be documentation. For SAP, normally we assign the documetation [More]
Hi, We need to create custom forms for an installation having more than 1 installed language. How should we take care of the various language translations? Can anyone who has done this before shed some light on the process? Thanks, AshishHi, Thanks f [More]
my iPod is being real strange. It keeps skipping past songs for no apparent reason and it will only play the ones I added recently. It played them all fine just the other day. Has this happened to anyone else? Anyone know what I can do? Vanx Stuff   [More]