Mail delivery option not working as expected

Hi Jay,
I am running MS 6.0p1. I am using Sun ONE Delegated Administrator for Messaging and Collaboration
Version 1.2P2 to create and maintain mailboxes.
I have a need to run a program when mail is sent to a certain mailbox, so I created the mailbox and went into the Mail Delivery Options screen, checked the "Enable the following programs" checkbox, and put the full path to the command in the box. When I tried to send a message to the specified address, it bounced.
Thinking that there was something wrong with the program itself, I tried to simplify the test by setting the program to "/bin/false", but that still bounced.
Here is the LDAP entry for the mailbox in question:
dn: uid=test, ou=people, o=qisc.com,o=q
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: inetOrgPerson
objectClass: inetUser
objectClass: ipUser
objectClass: nsManagedPerson
objectClass: userPresenceProfile
objectClass: inetMailUser
objectClass: inetLocalMailRecipient
mail: [email protected]
mailUserStatus: active
dataSource: NDA 4.5 Delegated Administrator
mailHost: quixote.qisc.com
givenName: Test
cn: Test Program
uid: test
nsdaCapability: mailListCreate
sn: Program
preferredLanguage: en
inetUserStatus: active
userPassword: {SSHA}value deleted==
mailDeliveryOption: program
mailProgramDeliveryInfo: /bin/falseWhen I send mail to this address, here's the bounce message:
Your message cannot be delivered to the following recipients:
  Recipient address: test%/bin/false@pipe-daemon
  Original address: [email protected]
  Reason: Address not found in database
Reporting-MTA: dns;quixote.qisc.com (pipe-daemon)
Original-recipient: rfc822;[email protected]
Final-recipient: rfc822;test%/bin/false@pipe-daemon
Action: failed
Status: 5.0.0 (Address not found in database)What am I doing wrong?
Thanks,
Bill

As it turns out, setting this up was simple, one I figured out the "imsimta program" thing.
Here's what I did to get this working.
1. Created the following shell script named "deliver-listserv" in the /var/opt/SUNWmsgsr/site-programs directory:
#!/bin/ksh
#       Script to invoke the LISTSERV lsv_amin command when a
# message is sent to a mailing list.
LISTSERV_HOME=~listserv
LSV_AMIN=$LISTSERV_HOME/bin/lsv_amin
SPOOL_DIR=$LISTSERV_HOME/spool
listAddress=$1
listAddress=${listAddress%+listserv}
if [ "$listAddress" = "" ];then
        exit 1
fi
exec $LSV_AMIN $SPOOL_DIR $listAddress2. Set the permissions of the above script to 755.
3. Added this program to the list of approved programs using the imsimta program command:
imsimta program -a -m listserv -p deliver-listserv -e postmaster -g "%s"4. For each list in question, created a mailbox for all of the addresses required by LISTSERV (in this case, test, owner-test, test-request, test-search-request, test-server, test-signoff-request, and test-subscribe-request).
5. For each of the mailboxes created in #5, set the mail delivery options to run the message using the listserv method defined in #3 by checking the "Enable the following programs" checkbox and specifying "listserv" in the command text box. This sets the following attributes in the mailbox's LDAP entry:
mailDeliveryOption: program
mailProgramDeliveryInfo: listservThat's all it takes. Since I specified the "-g" option to supply the username when the program is called, the string "test+listserv" is passed to my script, where I simply strip off the "+listserv" and then invoke the lsv_amin program to handle the delivery. Darned if it didn't work on the first try!
Bill

