How Rule works : Two rules not working together

Hi All,
I have a rule in my distribution model. But when i add another rule then the second rule works but first rule stops working.
I want to know how to implement two Rules together. Say if i have two rules R1 and R2 in a distribution model.
Then how to implement
1.R1 AND R2  functionality --- means do filtering if it passes both the rules
2.R2 OR   R2  functionality --- means do filtering if it passes any one of the rules or both the Rules
Regards,
Abhishek

F1, F2 etc., are referred to the node attributes whatever you have selected in the distribution rule.
While creating distribution rule, Second screen will be the selection of criteria fields (Node attributes) on which you want filter the data. These fields are referred by vinod as F1, F2 etc.,
So, your data will be filtered based on the AND condition between the criteria fields used in a rule.
So, In a specific rule AND condition will be used between the fileds.
Between two or more rules, it will be OR condition to  filter the data.
Regards,
Siva.

Similar Messages

  • Rule based ATP is not working for Components

    Hi All,
    Our requirement is to do availability check through APO for Sales order created in ECC,so we are using gATP.
    Requirement: We are creating salesorder for BOM header (Sales BOM) and avaialbility check should happen for components i.e. Product avalaibility & Rule based substitution.
    Issue: Product availiabilty is working for components but rules based substituion is working,  mean Rules are not getting determind for components.
    Settings:
    - Header doesnot exist in APO and compnents do exist in APO
    - Availability check is not enabled for header item category and enabled for Item category for components
    - Rules have been created for Components in APO
    - Rule base ATP is activated in Check instructions
    We have also tried MATP for this i.e. PPM created in APO but still didn't get the desired result.
    If we create salesorder for the component material directly then Rule based ATP is happening, so for components Rule based ATP is not working.
    How do we enable enable Rulesbased ATP for components, i mean is there any different way to do the same.
    Thanks for help.
    Regards,
    Jagadeesh

    Hi Jagdeesh,
    If you are creating BOM in ECC and CIFing PPM of FG/Header material to APO, I think you need to CIF Header material, too, with material integration model.
    Please include header material in you integration models for material, SO and ATP check as well.
    For component availability check, you can use MATP; but for MATP, FG should be in APO. You need not to CIF any receipts of FG (stock, planned orders, POs etc), so that MATP will be triggered directly. Then maintaining Rules for RMs will enable to select available RMs according to the rule created.
    Regards,
    Bipin

  • I have updated my BRE with new rule but it is not working.

    Hi All,
    I have got a requirement to add one more rule into my existing BRE.
    Below are the points that I followed :
    1).Firstly, I created the new version for my BRE , and added my rule in that.
    2). Then I un-deployed the previous version of BRE and Deployed its new version.
    3). I did restarted host instances and Rule engine service also.
    3). Now, when I am testing the sample consisting of previous rule then it is executing,
    But on the other hand when i am testing the sample based on my new rule then BRE is not working.
    If BRE is Executing with previous rule then i believe it is working,
    Then why it is not working for my new Rule .
    4). When i am testing my policy then it is also working well enough .
    Note : The Schema path is also correct ,
    Any help and suggestion will be appreciated
    Kind Regards
    Rishi Gaur

    Hi Shankycheil,
    1). My policy version 1.0 was having 10 rules.
    2). Then i copied version 1.0  and added it to my new version 1.1 .
    3). Than i added my rule to it only.
    After all this I Undeploy version 1.0 and deployed my new version 1.1.
    In Admin console I am getting error like you mentioned   somewhere about policy not found?

  • My camera is working but does not work on skype how do I turn the camera on for Skype

    My camer is working but does not work on skype how do I turn the camera on.

    See this thread:
    https://discussions.apple.com/thread/5306216?tstart=0
    FIX: 
    1. You need Time Machine
    2. Go to folder /Library/CoreMediaIO/Plug-Ins/DAL/
    3. Copy AppleCamera.plugin to good place (usb memory stick is the best place).
    4. Go to Time machine in date that skype work fine.
    5. Change AppleCamera.plugin with file from Time Machine
    6. Restart system, Now skype need to work with camera.
    If that doesnt pass,
    Suggest looking here, much success has been found:
    http://community.skype.com/t5/Mac/OS-X-10-8-5-broke-Video-on-MacBook-Air/td-p/18 91729/page/4

  • Disp+work.exe is not working

    Hi Gurus.........i have system ecc6.0 installed , unfortunatly the disp+work.exe is not working (gray in color) .Please help me out.
    below is the dev_dsp file details :
    trc file: "dev_disp", trc level: 1, release: "700"
    sysno      00
    sid        EC6
    systemid   560 (PC with Windows NT)
    relno      7000
    patchlevel 0
    patchno    75
    intno      20050900
    make:      multithreaded, Unicode, optimized
    pid        2196
    Fri Sep 19 21:26:44 2008
    kernel runs with dp version 217000(ext=109000) (@(#) DPLIB-INT-VERSION-217000-UC)
    length of sys_adm_ext is 572 bytes
    SWITCH TRC-HIDE on ***
    ***LOG Q00=> DpSapEnvInit, DPStart (00 2196) [dpxxdisp.c   1237]
         shared lib "dw_xml.dll" version 75 successfully loaded
         shared lib "dw_xtc.dll" version 75 successfully loaded
         shared lib "dw_stl.dll" version 75 successfully loaded
         shared lib "dw_gui.dll" version 75 successfully loaded
         shared lib "dw_mdm.dll" version 75 successfully loaded
    rdisp/softcancel_sequence :  -> 0,5,-1
    use internal message server connection to port 3900
    Fri Sep 19 21:26:49 2008
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 1 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  5273]
    MtxInit: 30000 0 0
    DpSysAdmExtInit: ABAP is active
    DpSysAdmExtInit: VMC (JAVA VM in WP) is not active
    DpIPCInit2: start server >gcecc6_EC6_00                           <
    DpShMCreate: sizeof(wp_adm)          18304     (1408)
    DpShMCreate: sizeof(tm_adm)          3994272     (19872)
    DpShMCreate: sizeof(wp_ca_adm)          24000     (80)
    DpShMCreate: sizeof(appc_ca_adm)     8000     (80)
    DpCommTableSize: max/headSize/ftSize/tableSize=500/8/528056/528064
    DpShMCreate: sizeof(comm_adm)          528064     (1048)
    DpFileTableSize: max/headSize/ftSize/tableSize=0/0/0/0
    DpShMCreate: sizeof(file_adm)          0     (72)
    DpShMCreate: sizeof(vmc_adm)          0     (1440)
    DpShMCreate: sizeof(wall_adm)          (38456/34360/64/184)
    DpShMCreate: sizeof(gw_adm)     48
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 05EF0040, size: 4653368)
    DpShMCreate: allocated sys_adm at 05EF0040
    DpShMCreate: allocated wp_adm at 05EF1E40
    DpShMCreate: allocated tm_adm_list at 05EF65C0
    DpShMCreate: allocated tm_adm at 05EF65F0
    DpShMCreate: allocated wp_ca_adm at 062C5890
    DpShMCreate: allocated appc_ca_adm at 062CB650
    DpShMCreate: allocated comm_adm at 062CD590
    DpShMCreate: system runs without file table
    DpShMCreate: allocated vmc_adm_list at 0634E450
    DpShMCreate: allocated gw_adm at 0634E490
    DpShMCreate: system runs without vmc_adm
    DpShMCreate: allocated ca_info at 0634E4C0
    DpShMCreate: allocated wall_adm at 0634E4C8
    MBUF state OFF
    DpCommInitTable: init table for 500 entries
    Fri Sep 19 21:26:50 2008
    EmInit: MmSetImplementation( 2 ).
    MM global diagnostic options set: 0
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation flat
    <EsNT> Memory Reset disabled as NT default
    <ES> 511 blocks reserved for free list.
    ES initialized.
    Fri Sep 19 21:26:52 2008
    J2EE server info
      start = TRUE
      state = STARTED
      pid = 2628
      argv[0] = C:\usr\sap\EC6\DVEBMGS00\exe\jcontrol.EXE
      argv[1] = C:\usr\sap\EC6\DVEBMGS00\exe\jcontrol.EXE
      argv[2] = pf=C:\usr\sap\EC6\SYS\profile\EC6_DVEBMGS00_gcecc6
      argv[3] = -DSAPSTART=1
      argv[4] = -DCONNECT_PORT=1044
      argv[5] = -DSAPSYSTEM=00
      argv[6] = -DSAPSYSTEMNAME=EC6
      argv[7] = -DSAPMYNAME=gcecc6_EC6_00
      argv[8] = -DSAPPROFILE=C:\usr\sap\EC6\SYS\profile\EC6_DVEBMGS00_gcecc6
      argv[9] = -DFRFC_FALLBACK=ON
      argv[10] = -DFRFC_FALLBACK_HOST=localhost
      start_lazy = 0
      start_control = SAP J2EE startup framework
    DpJ2eeStart: j2ee state = STARTED
    Fri Sep 19 21:26:55 2008
    rdisp/http_min_wait_dia_wp : 1 -> 1
    ***LOG CPS=> DpLoopInit, ICU ( 3.0 3.0 4.0.1) [dpxxdisp.c   1623]
    Fri Sep 19 21:27:06 2008
    ***LOG Q0K=> DpMsAttach, mscon ( gcecc6) [dpxxdisp.c   11586]
    Fri Sep 19 21:27:12 2008
    DpStartStopMsg: send start message (myname is >gcecc6_EC6_00                           <)
    DpStartStopMsg: start msg sent
    Fri Sep 19 21:27:20 2008
    CCMS: AlInitGlobals : alert/use_sema_lock = TRUE.
    Fri Sep 19 21:28:30 2008
    CCMS: start to initalize 3.X shared alert area (first segment).
    Fri Sep 19 21:28:33 2008
    DpJ2eeLogin: j2ee state = CONNECTED
    DpMsgAdmin: Set release to 7000, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   1050]
    DpMsgAdmin: Set patchno for this platform to 75
    Release check o.K.
    Fri Sep 19 21:28:52 2008
    ERROR => W0 (pid 2636) died [dpxxdisp.c   14241]
    ERROR => W1 (pid 2644) died [dpxxdisp.c   14241]
    ERROR => W2 (pid 2652) died [dpxxdisp.c   14241]
    ERROR => W3 (pid 1632) died [dpxxdisp.c   14241]
    ERROR => W4 (pid 908) died [dpxxdisp.c   14241]
    ERROR => W5 (pid 2660) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xbf --> 0xbe
    ERROR => W6 (pid 2668) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xbe --> 0xbc
    ERROR => W7 (pid 2676) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xbc --> 0xb8
    ERROR => W8 (pid 2684) died [dpxxdisp.c   14241]
    ERROR => W9 (pid 640) died [dpxxdisp.c   14241]
    ERROR => W10 (pid 2692) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xb8 --> 0xb0
    ERROR => W11 (pid 2700) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xb0 --> 0xa0
    ERROR => W12 (pid 732) died [dpxxdisp.c   14241]
    my types changed after wp death/restart 0xa0 --> 0x80
    DP_FATAL_ERROR => DpWPCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    increase tracelevel of WPs
    NiWait: sleep (10000ms) ...
    NiISelect: timeout 10000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Sep 19 21:29:02 2008
    NiISelect: TIMEOUT occured (10000ms)
    dump system status
    Workprocess Table (long)               Fri Sep 19 15:59:02 2008
    ========================
    No Ty. Pid      Status  Cause Start Err Sem CPU    Time  Program  Cl  User         Action                    Table
    0 DIA     2636 Ended         no      1   0             0                                                             
    1 DIA     2644 Ended         no      1   0             0                                                             
    2 DIA     2652 Ended         no      1   0             0                                                             
    3 DIA     1632 Ended         no      1   0             0                                                             
    4 DIA      908 Ended         no      1   0             0                                                             
    5 DIA     2660 Ended         no      1   0             0                                                             
    6 UPD     2668 Ended         no      1   0             0                                                             
    7 ENQ     2676 Ended         no      1   0             0                                                             
    8 BTC     2684 Ended         no      1   0             0                                                             
    9 BTC      640 Ended         no      1   0             0                                                             
    10 BTC     2692 Ended         no      1   0             0                                                             
    11 SPO     2700 Ended         no      1   0             0                                                             
    12 UP2      732 Ended         no      1   0             0                                                             
    Dispatcher Queue Statistics               Fri Sep 19 15:59:02 2008
    ===========================
    --------++++--
    +
    Typ
    now
    high
    max
    writes
    reads
    --------++++--
    +
    NOWP
    0
    1
    2000
    1
    1
    --------++++--
    +
    DIA
    5
    5
    2000
    5
    0
    --------++++--
    +
    UPD
    0
    0
    2000
    0
    0
    --------++++--
    +
    ENQ
    0
    0
    2000
    0
    0
    --------++++--
    +
    BTC
    0
    0
    2000
    0
    0
    --------++++--
    +
    SPO
    1
    1
    2000
    1
    0
    --------++++--
    +
    UP2
    0
    0
    2000
    0
    0
    --------++++--
    +
    max_rq_id          10
    wake_evt_udp_now     0
    wake events           total     6,  udp     2 ( 33%),  shm     4 ( 66%)
    since last update     total     6,  udp     2 ( 33%),  shm     4 ( 66%)
    Dump of tm_adm structure:               Fri Sep 19 15:59:02 2008
    =========================
    Term    uid  man user    term   lastop  mod wp  ta   a/i (modes)
    Workprocess Comm. Area Blocks               Fri Sep 19 15:59:02 2008
    =============================
    Slots: 300, Used: 1, Max: 0
    --------++--
    +
    id
    owner
    pid
    eyecatcher
    --------++--
    +
    0
    DISPATCHER
    -1
    WPCAAD000
    NiWait: sleep (5000ms) ...
    NiISelect: timeout 5000ms
    NiISelect: maximum fd=1637
    NiISelect: read-mask is NULL
    NiISelect: write-mask is NULL
    Fri Sep 19 21:29:07 2008
    NiISelect: TIMEOUT occured (5000ms)
    DpHalt: shutdown server >gcecc6_EC6_00                           < (normal)
    DpJ2eeDisableRestart
    MsIDelService: delete service J2EE for myself
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=161,pac=1,MESG_IO)
    MsINiWrite: sent 161 bytes
    send msg (len 110+51) to name           MSG_SERVER, type 0, key -
    MsSndName: MS_DEL_PROPERTY ok
    Send 51 bytes to MSG_SERVER
    MS_DEL_PROPERTY : asynchronous call
    send MsDelService(J2EE) to msgserver
    DpIJ2eeShutdown: send SIGINT to SAP J2EE startup framework (pid=2628)
    killing process (2628) (SOFT_KILL)
    DpIJ2eeShutdown: j2ee state = SHUTDOWN
    NiBufISelUpdate: new MODE -- (r-) for hdl 4 in set0
    SiSelNSet: set events of sock 1508 to: ---
    NiBufISelRemove: remove hdl 4 from set0
    SiSelNRemove: removed sock 1508 (pos=2)
    SiSelNRemove: removed sock 1508
    NiSelIRemove: removed hdl 4
    DpDelSocketInfo: del info for socket 4 (type=8)
    NiICloseHandle: shutdown and close hdl 4 / sock 1508
    NiBufIClose: clear extension for hdl 4
    DpModState: buffer in state MBUF_PREPARED
    NiBufSend starting
    NiIWrite: hdl 3 sent data (wrt=110,pac=1,MESG_IO)
    MsINiWrite: sent 110 bytes
    MsIDetach: send logout to msg_server
    MsIDetach: call exit function
    DpMsShutdownHook called
    NiBufISelUpdate: new MODE -- (r-) for hdl 3 in set0
    SiSelNSet: set events of sock 1536 to: ---
    NiBufISelRemove: remove hdl 3 from set0
    SiSelNRemove: removed sock 1536 (pos=3)
    SiSelNRemove: removed sock 1536
    NiSelIRemove: removed hdl 3
    MBUF state OFF
    AdGetSelfIdentRecord: >                                                                           <
    AdCvtRecToExt: opcode 60 (AD_SELFIDENT), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    AdCvtRecToExt: opcode 40 (AD_MSBUF), ser 0, ex 0, errno 0
    blks_in_queue/wp_ca_blk_no/wp_max_no = 1/300/13
    LOCK WP ca_blk 1
    make DISP owner of wp_ca_blk 1
    DpRqPutIntoQueue: put request into queue (reqtype 1, prio LOW, rq_id 16)
    MBUF component DOWN
    NiICloseHandle: shutdown and close hdl 3 / sock 1536
    NiBufIClose: clear extension for hdl 3
    MsIDetach: detach MS-system
    cleanup EM
    EsCleanup ....
    EmCleanup() -> 0
    Es2Cleanup: Cleanup ES2
    ***LOG Q05=> DpHalt, DPStop ( 2196) [dpxxdisp.c   10259]
    Good Bye .....

    The work process are dying
    ERROR => W1 (pid 2644) died [dpxxdisp.c 14241] *** ERROR => W2 (pid 2652) died [dpxxdisp.c 14241
    This lead the dispatcher to emergency shutdow:
    DISPATCHER EMERGENCY SHUTDOWN ***
    if the dispatcher cannot start the work process it force the shutdown.So, you need to check
    at the work process trace (dev_w*) files to find out the reason the they are dying.
    @deeptss     
    if you are talking about the WARNING
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0)took 5 seconds ***
    this is a normal situation if the reverse name resolution is not working.
    I have found this error when the DNS server has without the reverse zone configured.
    However this is not a problem to the dispatcher operation.
    Cheers
    Clebio

  • TS1718 I tried to update, did not work, unintstalled did not work.  Now when I try to install i get error message "The feature you are trying to use is on a network resource tha is unabailable.  Looking for itunes64.msi path.

    I tried to update, did not work, unintstalled did not work.  Now when I try to install i get error message "The feature you are trying to use is on a network resource tha is unabailable.  Looking for itunes64.msi path.

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Profit center substitution rule miss matching or not working properly

    Hi Experts,
    We have a   substitution rule for profit center for sales group and profit center rule is like
    Is the sales group is 123 profit center should be 123, but now for some g/l like sales deductions that rule is not working for sales group BG1 PROFIT CENTER IS COMING AS BG4  in the same sale order
    I have checked out OKB9 settings also but for that g/l there is no derivation rule has been defined and there is no    cost derivation also
      Please help me out how find out the correct reason
    Thanks in advance,

    can any one give tthe sujestions ,plzzzzzzzzzzzzz
    Thanks and Regards
    Visu

  • Rules in Mail are not working!!

    I set up rules in mail to moved messages after 7 days old from date send and will not apply! not working! if this can help I am using an AOL account. . . any suggestions on how to solve this issue. I am also running SL . . thanks.

    Hey, Ray & welcome to the forums.
    Don't set a 'rule' - go to Mail preferences/general/advanced and do it there √ instead.

  • Two CalType not working together

    Hi,
       I have one pricing procedure. I have created two 971 & 981 routines (CalType) as per my requirements. The issue is that both the routines are not working correctly if they are assigned together is the pricing procedure. But if I assign any one of them only then they work work together.
      I tried putting the Break-Point in both the routines and found that the control is passed to the first routine i.e 971 only and not 981 when it's corresponding condition type is entered.
      I have activated both the routines nad executed the report RV80HGEN also.
      Kindly advise a solution. Thanks

    duplicate question... please ignore

  • Two Buttons not working, mistake on PCMCIA, modem,....

    Ok first of all I have problems with two of my four extra buttons on my Samsung X30. These two don't give keycodes when I try this with xev. Anybody an idea how to use these buttons anyway? When I push these buttons I get the following in demsg:
    atkbd.c: Unknown key pressed (translated set 2, code 0x75 on isa0060/serio0).
    atkbd.c: Use 'setkeycodes 75 <keycode>' to make it known.
    atkbd.c: Unknown key released (translated set 2, code 0x75 on isa0060/serio0).
    atkbd.c: Use 'setkeycodes 75 <keycode>' to make it known.
    atkbd.c: Unknown key pressed (translated set 2, code 0x74 on isa0060/serio0).
    atkbd.c: Use 'setkeycodes 74 <keycode>' to make it known.
    atkbd.c: Unknown key released (translated set 2, code 0x74 on isa0060/serio0).
    atkbd.c: Use 'setkeycodes 74 <keycode>' to make it known.
    I see what it says about setkeycodes but finally I didn't know the keycodes for this keys so I couldn't set it I think.
    Second problem is the PCMCIA. I configured YENTA as module and activated Cardbus in my kernel under PCMCIA and this is loading fine:
    Yenta: CardBus bridge found at 0000:02:03.0 [144d:c00f]
    Yenta: ISA IRQ mask 0x0018, PCI irq 11
    But when pcmcia daemon is loaded on init that the module I82356 couldn't be loaded and so I copiled this module in my kernel. Now I get message on daemon load that this module couldn't be loaded: no such device. Very strange I think. i82356 is a ISA bridge and I'm pretty sure I don't have one on my machine so I don't understand why he depends on it.
    I also get the message cardmgr[2739]: watching 2 sockets. I don't know exactly what this means but finally it has something to do with the pcmcia and the memory card reader I have on my machine which are both on the same socket or something like this. It would be very interesting if my memory card reader is working also when my pcmcia is working. I couldn't test both because I don't own such cards.
    Last but not least I want to set up my modem so when I need it in the future I can use it without problems. It's a AC97 modem and I activated SND_INTEL8X0 for the sound and SND_INTEL8X0M which should be the modem. The last one is marked as EXPERIMENTAL but I think it should work but I don't have a clue how to get it working and how I should see if the driver runs correct. I have installed ppp but I couldn't start it because I don't have a /dev/ppp and when I create one with mknod /dev/ppp c 108 0 and try it again I get:
    /usr/sbin/pppd: The remote system is required to authenticate itself
    /usr/sbin/pppd: but I couldn't find any suitable secret (password) for it to use to do so.
    best regards

    thx my modem is working now but I need the proper daemon script to load it because I had to build the package for myself and the script available in this tar don't run. Before I'll post this original not working script I must make something clear.
    The snd-intel8x0m driver can also be used to run this modem AFAIK everything runs with ALSA then but when I load this intel modem module My sound isn't working any more like phrakture said before. At the time it's better I think, to use the driver that comes with the slmodem package named slusb or slamr depending on what sort of modem it is exactly.
    But now my faulty daemon script for slmodem:
    #!/bin/sh
    # slmodemd: Starts the SmartLink Modem Daemon
    # chkconfig: 345 90 10
    # description: This is the user space part of the SmartLink Modem driver
    # processname: slmodemd
    # config: /etc/sysconfig/slmodem
    # Source function library.
    . /etc/init.d/functions
    prog=slmodemd
    RETVAL=0
    # Default configuration
    # Device selection
    SLMODEMD_DEVICE=slamr0
    #Your country, try "slmodemd --countrylist"
    SLMODEMD_COUNTRY=AUSTRIA
    # Source configuration
    CONFIG=/etc/sysconfig/$prog
    if [ -f $CONFIG ]; then
    . $CONFIG
    # override default group and permissions if defined in $CONFIG;
    # other valid options also can be put into SLMODEMD_OPTS variable
    [ "$GROUP" ] && SLMODEMD_OPTS="$SLMODEMD_OPTS --group=$GROUP"
    [ "$PERMS" ] && SLMODEMD_OPTS="$SLMODEMD_OPTS --perm=$PERMS"
    fi
    # uncomment this if you want this feature (if necessary edit module pattern):
    # do not try to start on a kernel which does not support it
    # grep -q 'slamr..*o' /lib/modules/`uname -r`/modules.dep || exit 0
    start() {
    echo -n "Starting SmartLink Modem driver for $SLMODEMD_DEVICE: "
    $prog </dev/null >/dev/null 2>/dev/null
    --country=$SLMODEMD_COUNTRY $SLMODEMD_OPTS /dev/$SLMODEMD_DEVICE &
    RETVAL=$?
    [ $RETVAL -eq 0 ] && success $"$prog startup" || failure $"$prog startup"
    echo
    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$prog
    return $RETVAL
    stop() {
    echo -n "Shutting down SmartLink Modem driver: "
    killproc $prog
    RETVAL=$?
    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/$prog
    return $RETVAL
    # See how we were called.
    case "$1" in
    start)
    start
    stop)
    stop
    status)
    status $prog
    RETVAL=$?
    restart|reload)
    stop
    start
    RETVAL=$?
    condrestart)
    if [ -f /var/lock/subsys/$prog ]; then
    stop
    start
    RETVAL=$?
    fi
    echo "*** Usage: $prog {start|stop|status|restart|condrestart}"
    exit 1
    esac
    exit $RETVAL
    Please help me to fix this script to work with arch.

  • How to fix some scripts not working just in CC?

    Tried to use a well known script in IDCC:
    TurnGrepStyles2CharStyles.jsx
    and not worked; but in CS6 it was running.
    How to fix it?

    This is the Script in question
    TurnGrepStyles2CharStyles
    An InDesign CS4 JavaScript by FourAces, The Final Touch 2006
    Based on the original "Turn grep styles to character styles.scpt" AppleScript by Nye Hughes
    Version 1.0.0
    Converts all the Paragraph Styles applied GREP Styles to standard Character Style applience.
    if(app.documents.length != 0){
        var myDoc = app.activeDocument;
        var myParaStyles = myDoc.paragraphStyles;
        var myCount = 0;
        var myCharStyleList = "";
        for(i=0; i<myParaStyles.length; i++){
            var myGrepStyles = myParaStyles[i].nestedGrepStyles;
            for(n=0; n<myGrepStyles.length; n++){
                var myGrepFind = myGrepStyles[n].grepExpression;
                var myFindParaStyle = myParaStyles[i];
                var myChangeCharStyle = myGrepStyles[n].appliedCharacterStyle;
                var myGrepChange = NothingEnum.nothing;
                var myFoundItems = runFindChange(myDoc, myGrepFind, myGrepChange, myFindParaStyle, myChangeCharStyle);
                myCount = myCount + myFoundItems.length;
                myCharStyleList = myCharStyleList+"\""+myGrepStyles[n].appliedCharacterStyle.name+"\", ";
        if(myCount > 0){
            alert("Applied character styles:\r"+myCharStyleList+"to "+myCount+" instances of Grep Styled text.");
        else{
            alert("No instances of grep styled characters found.\rNothing Changed.");
    else{
        alert("Where\'s my document?!\rWell, I\'ll actually need one to perform my magic...");
    function runFindChange(myObject, FindWhat, ChangetoWhat, FindParaStyle, ChangeCharStyle){
        //Clear the find/change preferences.
        clearFindChangePrefs()
        //Set the find options.
        app.findGrepPreferences.appliedParagraphStyle = FindParaStyle;
        app.findGrepPreferences.appliedCharacterStyle = null;
        app.changeGrepPreferences.appliedCharacterStyle = ChangeCharStyle;
        app.findGrepPreferences.findWhat = FindWhat;
        app.changeGrepPreferences.changeTo = ChangetoWhat;
        return myObject.changeGrep();
    function setFindChangeOptionstoDefaults(){
        var myFindChangeTextOpts = app.findChangeTextOption;
        myFindChangeTextOpts.caseSensitive = false;
        myFindChangeTextOpts.includeFootnotes = true;
        myFindChangeTextOpts.includeHiddenLayers = false;
        myFindChangeTextOpts.includeLockedLayersForFind = false;
        myFindChangeTextOpts.includeLockedStoriesForFind = false;
        myFindChangeTextOpts.includeMasterPages = true;
        myFindChangeTextOpts.wholeWord = true;
    function clearFindChangePrefs(){
        //find/change text preferences
        app.findTextPreferences = null;
        app.changeTextPreferences = null;
        //find/change grep preferences
        app.findGrepPreferences = null;
        app.changeGrepPreferences = null;
        //find/change glyph preferences
        app.findGlyphPreferences = null;
        app.changeGlyphPreferences = null;

  • Anyone know how to fix Bluetooth headset not working properly after iOS 8 update?

    I have an iPhone 5S and I use a Plantronics PLT M20 model bluetooth headset. I am no longer able to answer calls by pressing the button on the headset, since updating to iOS 8. I also also cannot end calls by pressing the button on the headset. This only happened after iOS 8. The Apple Care rep stated that "this is most likely a problem with the bluetooth manufacturer and they need to update their firmware, so now it's just a waiting game until they do that". Is that correct? Anyone encountering this?
    Related information....
    Hi - I'm a student with disabilities and rely heavily on accessibility features that make my life easier. For example, I use a Bluetooth headset to trying answer phone calls and use Siri… I especially use the "Raise to speak" option for accessing Siri. Since updating my iPhone five us and my iPad air, I've been scrambling to access the "raise to speak" option for Siri without success. When I called AppleCare, the representative stated I should have that option to enable in my settings. When I explained to her that the option is not showing, she wanted me to reset my phone to factory settings. When I told her I googled the issue and found that it may have been removed in iOS 8… She put me on hold, Came back and told me I was right.
    What's worse is that that my Bluetooth headset is no longer working with my iPhone 5S. She stated that it may being I needed adjustment from the manufacturer of the headset– Plantronics. All I know is that the apple care representatives seem confused and I am extremely disappointed in this really impacts my use of Siri and my phone.
    When I asked her to submit feedback to her supervisor or the powers that be… I was simply asked to submit feedback to the Apple.com website. While I understand Apple might read that feedback, I also recognize that they don't reply and I don't feel that is great support to someone like me who has a disability and needs a solution. The"Hey Siri" option is not working for me.
    Does anyone have any workarounds for the "Raise to speak" problem or the Bluetooth problem? Specifically, the Bluetooth issue is when I try to hit the button on my Bluetooth headset to answer a call or end the call. It's a Plantronics PLT M20 model.

    Follow-up to my earlier post that iPhone 6 Bluetooth not working correctly.  I purchased a Jawbone MiniJambox to use as a speaker phone in my office.  Everyone in our company thinks they are the best.  However, it is experiencing the same issues as with all my other Bluetooth headsets.  Everything works except cannot answer or hang up calls pushing the buttons on the Bluetooth devices.  The Bluetooth patio speakers in our courtyard also have the same issue.  However, my colleagues using iPhone 5 and 5s who did not update to iOS8 are using all Bluetooth devices without any issues.  Apple says it is a problem with my Bluetooth device.  Come on Apple.... This makes 7 different Bluetooth devices with different manufacturers.  You cannot possibly believe the problem is with the Bluetooth devices when iOS7 works perfectly fine...
    On another issue, my iPhone 5s worked perfectly fine in my vehicle entertainment center connected via USB.  The vehicle entertainment center had complete control of my iPhone and iTunes.  However, now I plug in my new iPhone 6 and it no longer communicates with my vehicle entertainment center.  Again when I called Apple, they said my vehicle entertainment center needed a firmware update.  Are you kidding me...  That is a bunch of BS...!!!

  • How to upgrade ms office not working with lion (20004)

    what should I do, if after upgrading to lion my ms office is not working
    is there any alternative working with Lion, what is not to expensive
    Thank You for tips

    Upgrade to Office 2011 (not free)
    Install Open Office (free)

  • How come thr trace() function not working now

    Hi,
    All of a sudden, all the trace() functions are not working
    any more. Can anyone remind me what things need to turn on, or what
    kind of software I have to install?
    Thanks.

    You need to configure the mm.cfg file.
    See the Developer's Guide for the details.
    Tracy

  • Two Functions not working

    Auto-resizing of salad picture on header bar is not working.  I have followed the instructions step by step, not sure what I am missing.
    Also, the 100% width toggle does not seem to exist on my control panel.
    Thanks for the help!

    Auto-resizing would work if you are using any container fill with image , it depends upon position and type of fill used.
    If you simply placing an image on page then you would need to resize that manually.
    100% toggle button would be active for only the contents which can be made full width for example , slideshow, rectangle etc , it would not be active for objects which are not supported for 100% width.
    Thanks,
    Sanjit

Maybe you are looking for