Change status(Active/Inactive) of file adapter by the external command

Hi, all.
  Is it possible to change status(Active/Inactive) of file adapter by the external command?
  Let's say, like
  "$ switch_file_adapter_status.sh <File Adapter name> <active|inactive>"
or something like that.
  Actually, we have the following requirement for the file adapter.
  For example, we have many "file adapter to R/3" scenarios and we only want to allow data transfer between 9:00 a.m. to 9:00 p.m.(R/3 service time).
  In order to achieve this requirement, one option would be to switch file adapter status between active and inactive by external command line.
And this command will be controlled by the job scheduler(like Tivoli).
  Does XI(3.0 or above) have this kind of feature?
  Best Regards.

Hi,
I don't think that this is possible.
But one Solution for your problem could be a job on xi who execute the Queue.
So that Adapter work the hole time and send the Message to XI Queue which process them not automatically.
And the XI Queue you can trigger with a Job like normal R/3 Jobs.
Hope that helps,
Regards,
Robin

Similar Messages

  • Is there a way to access my iTunes Library, which is stored on a (PC) External Hard Drive, on a MacBook Air (through an Apricorn Universal Hard Drive Adapter), without transferring the music files off of the external hard drive?

    Is there a way to access my iTunes Library, which is stored on a (PC) External Hard Drive, on a MacBook Air (through an Apricorn Universal Hard Drive Adapter), without transferring the music files off of the external hard drive?
    In other words, because the MacBook Air only has 120 gbs of hard drive space & my old hard drive, from a Lenovo, has 500 gbs of hard drive space (and I have over 120 gbs of music), I’m looking to manage my iTunes music from the external hard drive permanently. Upon attempting to access the iTunes library held on the external hard drive the following message comes up: “The iTunes Library.itl file is locked, on a locked disk, or you do not have write permission for this file”.  Is there a way to get around this?
    Any advice would be greatly appreciated, thanks so much!

    You will have to engage a split library which means you will have to start answering questions on this forum because you will need to learn a lot about how iTunes works in order not that have a big mess at the end of it all.  It also won't be easy when the time comes to relocate it all to different drives.
    You can go to advanced preferences and turn off organize media and copy to items to media folder when adding items to library.  Next read about how to selectively consolidate items to the external drive.
    Sept. 2010, Consolidate selected content - https://discussions.apple.com/thread/2589812 and April 2014, https://discussions.apple.com/message/25414357
    "...selected the new tracks directly in iTunes, Control-clicked on the selection, and saw that now you can consolidate selected items." - http://hints.macworld.com/article.php?story=20090919000326840
    Remember that when you start iTunes without the external drive turned on iTunes will present you with a bunch of broken links.  If you have automatic downloads enabled with iCloud you may have to turn that off to prevent iTunes from repopulating your drive trying to deal with those "missing" tracks.
    If you add tracks in bunches to iTunes and want them to go to different media folders you will need to either add them by holding down the option key while dragging if the desired media folder is not the one set in preferences, or by changing the media folder in preferences.  Changing media folder preferences only applies to new files added, not old ones.
    Okay, I am going to stop typing because you might just reply to me, "Oh, okay, forget it," and I don't need the exercise.
    What are the iTunes library files? - http://support.apple.com/kb/HT1660
    More on iTunes library files and what they do - http://en.wikipedia.org/wiki/ITunes#Media_management
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    Where are my iTunes files located? - http://support.apple.com/kb/ht1391

  • Sender File Adapter picking the same file twice

    We are facing a weird issue with File Sender Adapter
    We are using PI File Adapter ( NFS ) to read files for a NFS folder and
    processing those in PI.Normally it works fine. But for a scenario we
    are noticing it sometimes process the same file twice before archiving,
    thus duplicating the financial postings.
    What we have is :
    File Sender Adapter - NFS, Polling interval 60 secs, and Processign
    mdoe Archive. File name includes Wildcards - JE_Upload*.txt
    what we are noticing is that :
    when it picks up a file, it immediately polls again to check for
    another file, and sometimes the file is not yet archived so it picks up
    and reprocess the same file.
    If you see the message below, both belong to the same file, and it
    picked up the same file again in 12 secs after processing it the first
    time
       Successful 02.11.2009 15:01:00 02.11.2009 15:01:01   APMANUAL     urn:bl:i2g:003:100
    SI_SKF_FIDOC_OB XI Message
       Successful 02.11.2009 15:00:49 02.11.2009 15:00:50   APMANUAL     urn:bl:i2g:003:100
    SI_SKF_FIDOC_OB XI Message
    Anyone seen this behavior before?

    Hi,
    Please check the script which creates file in source NFS Folders. There is possibility that script is making change in file when PI is picking up the file.
    When PI picks the file first time it creates one message ID in system. After that if script is making any change in file without file name change (This need not necessary data change), for PI it becomes new file and new message gets generated in PI for same file.
    This error normally comes when File adapter is not able to archive file succesfully. For eg. file with same name alredy exists in Archive folder.
    File adapter generates the new message id whenfile get modified(eg.change in its length or data change) even though
    the file name is same and when file get change ,XI file adapter thinks that its new file and hence generate the new message id for same file.
    If file has same name and notmodified then XI adapter will not generate new message id and will keep on throw the error till you remove that file with same name from the
    archieve directory.
    -Warm Regards,
    Gouri

  • HT2493 How to change preview image of a file and NOT the icon ?

    Hello dear Mac users
    How to change preview image of a file and NOT the icon ?
    I know how to change the icon of a file, but I wish to know how to change the preview of any file.
    For example: my file is "mysong.aif", I changed the icon to be "mylogo.png" using cmd+i, cmd+v on the icon. But the preview of the file still remain the same.
    I know it can be changed using iTunes, but I don't want to import all my files in iTune, and iTune cannot import all type of files.
    I hope someone will understand my needs...
    Thanks!

    Thanks BeerbarX
    You can't change the preview image for anything
    hoo
    QuickLook plugin
    what are the plugin ?
    In the case of a music file, it will be that generic black box with a note on it
    That is exactly what I'm asking about !
    MP3 which has a special tagging standard that can include artwork
    How can I "tag" my MP3 without going thru iTunes ? Is it possible to do it dirrectly in the Finder ? Is there other type of files that can include such tags ?
    Thank you for answering my question , wich I have to admit may seem useless, but I wish I could put something like a signature logo on each of the different file I produce (as AIF for music and MP4 for video clip) instead of that generic black box with a note on it, and by the meantime keeping a different icon for all of them in order to illustrate theire content.

  • No request generated for batch status active/ inactive settings

    Dear Experts ,
    When is make the status "active " for batch in IMG , Logistics general , Batch management , Specify Batch Level and Activate Status Management,Define Batch Status management  , THE SYSTEM DOESNT ASK FOR A REQUEST .
    Plsease tell em if it is ok for the system to NOT TO ASK FOR A CHANGE REQUEST ?
    IF yes , please let me know if we need to directly  make the above settings in the [production server ???????
    Regards
    Anis

    any response ?

  • Receiver File Adapter Not Executing OS Command

    Hello All!
    We are currently running PI 7.1 and wish to use a Receiver File Adapter to FTP a file to a mainframe and override the FTP system defaults.
    Tried using the 'quote site recfm=fb lrecl=80' OS command but discovered that this would not work as the Adapter Engine is NOT on the mainframe.
    Regrouped a bit and made a second attempt which involved writing a Unix script to ftp a file and override rthe system defaults.   The idea was to use the File Adapter to FTP the data to the server, invoke the script and get the file to the mainframe with the proper attributes.    The script when executed on the server works perfectly.   
    However, when the IDoc comes thru PI, the File Adapter ftp's the file ok but the script is never executed.
    Any ideas why this is so or any suggestions?    
    Thank you.

    Hi Ken,
    Script only executes at Network File sharing (NFS) only. It dont work at FTP level.
    So you can better write the file on NFS and then within the script to connect to ftp and do your processing.
    Regards,
    ---Satish

  • Sender File Adapter- Incrementing the counter in file name

    Hello,
    We have a requirement to read a different file name with every read. Every subsequent file would have a numeric counter updated when we receive it, we need to read that file as the directory would hold the previous files as well.
    File structure :- EP<counter>.txt ; so first file would be EP001.txt, next one would be EP002.txt.
    How could i do this in Sender file adapter, as there is no variable substitution available like receiver file adapter.
    I cannot use wild card characters as the directory would contain previous files as well and we ned to pick the latest file.
    Regards

    Hi,
    >>How could i do this in Sender file adapter, as there is no variable substitution available like receiver file adapter.
    Yes true this is not available in sender channel
    >>I cannot use wild card characters as the directory would contain previous files as well and we ned to pick the latest file.
    You can use EP* as the filename and use processing mode as Set to Read-Only
    Regards
    Suraj

  • File Adapter Overwriting the output files

    Hi All,
    I´m using a File Receiver Adapter to write flat files on to an FTP. Same Communication Channel is used for all types of output files (As per the business requirement the file name(
    MzOutput.txt) shud b same for Deliverz orders, Purchase orders etc...). The receiver legacz szstem reads one file at atime and deletes it. So if i´m writing a Deliverz Order File, i have to wait until the file MzOutput.txt gets deleted and then i have to write the next file using the same name. in order to acheive this, i had used a module processor which waits until that MzOutput.txt gets deleted. Mz problem is
    As there are ´n´ no of orders waiting in the queue, if at 12:14:00 the MzOutput.txt gets deleted, then two threads which check for the existance of the MzOutput.txt file finds nothing and tries to write at same time. as a result, first file got overwritten by the second file.
    I dint check the indicator OverwriteExisting File in the CC configuration.If i use two different CC channels to write the same file, it is giving FTP Exception which is true.
    I´m loosing few deliveries as a result of the above case. Can anzone please help me out in this regard?
    Thnx in Advance
    Anil

    Hi Anil,
    Why dont you write the files with 'Add time stamp' option on for the file name and then the third party/legacy system to read the files in the order which they were created.?
    Another option will be to write these files into a folder with these Add time stamp option/counter option and make a shell script check the folder for the MzOutput.txt file exists in the folder from where the third party/legacy system reads the file and once it has deleted the existing file, then ur files shud be moved in the order in which they were written n the temporary folder.
    This will avoid the queue of messages in the adapter engine.
    Cheers
    JK

  • How to configure File Adapter along with OS command option

    Hello,
    I want to configure a scenario using File Adapter with OS command option.
    How to use that option in channel configuration of File Adapter.
    What is the default path where it is actually runs this OS command?
    Thanks,
    Soorya

    >
    surya venkat wrote:
    > Hello,
    > I want to configure a scenario using File Adapter with OS command option.
    > How to use that option in channel configuration of File Adapter.
    There are two ways to use the Os command in the file adapter.
    Lets talk about the sender File Adapter.
    First: Run operative system Before Message Processing
    Whenever any operation needs to be performed uppon the source file Just before XI picks it up.
    e.g. Calculate any hash code, backup the file to a given location, create a log at os level, etc...
    ... After Message Processing
    After Xi has processed the message, you can trigger a new os level command:
    e.g. Trigger a mail, check if the archiving was successful, etc.
    > What is the default path where it is actually runs this OS command?
    >
    Theres no default path, you assign the desired path in the Comm Channel configuration.
    > Thanks,
    > Soorya
    I hope it helps.

  • Problem with reciver file adapter in the content conversion.

    I have starnge situation where the fileds in the file created after the content conversion are center aligned.
    Can someone let me know how to make it right aligned?
    For eg, i have a field with Char(6) in the file it looks as follows:
    1.23 ->    | 1.23 |
    10.23 ->  |10.23 |
    100.23-> |100.23|
    I want it to be like this :
    1.23 ->    |  1.23|
    10.23 ->  | 10.23|
    100.23-> |100.23|
    Please let me know ASAP as its a critical issue for the customer.
    Warm Regards,
    Nilesh Kumar

    Hi Nilesh,
    if You are using file content conversion on Sender Adapter, then do you java mapping between your two interfaces(sender and receiver)
    use java.text methods for formatting the values according to your requirement.
    first check the java API 1.4.2....
    with in that check java.text.* methods
    Also there will be lot of examples availble on internet on this. Check online.
    Also check this link this will definitely solve issue
    [http://www.iro.umontreal.ca/~vaucher/Java/tutorials/Formatting.html]
    Sample code on this link
       double x = 1.0 / 7;
       for (int n = 1; n<5; n++)
          System.out.println( "1/7 : "  + format( x, n, -6)
                                        + format( x, n, 10));
    Thanks
    Gujjeti
    Edited by: Praveen Gujjeti on Apr 16, 2008 6:16 AM

  • Mainframe Integration using File Adapter (FTP Mode):: ftp commands

    Hi,
    We are trying to integrate with Mainframe system using File Adapter. (FTP mode). We are able to write the file to Mainframe system but not able to format it properly. We had to provide FTP parameter,  <b>ftp.quote site recfm=fb lrecl=150</b>
    As per SAP Note 801926 :: XI 3.0 File Adapter: Additional Parameters, the only parameter that can be used is <b>ftp.timeout</b>. Has anyone tried out using other FTP parameters? (like ftp.quote)
    Any help is grealy appreciated.
    Regards,
    Siva Maranani

    I am looking at running some OS commands especially the QUOTE SITE FILENAME, and found this OSS note:
    https://service.sap.com/sap/support/notes/841704
    In this note it says...
    "Note that for the File Adapter transport protocol "FTP", the operating system command is NOT executed on the FTP server, but on the server hosting the Adapter Engine."

  • Order of directories and files listed by the ls command

    Per default, the "ls" command lists directories and non-directories separately in lexicographical order.
    Is there a possibility to change that order of listing and sorting?
    For example, if I want "ls" to list my directories and files not by name but by change date +per default+ without using any additional options, what will I have to do?
    Is there a command or a setting which influcenes "ls"'s order of sorting?

    I don't think the defaults for ls can be changed as it is a compiled binary located in /bin. Besides compiling your own version of ls, one solution is to add lines such as the following to /etc/profile or (presuming you're using BASH) ~/.bash_profile and opening a new Terminal window:
    alias l="ls -l"
    alias ll="ls -la"
    I have two such lines in my own profile so that when I type "l" followed by the return key I get the output of "ls -l" and issuing "ll" gives me a listing of dot-files, too.
    Probably not exactly what you were looking for but it does simplify the command issued at the command line and avoid compiling your own.
    hth,
    Johnnie Wilcox
    aka mistersquid

  • Including files/resources using the ADT command line

    Hi all,
    I'm trying to get file support into my ADT helper tool before I release an update.  I am still having problems.
    According to the Adobe docs on the subject, the following commands can be used:
    -C "path/to/new/working/directory" [files and folders to include]
    -e [files and folders to include] [package directory to add these to]
    The following example works fine for me:
    // This changes the working directory to my audio resources folder, and then packages the file 'track.mp3' into the root folder of my application package.
    -C "C:\\resources\audio" "track.mp3"
    Hoiwever using -e option in any way generates an error:
    // This copies the file 'sfx.mp3' from the current working directory to the application package subdirectory 'lib'
    -e sfx.mp3 lib
    This also causes an error:
    // Change the working directory to resources/audio and then copy the file called 'sfx.mp3' to the 'lib' subfolder of the application package. Error.
    -C "C:\\resources\audio" -e sfx.mp3 lib
    The error in both cases is:
    File does not exist: sfx.mp3
    Any ideas how I can use the -e option?  Does the working directory not come in to it - do i always have to use an absolute path to my file?
    Thanks in advance,
    Peter

    Not sure if it will help in your situation, but I just include files by adding the filepath at the end of my adt command line (no -e or -c). Eg (included files or bolded):
    "C:\Program Files (x86)\Java\jre6\bin\java" -jar C:\Users\t.randall\Documents\AIRSDK\AIR_3.0\lib\adt.jar -package -target ipa-ad-hoc -storetype pkcs12 -keystore ..\..\Deployment\CareerBox.p12 -storepass pass -provisioning-profile ..\..\Deployment\CareerBox.mobileprovision ..\..\CareerBox.ipa CareerBox_iPhone-app.xml CareerBox_iPhone.swf AppIconsForPublish\Icon29x.png AppIconsForPublish\Icon57x.png AppIconsForPublish\[email protected] AppIconsForPublish\Icon512x.png AppIconsForPublish\Icon48x.png AppIconsForPublish\Icon72x.png Default.png [email protected] Default-Landscape~ipad.png Data\Cards.xml Data\CareerCards.xml

  • How do I set the default file path for the Place command?

    I keep my graphics files for each document in a particular folder. Every time I open an existing InDesign document and place a new image I have to browse back to that location - even though all of the previous images in that document came from the same folder. InDesign does not remember the file path that was used previously in the document. This is very annoying.
    IS THERE A WAY TO SET THE DEFAULT FILE PATH, OR LOCATION, FOR IMAGE FILES?
    I have looked through the preferences, searched the forums and internet, but I have not found any reference to setting default paths. Is there a setting like the one in MS Word called "File Locations" on the Options toolbox?
    Thank you.

    Since you're working in ID on Windows, you can take advantage of a neat trick in Windows. Copy the file path out of the File Explorer address bar and paste it directly into the Place filename field. That will jump you directly to the desired volume. For example, let's say I want to place a graphic located at X:\PS Jobs\May PS\709672bp\Working Source Files\Links. I copy that entire path from the File Explorer address bar, go to InDesign, select File|Place, and press Control + V to paste that path into the filename field. I press the Open button and Shazam! I'm there instantly, without a bunch of navigation.
    You can do the same thing in the File|Save As and File|Export fields. Let's say you want export a PDF file from InDesign to the volume X:\PS Jobs\May PS\709672bp\Working PDF Files. First copy the desired file path from the File Explorer window. In InDesign, select File|Export, click anywhere in the filename field, and press the Home key to move the insertion point to the front of the filename. Press Control + V to paste that path in front of the filename, then add the backslash character (\). The filename will now look like this: X:\PS Jobs\May PS\709672bp\Working PDF Files\Filename.pdf. Press the Save button to bring up the Export Adobe PDF window. Select your desired PDF preset, press the Export button, and the PDF file will magically appear in the desired volume.
    This sounds really complicated, but it's not. In practice, it only takes a few seconds. I probably save an hour's worth of needless navigation every day with this technique.

  • Keeping some files ONLY on the external drive

    I'm ashamed to say this, but I've never used a back-up utility before.
    But I just bought my first HUGE external drive, a WD 2TB My Book Essential, so I'm ready to start being a responsible computer user.
    But I want to keep my Pictures & Movies on the external drive ONLY.
    So, if I run Time Machine, and then clear the pics & flicks off my internal drive, is that gonna cause problems with subsequent back-ups?
    Please forgive me if it's a stupid question. Thanks in advance.

    Yes, at least 600 GBs. It's because TM adds new data to the backup each hour it backs up. Over time the backup uses more and more disk space. As the drive fills up TM prunes away files you may have deleted from the internal drive to allow space for new backups. See,
    About TM "Backup Drive is Full" Alert
    TM only deletes older files if they have been deleted from the source and when TM needs space on the backup drive for a new incremental backup. Time Machine "thins" it's backups; hourly backups over 24 hours old, except the first of the day; those "daily" backups over 30 days old, except the first of the week. The weeklies are kept as long as there's room.
    So, how long a backup file remains depends on how long it was on your Mac before being deleted, assuming you do at least one backup per day. If it was there for at least 24 hours, it will be kept for at least a month. If it was there for at least a week, it will be kept as long as there's room.
    Note, that on a Time Capsule the sparsebundle grows in size as needed, but doesn't shrink. Thus, from the user's view of the TC it appears that no space has been freed, although there may be space in the sparsebundle.
    Once TM has found it cannot free up enough space for a new backup it reports the disk is full. You can either erase the backup drive and start your backups anew or replace the drive with a larger drive.
    By making the backup drive large enough you should be able to avoid the disk full problem. Trial and error has shown that making it at least twice the capacity of the internal drive allows for adequate space over time, although eventually you may find that you will run out of space anyway. You can minimize the problem by not backing up system files (this is a TM option,) virtualization software pseudo-drives, Microsoft User Data folder, other connected drives or volumes, for example, help to avoid excessive and unnecessary backup data.
    For more information see User Tips for Time Machine for help with TM problems. Also you can select Mac Help from the Finder's Help menu and search for "time machine" to locate articles on how to use TM. See also Mac 101- Time Machine.

Maybe you are looking for

  • How do I add multiple birthdays to address book cards?

    I am trying to figure out how to add multiple birthday's to cards in my address book.  Example I have Jennie & John Smith & their daughters Sue & Susie.  How do I add a birthday for each one?  There does not seem to be a way to add more then 1 birthd

  • When-Validate-item question

    Dear all, I have a block have 3 database items (seq_no, sname, svalue). seq_no and sname are text item and svalue is a list item. Number of records display for this block is 3. In when-validate-item of sname, I wrote a validation if sname = 'xxx' the

  • Best monitor for mac mini 2012

    I have bought the mac mini 2012 model and a samsung monitor SyncMaster s22B370. The text is looking blurry. You can look at this thread. https://discussions.apple.com/thread/4497508?start=75&tstart=0. So I decided to buy another monitor. Can you plea

  • What are the steps for installing applet on real card?

    Hi, It has been a month that I am fighting to install applet on java card and now I am really confused where I am going wrong? I have 3 sets of cards -- 1 ) Gemalto (no specific name known) - ATR is --3B 6D 00 00 80 31 80 65 B0 84 01 00 AC 83 00 90 0

  • Hardware virtualization enabled but not working in HP Pavilion p6

    I've got an HP Pavilion p6 series (Model no. p6-2003es), with an up-to-date v7.15 BIOS, and I'm unable to use hardware virtualization. I've enabled Virtualization in the BIOS under System Security, pressed F10 and saved the changes as per the usual p