Similar Messages

  • Send to Audition - Work Area Only option not working as expected

    Just an odd one I came across today and can't see why it is doing this.
    Have part of a sequence that needs to have some work done on the audio so I mark in and out points (and also set my work area to the part in question) and then choose Edit > Edit in Adobe Audition. This then gives me the dialog box and I choose the Work Area only option. However, when Audition opens I get the small section of audio that I need but it has a huge blank space in front of it?? Anyone know what this is happening? I assume it is the area of timeline from Premiere that is ahead of the section I wish to work on but can't see why this needs to be brought in like this.
    Can anyone advise please if I am following the workflow correctly.
    Cheers
    Alex

    As it turns out, setting this up was simple, one I figured out the "imsimta program" thing.
    Here's what I did to get this working.
    1. Created the following shell script named "deliver-listserv" in the /var/opt/SUNWmsgsr/site-programs directory:
    #!/bin/ksh
    #       Script to invoke the LISTSERV lsv_amin command when a
    # message is sent to a mailing list.
    LISTSERV_HOME=~listserv
    LSV_AMIN=$LISTSERV_HOME/bin/lsv_amin
    SPOOL_DIR=$LISTSERV_HOME/spool
    listAddress=$1
    listAddress=${listAddress%+listserv}
    if [ "$listAddress" = "" ];then
            exit 1
    fi
    exec $LSV_AMIN $SPOOL_DIR $listAddress2. Set the permissions of the above script to 755.
    3. Added this program to the list of approved programs using the imsimta program command:
    imsimta program -a -m listserv -p deliver-listserv -e postmaster -g "%s"4. For each list in question, created a mailbox for all of the addresses required by LISTSERV (in this case, test, owner-test, test-request, test-search-request, test-server, test-signoff-request, and test-subscribe-request).
    5. For each of the mailboxes created in #5, set the mail delivery options to run the message using the listserv method defined in #3 by checking the "Enable the following programs" checkbox and specifying "listserv" in the command text box. This sets the following attributes in the mailbox's LDAP entry:
    mailDeliveryOption: program
    mailProgramDeliveryInfo: listservThat's all it takes. Since I specified the "-g" option to supply the username when the program is called, the string "test+listserv" is passed to my script, where I simply strip off the "+listserv" and then invoke the lsv_amin program to handle the delivery. Darned if it didn't work on the first try!
    Bill

  • HP RGS Command Line options not working as expected

    I have a HP RGS Receiver v7.1 installed on my desktop which initiates a remote Session to my RHEL based workstation running HP RGS sender deployed in a LAN. Now when launching the HP RGS Receiver it brings up a window asking for the host name or IP Address of the PC to connect to (in this case the RHEL box). When provided the hostname, the next question asked is the username and the password. When all these detials are provided, the connection is successfully established and all works as expected. I am trying to autolaunch the HP RGS Receiver so I can bypass entering the hostname or ipaddress, username and password during each launch. When reading the usermanual, there is clearly a way of doing this by using the HP RGS commandline autolaunch properties. The property Rgreceiver.Session..IsConnectOnStartup should allow me to setup autolaunch while I provide the hostname,username and password int he following properties: Rgreceiver.Session.n.Hostname Rgreceiver.Session.n.Username Rgreceiver.Session.n.Password Rgreceiver.Session.n.PasswordFormat So it is assumed that when I pass these as command line options while launching the HPRGS executable rgreceiver.exe it should all read the values from the command line and directly establish the connection without me having to enter these details. However it does not seem to work I assume that in n we specify the session number = 1 (because we are working with only a single session) The command Rgreceiver.exe -Rgreceiver.Session.1.IsConnectOnStartup=1 -Rgreceiver.Session.1.Hostname="MyHostName" -Rgreceiver.Session.1.Hostname="MyUserName" -Rgreceiver.Session1.Password="mypassword" -Rgreceiver.Session.1.PasswordFormat=Clear does not seem to have any impact. The HPRGS software behaves the same with or without command line and sending in the commandline does not seem to have any impact on the way it launches neither it gives any error. I have tried to above command line through multiple ways (for e.g. using delimetes and without delimiters, using different values for session number and so on) but it seems Rgreceiever does not even recognize that the commands were given in the first place. I have run out of all options. Any help will be appreciated.

    I'm not sure why the command line parameters are not working, but you might want to try to put these same settings into an xxxxx.rgreceiver file.  When you double-click the .rgreceiver file, the RGS Receiver will launch with the settings contained in the file.  It's worth a try to see if works better for you.   (This is described in the RGS User Guide in a section called "Auto-launching connections.") --Keith

  • MacBook Pro 10.4.9 Mail Search option not working!

    When a key word or email address is entered into the search pain of mac mail, it produces 0 results every time, even when I have an email open containing the exact key word or email address.
    Another thread suggested running a downloadable Etresoft report to help folks in the Apple Community answer questions.  I am a new Mac user, so I really need baby steps to fix this issue.  Being able to search my email is critical to my work performance and the small company I work for.
    These are the results of the Etresoft Report:
    EtreCheck version: 1.9.15 (52)
    Report generated August 27, 2014 at 12:31:54 PM MDT
    Hardware Information: ?
        MacBook Pro (15-inch, Mid 2009) (Verified)
        MacBook Pro - model: MacBookPro5,3
        1 2.66 GHz Intel Core 2 Duo CPU: 2 cores
        4 GB RAM
    Video Information: ?
        NVIDIA GeForce 9400M - VRAM: 256 MB
            Color LCD 1024 x 768
        NVIDIA GeForce 9600M GT - VRAM: 256 MB
    System Software: ?
        OS X 10.9.4 (13E28) - Uptime: 0 days 23:17:13
    Disk Information: ?
        FUJITSU MJA2320BH FFS G1 disk0 : (320.07 GB)
        S.M.A.R.T. Status: Verified
            EFI (disk0s1) <not mounted>: 209.7 MB
            Macintosh HD (disk0s2) / [Startup]: 319.21 GB (3.47 GB free) (Low!)
            Recovery HD (disk0s3) <not mounted>: 650 MB
        MATSHITADVD-R   UJ-868 
    USB Information: ?
        HP Officejet 4500 G510g-m
        Apple Internal Memory Card Reader
        Apple Inc. Built-in iSight
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
    Gatekeeper: ?
        Mac App Store and identified developers
    Kernel Extensions: ?
        [not loaded]    com.novatelwireless.driver.3G (3.0.2) Support
        [not loaded]    com.novatelwireless.driver.3GData (3.0.2) Support
        [not loaded]    com.novatelwireless.driver.DisableAutoInstall (2.0.6) Support
        [not loaded]    com.sierrawireless.driver.SierraSupport (1.4.11) Support
        [not loaded]    com.sierrawireless.driver.SierraSwitch (1.2.2) Support
        [not loaded]    com.sierrawireless.driver.SierraSwitchKicker (1.0.0) Support
        [not loaded]    com.smithmicro.driver.SMSIWirelessCDC (3.2.6) Support
        [not loaded]    com.smithmicro.driver.SMSIWirelessModem (3.2.6) Support
        [not loaded]    com.smithmicro.driver.SMSIWirelessSerial (3.2.6) Support
    Startup Items: ?
        HP IO: Path: /Library/StartupItems/HP IO
    Launch Daemons: ?
        [loaded]    com.adobe.fpsaud.plist Support
        [loaded]    com.adobe.versioncueCS4.plist Support
        [running]    com.citrixonline.GoToMyPC.CommAgent.plist Support
        [loaded]    com.google.keystone.daemon.plist Support
        [failed]    com.vmware.launchd.vmware.plist Support
    Launch Agents: ?
        [failed]    com.adobe.CS4ServiceManager.plist Support
        [running]    com.citrixonline.GoToMyPC.LaunchAgent.plist Support
        [loaded]    com.google.keystone.agent.plist Support
        [loaded]    com.hp.help.tocgenerator.plist Support
    User Login Items: ?
        Dropbox
        SPanel
        HP Scheduler
        HPEventHandler
    Internet Plug-ins: ?
        hpvirtualrooms-plugin: Version: (null)
        o1dbrowserplugin: Version: 5.4.2.18903 Support
        Google Earth Web Plug-in: Version: 5.2 Support
        Default Browser: Version: 537 - SDK 10.9
        OfficeLiveBrowserPlugin: Version: 12.3.6 Support
        Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
        FlashPlayer-10.6: Version: 14.0.0.145 - SDK 10.6 Support
        Flash Player: Version: 14.0.0.145 - SDK 10.6 Outdated! Update
        QuickTime Plugin: Version: 7.7.3
        googletalkbrowserplugin: Version: 5.4.2.18903 Support
        iPhotoPhotocast: Version: 7.0
        AdobePDFViewer: Version: 9.5.5 Support
    Audio Plug-ins: ?
        BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
        AirPlay: Version: 2.0 - SDK 10.9
        AppleAVBAudio: Version: 203.2 - SDK 10.9
        iSightAudio: Version: 7.7.3 - SDK 10.9
    iTunes Plug-ins: ?
        Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
    3rd Party Preference Panes: ?
        Adobe Version Cue CS4  Support
        Flash Player  Support
        GoToMyPC Preferences  Support
        Spanning Sync  Support
    Time Machine: ?
        Skip System Files: NO
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 297.29 GB Disk used: 294.06 GB
        Destinations:
            Seagate Backup Plus Drive [Local] (Last used)
            Total size: 931.19 GB
            Total number of backups: 2
            Oldest backup: 2013-01-18 20:32:13 +0000
            Last backup: 2013-11-27 07:21:53 +0000
            Size of backup disk: Excellent
                Backup size 931.19 GB > (Disk size 297.29 GB X 3)
        Time Machine details may not be accurate.
        All volumes being backed up may not be listed.
    Top Processes by CPU: ?
             6%    firefox
             3%    WindowServer
             1%    plugin-container
             1%    Dropbox
             0%    Mail
    Top Processes by Memory: ?
        549 MB    firefox
        82 MB    Mail
        82 MB    Skype
        61 MB    Microsoft Word
        53 MB    com.apple.WebKit.WebContent
    Virtual Memory Information: ?
        30 MB    Free RAM
        1.47 GB    Active RAM
        1.45 GB    Inactive RAM
        497 MB    Wired RAM
        2.82 GB    Page-ins
        196 MB    Page-outs
    Thank you to any and all who respond to this call!

    Verizon Wireless does not now offer—and has not historically offered—the Palm Treo 680. The Treo 680 is a GSM device, and not compatible with the Verizon network. Verizon currently offers the Palm 700p and the 700wx, and has previously offered various Palm and Windows Mobile devices beginning with the Palm Treo 600.
    The anomalies you see are likely the result of issues with iSync and the iSync Palm conduit, and not with the device itself. With an advanced Palm device such as any Treo beyond the 600, you should instead opt to use either…
    • the Missing Sync for Palm OS, or
    • the Missing Sync for Windows Mobile
    …selecting whichever one supports the operating system of your particular Treo. In your case with a Treo 680, that's the Missing Sync for Palm OS.
    You can learn more about these products by pressing the links above.

  • AFS ARUN Size Substitution Not Working As Expected

    Hi All,
    I need help with this. If any one of you have worked with AFS ARUN size substitution, kindly provide me with some details on how can I set it up. I am specially interested in setting up size substitution with two-dimensional grids.
    I have setup some examples but it does not work as expected.
    Here is a small example:
    Say I have a size 28/30, 28/32 .........29/30....
    What I want to achieve is that during ARUN if there is a shortage of stock in 28/30 then the remaining requirement qty should be confirmed from size 28/32.
    with my setup after 28/30 it goes into looking for stock in 29/30, which is what I do not want.
    Any inputs will be really appreciated.
    Thanks!!

    srdfrn wrote:
    Hi YOS,
    I tried importing a PCX image into CVI 2010 and then sizing the image to the control and didn't see the behavior you have been describing.  Would you mind posting an example (alongside an image file) that demonstrates this?
    Also, one thing I noticed is that PCX images appear to be quite dated.  Could upgrading them to a JPEG or PNG format be an option for you?
    Thanks,
    Stephanie R.
    National Instruments
    Stephanie, thanks for the reply.
    I am very sorry to state that I made a mistake.
    VAL_SIZE_TO_IMAGE indeed works.
    What fails to work is VAL_SIZE_TO_PICTURE. (Second option in Fit Mode attribute in control editing panel)
    I tried with JPEG and it's the same.
    I am attaching an example.(Load_Image.c & ONEP_3Trow_POS1.JPG)
    A panel with two picture rings.
    - SW_1 remains at the intended size and the loaded picture is not clear.
    - SW_2 will fit to picture size and looks OK.
    Appreciate your support,
    YOSsi Seter
    Attachments:
    Load_Image.c ‏2 KB
    ONEP_3Trow_POS1.JPG ‏4 KB

  • Keyboard not working as expected

    I woke up this morning and suddenly found a few problems with my keyboard:
    The caps lock light is reversed so that the caps is off when the light is on and vice versa
    The placement of some of the symbols are moved around. The @ is to the right of the P button and Shift-2 produces a ". Shift-9 is ), shift-8 is ( and many other switched like this.
    Resetting PRAM or the computer doesnt fix this

    Hello there, morris152.
    The following Knowlede Base article provides some great information for troubleshooting your issue with the keyboard:
    One or more keys on the keyboard do not respond
    http://support.apple.com/kb/ts1381
    Particularly:
    Some keys don't work as expected
    From the Apple menu, choose System Preferences.
    From the View menu, choose Speech.
    Click the Text to Speech tab.
    If "Speak selected text when the key is pressed" is enabled, the key or key combination set to speak text cannot be used for other purposes or used to type text--click Set Key and change it to a less-commonly used key combination (try to use modifier keys such as Shift, Command, Option, and Control). Or, disable the "Speak selected text when the key is pressed" option.
    Click the Accessibilty or Universal Access pane in System Preferences, then click the Keyboard tab.
    Make sure that Slow Keys is turned off. With Slow Keys on, you need to press a key for a longer period of time for it to be recognized.
    In the Accessibilty or Universal Access pane, click the Mouse tab, and make sure Mouse Keys is turned off. With Mouse Keys enabled, you cannot use the Numeric Keypad to enter numbers--instead the keypad moves the pointer (cursor). (There is an option to enable Mouse Keys with five presses of the Option key; you may want to turn that option off to avoid accidentally enabling it.) If Mouse Keys is enabled and you are using a keyboard with no numeric keypad or Num Lock function, see Unable to type while Mouse Keys is enabled in Mac OS X.
    If the function keys on the top row of the keyboard are not working as expected, see Mac OS X: How to change the behavior of function keys.
    If the issue persists, use Keyboard Viewer to help isolate the issue:
    Click the Language & Text pane (Mac OS X v10.6) or International pane (Mac OS X v10.5.8 or earlier) in System Preferences.
    Click the Input Sources tab (or Input Menu tab in Mac OS X 10.5.8 or earlier).
    Click the Keyboard & Character Viewer "On" checkbox to select it (click the Keyboard Viewer "On" checkbox in Mac OS X 10.5.8 or earlier).
    From the Input (flag) menu, choose Show Keyboard Viewer.
    If the keyboard is connected and detected by OS X, the keys you type will highlight in the Keyboard Viewer window. Open TextEdit (or any text application), and try to type something using the keys that were previously not responding to see if they highlight in Keyboard Viewer.
    Start from the Mac OS X Install Disc, choose Terminal from the Utilities menu and test the keys which were previously not working.  If the keys work while started from the Install disc, then the keyboard itself is working correctly.  Use How to troubleshoot a software issue to isolate the software issue that may be causing the keys to not respond.
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • When logging in into yahoo mail after typing in password Firefox is adding something, login fails all the time. At yahoo mail Notepad does not work because it is impossible to close the list of items and they cover information, so I have to go to IE.

    When logging in into yahoo mail after typing in password Firefox is adding something, probably remembered password and login fails all the time. At yahoo mail Notepad does not work because it is impossible to close the list of items and they cover information, so I have to go to IE.

    Only when i go to a different browser (like IE) after i clear it , then all that shows up is the pages i visited in IE , that is what bugs me , why is IE browsing history sowing up in Firefox ??
    Basically , i can clear the history in Firefox , and then for a example , go to Craigslist , using IE7 (launching it from a complete different Icon , in other words at that time i never open Firefox) , then after closing out , or even leaving open as it does not seem to matter , i go into Firefox , and hit History , and there is every place i visited in IE7 , on my History in Firefox

  • After upgrading to iOS 5 I cannot enter to mail (outlook exchange ),contact did not open, general settings - mail contact did not work.help me

    After upgrading to iOS 5 I cannot enter to mail (outlook exchange ),contact did not open, general settings - mail contact did not work.help me

    Hi,
    the settings are gone, i guess. But even worse, I cannot get the iPad2 to play Full HD thru the Apple digital AV adaptor using apps that support  (and advertise this), like AVPlayer HD. This definiteley used to work before one of the last iOS upgrades. (I am now at 5.1.1).

  • Silverlight 5 binding on a property with logic in its setter does not work as expected when debug is attached

    My problem is pretty easy to reproduce.
    I created a project from scratch with a view model.
    As you can see in the setter of "Age" property I have a simple logic.
        public class MainViewModel : INotifyPropertyChanged
                public event PropertyChangedEventHandler PropertyChanged;
                private int age;
                public int Age
                    get
                        return age;
                    set
                        /*Age has to be over 18* - a simple condition in the setter*/
                        age = value;
                        if(age <= 18)
                            age = 18;
                        OnPropertyChanged("Age");
                public MainViewModel(int age)
                    this.Age = age;
                private void OnPropertyChanged(string propertyName)
                    if (this.PropertyChanged != null)
                        PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    In the MainPage.xaml 
         <Grid x:Name="LayoutRoot" Background="White">
                <TextBox 
                    Text="{Binding Path=Age, Mode=TwoWay}" 
                    HorizontalAlignment="Left"
                    Width="100"
                    Height="25"/>
                <TextBlock
                    Text="{Binding Path=Age, Mode=OneWay}"
                    HorizontalAlignment="Right"
                    Width="100"
                    Height="25"/>
            </Grid>
    And MainPage.xaml.cs I simply instantiate the view model and set it as a DataContext.
        public partial class MainPage : UserControl
            private MainViewModel mvm;
            public MainPage()
                InitializeComponent();
                mvm = new MainViewModel(20);
                this.DataContext = mvm;
    I expect that this code will limit set the Age to 18 if the value entered in the TextBox is lower than 18.
    Scenario: Insert into TextBox the value "5" and press tab (for the binding the take effect, TextBox needs to lose the focus)
    Case 1: Debugger is attached =>
    TextBox value will be "5" and TextBlock value will be "18" as expected. - WRONG
    Case 2: Debugger is NOT attached => 
    TextBox value will be "18" and TextBlock value will be "18" - CORRECT
    It seems that when debugger is attached the binding does not work as expected on the object that triggered the update of the property value. This happens only if the property to which we are binding has some logic into the setter or getter.
    Has something changed in SL5 and logic in setters is not allowed anymore?
    Configuration:
    VisualStudio 2010 SP1
    SL 5 Tools 5.1.30214.0
    SL5 sdk 5.0.61118.0
    IE 10
    Thanks!                                       

    Inputting the value and changing it straight away is relatively rare.
    Very few people are now using Silverlight because it's kind of deprecated...
    This is why nobody has reported this.
    I certainly never noticed this problem and I have a number of live Silverlight systems out there.
    Some of which are huge.
    If you want a "fix":
    private void OnPropertyChanged(string propertyName)
    if (this.PropertyChanged != null)
    //PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    Storyboard sb = new Storyboard();
    sb.Duration = new Duration(new TimeSpan(0, 0, 0, 0, 100));
    sb.Completed += delegate
    PropertyChanged(this, new PropertyChangedEventArgs(propertyName));
    sb.Begin();
    The fact this works is interesting because (I think ) it means the textbox can't be updated at the point the propertychanged is raised.
    Please don't forget to upvote posts which you like and mark those which answer your question.
    My latest Technet article - Dynamic XAML

  • Subtraction of two key figures normalized to result not working as expected

    Hello SAP Community!
    I am having problems with getting the right result from a subtraction of two KFs which are "normalized to results" which means the KFs really have values expressed as percentages. The substraction that should be performed is of two percentages (e.g.: 87.298% - 85.527% = 1.77%) but my report prints out the result as "number of units" instead (e.g.: 87.298% - 85.527% = 71,514.00 EA). The two normalized KFs actually "point" to two stock KFs, hence the "number of units".
    In order to explain the problem I am facing please analyze below text:
    1) Let's assume I have below data:
    LOAD MONTH  PLANT    MATERIAL HORIZON MONTH     FORECAST UNITS
    200805         PLANT-A  MAT-1            200805         510,235.00
    200805         PLANT-B  MAT-1           200805          74,240.00
    200805         PLANT-A  MAT-1           200806         438,721.00
    200805         PLANT-B  MAT-1           200806          74,240.00
    200805         PLANT-A  MAT-1           200807         356,981.00
    200805         PLANT-B  MAT-1           200807          74,240.00
    200806         PLANT-A  MAT-1           200805               0.00
    200806         PLANT-B  MAT-1           200805               0.00
    200806         PLANT-A  MAT-1           200806         510,235.00
    200806         PLANT-B  MAT-1           200806          74,240.00
    200806         PLANT-A  MAT-1           200807         438,721.00
    200806         PLANT-B  MAT-1           200807          74,240.00
    2) Then, assume I have a comparison report, restricted by load month for two months May and June 2008 (filter restricted by two month variables) with FORECAST units spread accross columns for whole horizon (two months also in this case).
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Comparison Units (June 2008) 510,235.00  438,721.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Comparison Units (June 2008)  74,240.00   74,240.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    3) Now, let's suppose we want to know the proportions (%) of Base vs Comparison units, so
    we normalize forecats to results an we get the below report:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    4) Finally, let's suppose we want to know the deltas (differences) of Base vs Comparison
    units, for both number of units and %. The report now look as below:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
                       Delta base vs. comp. units %  1.77%       2.74%
                       Delta base vs. comp. units    71,514.00  81,740.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
                       Delta base vs. comp. units %  -1.77%      -2.74%
                       Delta base vs. comp. units         0.00        0.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    5) PROBLEM:
    In my report, the "Delta base vs. comp. units %" is not working as expected and
    calculates number of units just as "Delta base vs. comp. units" does instead of calculating the % difference.
    So my report looks as follows:
    Material  Plant                                 2008/06     2008/07
    ===================================================================
    MAT1      PLANT-A  
                       Base Units (May 2008)        438,721.00  356,981.00
                       Base Units % (May 2008)      85.527%     85.527%
                       Comparison Units (June 2008) 510,235.00  438,721.00
                       Comparison Units %(Jun 2008) 87.298%     82.784%
                       Delta base vs. comp. units %  71,514.00  81,740.00 <<<WRONG!!
                       Delta base vs. comp. units    71,514.00  81,740.00
              PLANT-B  
                       Base Units (May 2008)         74,240.00   74,240.00
                       Base Units % (May 2008)       14.473%     15.702%
                       Comparison Units (June 2008)  74,240.00   74,240.00
                       Comparison Units %(Jun 2008)  12.702%     17.216%
                       Delta base vs. comp. units %       0.00        0.00
                       Delta base vs. comp. units         0.00        0.00
              TOTALS   Base Units                   512,961.00  431,221.00
                       Comparison Units             584,475.00  512,961.00
    The formulas are:
    a) Delta base vs. comp. units %
      Delta base vs. comp. units % = Comparison Units % - Base Units %
    b) Delta base vs. comp. units
      Delta base vs. comp. units = Comparison Units - Base Units
    The KFs
    - Comparison Units %
    - Base Units %
    Are RESTRICTED key figures (restricted to Base and comparison month variables) which
    are setup as:
    1) Calculate Result As:  Summation of Rounded Values
    2) Calculate Single Value as: Normalization of result
    3) Calculate Along the Rows
    The KFs
    - Delta base vs. comp. units %
    - Delta base vs. comp. units
    are FORMULAS setup to:
    1) Calculate Result As:  Nothing defined
    2) Calculate Single Value as: Nothing defined
    3) Calculate Along the Rows: user default direction (grayed out)
    Thanks for the time taken to read in detail all of this. Long text but necessary to understand what the problem is.
    Any help is highly appreciated.
    Thank you.
    Mario

    Hi,
    The subraction will be carried out before doing the normalization of your KF's. So, it is displaying "number of units". Create a calculated keyfigure and subtract the KF's and in the properties of this calculated keyfigure, change the enhancement as "After Aggregation".
    I hope this will solve your issue.
    Regards,
    S P.

  • Events in SubVi not working as expected

    Hi, I am reposting this question as my previous one didn't resulted in any satisfactory conclusion.
    I have attached my Vi's which are not working as expected. If I remove ONE subVi and its associated 3 controls and two indicators, the other one works just fine, but when I add two SUB Vis, it goes messy. I am trying to learn this way, I am sure it can be done many other ways, but please help me finding out the problem doing it this way as in my final MainVi, I would like to use 8 such sub Vis. Thanks.
    Solved!
    Go to Solution.
    Attachments:
    Main.vi ‏11 KB
    SubVi.vi ‏12 KB
    SubVi_2.vi ‏15 KB

    Your main problem is DATA FLOW.  A loop cannot iterate until EVERYTHING in it has completed.  So, as you have it, you have to have both event structures execture before you can go back to look for the next event.  So if you insist on having these subVIs, they need to be in seperate loops.
    BTW, you can get away with a single subVI.  Go into the VI properties and make it reentrant (preallocated clone).  Then each call of your subVI will have its own memory space.  A lot easier to maintain that way.
    And I know you said you didn't want alternatives, but here's how you can do it all with a single event structure in your main loop.
    There are only two ways to tell somebody thanks: Kudos and Marked Solutions
    Unofficial Forum Rules and Guidelines
    Attachments:
    Main_MODTR.vi ‏10 KB

  • My mail icon is not working after update ios 6.1.1 ????

    dear sir please give me soluction.
    my mail icon is not working after update of ios 6.1.1

    You can only purchase apps and other media for the county's sore in which yu are located. You account, included payment method, also must be associated with that country.
    Sam applies for updating apps. Note that not all apps are available in all country so y will not be able to update an app if you are in another country and that app is not available in that country or your account is not associated with that country.
    You can change the country and other things by:
    iOS: Changing the signed-in iTunes Store Apple ID account

  • Notification "Launch the app and go to the library" not working as expected

    Hello,
    we are sending notification "Launch the app and go to the library" - but it's not working as expected, it's still just launching app with last open folio.
    Whats wrong there? Do we need v30 app? We have V29, but this is not mentioned in documentation.
    Thanks
    Martin

    Ah.
    Ok, now it's clear.
    Anyway i would appreciate possibility to force viewer to switch to library view after new issue is detected, even without notification. Quite often requested feature - "there is new cover in Newsstand, but customer don't know how to download new publication easily".
    Martin

  • DB Adapter polling as singleton process is not working as expected

    Am using poller DB adapater to control the transaction per seconds to the downstream system and i want this poller process as singleton (One instance should be in running state at a time).
    As suggested in oracle documents , below is the parameters configured in composite.xml file.
    <service name="polling_Mange_Alert_Events"
      ui:wsdlLocation="polling_Mange_Alert_Events.wsdl">
    <interface.wsdl interface="http://xmlns.oracle.com/pcbpel/adapter/db/Application1/int_app_manageAlerts/polling_Mange_Alert_Events#wsdl.interface(polling_Mange_Alert_Events_ptt)"/>
      <binding.jca config="polling_Mange_Alert_Events_db.jca">
      <property name="singleton">true</property>
      </binding.jca>
      <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
      <property name="jca.retry.interval" type="xs:int" many="false"
      override="may">1</property>
      <property name="jca.retry.backoff" type="xs:int" many="false"
      override="may">2</property>
      <property name="jca.retry.maxInterval" type="xs:string" many="false"
      override="may">120</property>
      </service>
    Below is the JCA file parameters configured :
    <adapter-config name="polling_Mange_Alert_Events" adapter="Database Adapter" wsdlLocation="polling_Mange_Alert_Events.wsdl" xmlns="http://platform.integration.oracle/blocks/adapter/fw/metadata">
      <connection-factory location="eis/DB/vff-int-fus" UIConnectionName="PT_APPINFRA" adapterRef=""/>
      <endpoint-activation portType="polling_Mange_Alert_Events_ptt" operation="receive">
        <activation-spec className="oracle.tip.adapter.db.DBActivationSpec">
          <property name="DescriptorName" value="polling_Mange_Alert_Events.ManageAlertEvents"/>
          <property name="QueryName" value="polling_Mange_Alert_EventsSelect"/>
          <property name="MappingsMetaDataURL" value="polling_Mange_Alert_Events-or-mappings.xml"/>
          <property name="PollingStrategy" value="LogicalDeletePollingStrategy"/>
          <property name="MarkReadColumn" value="TRANSACTION_STATUS"/>
          <property name="MarkReadValue" value="Processing"/>
          <property name="PollingInterval" value="10"/>
          <property name="MaxRaiseSize" value="5"/>
          <property name="MaxTransactionSize" value="5"/>
          <property name="NumberOfThreads" value="1"/>
          <property name="ReturnSingleResultSet" value="false"/>
          <property name="MarkUnreadValue" value="Pending"/>
        </activation-spec>
      </endpoint-activation>
    </adapter-config>
    This poller process is running on clustered environment (2 soa nodes) and it is not working as expected as singleton process.
    Please advise to solve this issue ?

    Hi,
    1.Set Singleton property outside   <binding.jca> like this:
    <binding.jca config="polling_Mange_Alert_Events_db.jca"/>
      <property name="singleton">true</property>
      <property name="jca.retry.count" type="xs:int" many="false" override="may">2147483647</property>
      <property name="jca.retry.interval" type="xs:int" many="false"
    2.Also you can try setting these values in jca file:
    <property name="RowsPerPollingInterval" value="100"/>
    <property name="MaxTransactionSize" value="100"/>
    3. try to increase the polling interval time.
    Regards,
    Anshul

  • TCP Window sizing not working as expected for Windows server 2008 R2 SP1

    Hi ,
    TCP window size is not working as expected. It is varying . Aplied the hotfix suggested by Microsoft and set the multipliccation factor as 1.The window size is not getting auto tuned based on the client machine. The data transfer rate is getting degraded.
    Please help.
    Thanks,
    Pro1962

    Hi,
    I think window auto-tuning is enabled.
    You can disable it by running the following commend.
    netsh interface tcp set global autotuninglevel=disabled
    Hope this helps.

Maybe you are looking for