Barcode Decoding Problems

Hi,
  I'm experimenting with the PDF417 Paper Forms Barcodes, trying to determine capacity limits and how to reliably encode form data.  Currently I'm seeing an issue where, when filling out my form in Adobe Acrobat Professional some data does not parse out on the backend.  The barcodes are still displayed correctly in Acrobat (i.e. not greyed out), but when extracting the data, there are parsing issues. Some of the data comes through correctly, and some is garbled.  It is as though a fixed size buffer is being overrun & there is random data corruption as a result.
  I'm using data compression on each barcode, and tab delimited data.  I can provide examples via email if that is useful.  Any ideas?
Thanks,
Tom

Some more information: there are two PDF417 barcodes on the same page of the PDF.  Each has an associated collection of data items.  The first barcode is apparently working ok, while the second is showing the problem.  I think the barcode is simply getting overloaded with data, but failing to indicate a problem.
Are there any examples using multiple barcodes & / or compression that I can compare with?

Similar Messages

  • Need help with Adobe barcode decoder version 7.0 (PDF 417), changing the service logon user id

    Hello I am fairly new to the adobe barcode decoder (PDF 417) application. We have an application that was developed about a while ago, now we are in the process of hosting the whole service in a new machine. Before hosting in new machine we were testing few things in the existing system; currently the adobe barcode decoder is running on an windows server 2003 with the "Local system account" in the Log on tab of the service. We would like to test whether the service can be run using an NT account. We did change the account from LocalSystem to one of the network account and when we start the service, it will stop immediately and getting the following error in the event log.
    Event Type: Error
    Event Source: AdobeBarcodeDecoder
    Description:
    The description for Event ID ( 1 ) in Source ( AdobeBarcodeDecoder ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: Problem with the USB key: INITIALIZE.
    any help to solve this issue is really appreciated. We checked the access rights of the account that is trying to run the service and the account is part of the local administrators group. But When we change the service account back to "Local System Account" it is working fine. Any idea or am I missing any step?
    Thanks
    Suganya

    I just saw several of the following errors in the WindowsUpdate.log on one of my clients which prompted me to look closer, but this may not have correlation:
    2015-02-17 06:39:01:095
    112 4fc
    DtaStor JetSeek failed to find a record
    However, software updates are deploying and installing just fine it seems. I did update my Site Server yesterday manually, like I always do after every Patch Tuesday. 
    Am I not supposed to patch my Site Server manually, or should I add it to the Software Update Management scheme I have set up in SCCM? 
    Thanks

  • Barcode printing problem

    Dear Expert,
    I'm facing a barcode printing problem where it displayed incorrect barcode formatting in the print preview by displaying strips for bar lines.  I'm using Sapscript to do this and I have already specified in Character format for barcode Code 39 and I have created a Z system bar code(se73) specfically for this. Could you pls give me some ideas on how to solve this problem.
    Thanks
    Adis

    Hi Adis,
    There is another way of having the print preview. You directly print the Sap Script, it will go to spool (SP01). Now use the program RSTXPDFT4 in SE38 and enter the spool number. It will convert the spool record with that particular number to the PDF fomat. You can now see the view through the PDF format.
    In the direct print preview you may do not get the correct view of the bar code specially for the SAP Script.
    Please check....
    Warm Regards.
    Abhijit.

  • 2D barcode decoding not working with Reader Extensions trial certificate

    Dear All
    After I import the last reader extensions trial certificate for ES4, but why 2D barcode decoding checkbox is disable in the service web page?
    thanks

    A new certificate with 2D barcode capabilities has been uploaded to the LiveCycle devnet site http://www.adobe.com/devnet/livecycle.html, the direct link is http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/livecycle/solutions/R eaderExtensionCert%20p16.zip

  • Barcode decoder invocation error

    Hello everybody,
    I had a problem with decoding / invoking barcoded forms service.
    After copying pdf (or .tif) file to the input folder of newly created watched folder I get the below failure exception:
    Failure Time----Mon Jan 14 18:12:59 EET 2008
    source location ---- Reason of failure is-----Failure to invoke the job BarcodedFormsService
    Failure to invoke the job BarcodedFormsService Invocation error.
    javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: javax.naming.NameNotFoundException: XAConnectionFactory
    Could not create a session: javax.resource.spi.CommException: javax.naming.NameNotFoundException: XAConnectionFactory
    ALC-DSC-600-000: com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerRuntimeException: Failure to invoke the job BarcodedFormsService
    at com.adobe.idp.dsc.provider.service.file.scan.impl.FileScanJobImpl.invokeJob(FileScanJobIm pl.java:323)
    at com.adobe.idp.dsc.provider.service.file.scan.impl.FileScanJobImpl.processInputs(FileScanJ obImpl.java:127)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    I use LiveCycle ES Server - license type IDEV, version 8.0.1
    Some of asterisk parameters of watched folder are:
    * Name: BarcodedFormsService
    *Path: C:\BPFSWatch_Demo
    *User Name: SuperAdmin
    *Domain Name: DefaultDom
    *Include File Patern: *
    *Purge Donation: -1
    *Operation Name: exctractToXML
    Any help would be appreciated.
    Vesselin Stoykov

    Thank you for replay Lee,
    here is the error message after Operation change to "decode" - it is the same as previous:
    Failure Time----Tue Jan 15 19:08:04 EET 2008
    source location ---- Reason of failure is-----Failure to invoke the job BarcodedFormsService
    Failure to invoke the job BarcodedFormsService
    Invocation error.
    javax.jms.JMSException: Could not create a session: javax.resource.spi.CommException: javax.naming.NameNotFoundException: XAConnectionFactory
    Could not create a session: javax.resource.spi.CommException: javax.naming.NameNotFoundException: XAConnectionFactory
    ALC-DSC-600-000: com.adobe.idp.dsc.provider.service.scheduler.impl.SchedulerRuntimeException: Failure to invoke the job BarcodedFormsService
    at com.adobe.idp.dsc.provider.service.file.scan.impl.FileScanJobImpl.invokeJob(FileScanJobIm pl.java:323)
    at com.adobe.idp.dsc.provider.service.file.scan.impl.FileScanJobImpl.processInputs(FileScanJ obImpl.java:127)
    at com.adobe.idp.dsc.provider.service.scheduler.scan.impl.AbstractScanJob.execute(AbstractSc anJob.java:56)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:181)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:363)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
    at $Proxy207.doSupports(Unknown Source)
    at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:104)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:88)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:113)
    at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:102)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.routeMessage(AbstractMessage Receiver.java:88)
    at com.adobe.idp.dsc.provider.impl.vm.VMMessageDispatcher.doSend(VMMessageDispatcher.java:21 0)
    at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:57)
    at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
    at com.adobe.idp.scheduler.callback.ServiceCallbackHandler.execute(ServiceCallbackHandler.ja va:87)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:529)
    Caused by: ALC-DSC-003-000: com.adobe.idp.dsc.DSCInvocationException: Invocation error.
    at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:210)
    at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:134)
    at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:44)
    at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:336)
    at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:212)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
    at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionConta iner.java:214)
    at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionI nterceptor.java:149)
    at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstance Interceptor.java:154)
    at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor. java:54)
    at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
    at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:106)
    at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:363)
    at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
    at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
    at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
    at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor. java:122)
    at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
    at org.jboss.ejb.Container.invoke(Container.java:873)
    at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:415)
    at org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:88)
    at $Proxy207.doSupports(Unknown Source)
    at com.adobe.idp.dsc.

  • Barcode Scanning Problem

    Hi All,
    I am implementing Barcode Report using XML Publisher (Font : IDAutomation128S.ttf). Barcode appearing while running the report as Concurrent requests. But Scanner is not reading that barcode.
    I have Followed the Procedure given in the Following Link :
    http://blogs.oracle.com/xmlpublisher/templates/templates_rtf/barcoding/
    When ever i am placing this tag <?register-barcode-vendor:'Class-Path';'Barcode Vendor Id'?> in RTF Form Field , After uploading Template into EBS using XMl Publishers Reposnsibility.
    Case 1:
    while Priview the data it is Displaying 'Correpted Template or Wrong Format you have given' this message.
    Case 2:
    When i submit the Report as Concurrent Request it is Completing with Warnings.
    Not able to show the Output. Al most no log information it is Giving Spawned Process 18703
    My Present Version of XML Publishers is 5.0.1. i found using below Query
    SELECT DECODE (bug_number
    , '3554613', '4.5.0'
    , '3263588', 'XDO.H'
    , '3822219', '5.0.0'
    , '4236958', '5.0.1'
    , '4206181', '5.5.0'
    , '4561451', '5.6.0'
    , '4905678', '5.6.1'
    , '5097966', '5.6.2') PATCH, bug_number
    FROM ad_bugs
    WHERE bug_number IN
    ('3554613'
    , '3263588'
    , '3822219'
    , '4236958'
    , '4206181'
    , '4561451'
    , '4905678'
    , '5097966');
    out put is Given :
    patch : XDO.H,4.5.0,5.0.0, *5.0.1*
    Bug_number : 3263588,3554613,3822219,*4236958*
    my questions are:
    if i want to use follwoing Commands in my Template is it mandatory XML Publisher Version Should be 5.6.2?
    *<?register-barcode-vendor:java_class_name?;Barcode_vendor_id?>*
    *<?format-barcode;'code128b';'Barcode_vendor_id'?>*
    is there any other Solution by writing PL/SQL Procedure to generate Start, End and Check Sum Details to read Scanner?
    Other wise need to Configure Scanner for Particular Font?
    Please provide any solution for this Problem, it will help full to me ?
    thanks in Advance
    With regards
    Raghavendra Prasad Madala
    mail id : [email protected]
    phone: +919049917518

    No, the scanner is just another key board. You could set item to update only if null
    which would stop users from overwritting scanned data. Also scanners can be tempremental at times and sometimes the user need to manually enter the barcode.
    I usually use a non database item to read the scanned item and then check to ensure that the string starts with the @ symbol, if yes I write the data to the actual item if NO I clear item and ask user to re-scann item -

  • GS1 barcode decode Function module issue

    We are facing an issue with LE_EAN128_DECODE standard Function module .
    standard gs1 barcode uses modulo 13 calculation method to decode check digit where as standard sap uses modulo 10 .
    standard function module LE_EAN128_DECODE uses modulo 10 method to calculate check digit .
    Is there a way to decode gs1 barccode in standard sap .
    Is there a standard function module in sap which uses modulo 13 method to decode gs1 barcodes in sap.
    Is there something we need to do in the SPRO configuration settings to enable this.

    Hi
    In FM check on which fields you have written delta logic, data will populate if we have changes to that field.
    we have some good documents on step by step of creating FM based generic extractors. check if you miss any steps
    http://explore-sapbw.blogspot.in/p/sdn-articles-extraction.html
    Regards,
    Venkatesh

  • Payload decoding problem

    Hi
    Im using 10.1.2.3 b2b with mlr#7. In edi 841 transaction im encoding a .jpeg(image) file in to base64 format and attaching it to the binary data section.The output raw edi data has the decoded jpeg file but it was corrupted.I donno how to get my original .jpeg(image) file.Same thing happens for .pdf format.Kindly help in resolving this issue.
    Regards
    venkat

    Hi Venkat,
    No there is no such rule and B2B will decode it in the same format.
    If you have applied MLR#7 successfully then it should work.
    Anyways, take the attachment content from the wiremessage and decod it using base 64 encoding manually and save it as a jpeg, and try to open. If then also you are not able to open then decode it twice and now save it as jpeg and try to open. I am asking this because prior to MLR#7 there was problem of attachments getting encoded twice.
    You may consider forwarding wire message and b2b log in debug mode to my id (in my profile).
    Regards,
    Anuj

  • Decode problem

    Hi,
    I have a problem with a decode function.
    I try to execute this select:
    select (DECODE(:CU_IES, 'D', (DECODE(:P_FISC, 1, a.flag1, 0, a.flag2) in (2,3,4)), (DECODE(:P_FISC, 1, a.flag1, 0, a.flag2) in (2,3,4,6))))
    from flag a
    and a get this error ORA-00907: missing right parenthesis.
    I try to this in Report Builder 6.0.8.11.3.
    I want to do this: when :cu_ies is 'D' to bring me flags 2,3,4 and if not 'D' to bring me flags 2,3,4,6. (All flags are from 0 to 6)
    What I have done wrong?
    Anyone can help me?

    Try using case instead of decode
    SELECT SUM(CASE :p_fisc,
                 WHEN 1 THEN
                  nvl(a.val_int, 0) + nvl(a.val_mod, 0) + nvl(a.val_dep_int, 0)
                 WHEN 0 THEN
                  nvl(a.val_int_int, 0) + nvl(a.val_mod_int, 0) +
                  nvl(a.val_dep_int, 0) + nvl(a.prov_dez_val, 0)
               END) val_inv1,
           0 val_inv2,
           a.cod_cat
      FROM flag a, MJ M
    WHERE a.identif_a = M.identif_a
       AND (CASE :P_FISC WHEN 1 THEN a.flag1 WHEN 0 THEN a.flag2
            END IN (2, 3, 4) OR :cu_ies = 'D')
    GROUP BY a.cod_cat
    UNION ALL
    SELECT 0 val_inventar1,
           SUM(CASE :p_fisc
                 WHEN 1 THEN
                  nvl(a.val_int, 0) + nvl(a.val_mod, 0) + nvl(a.val_dep_int, 0),
                 WHEN 0 THEN
                  nvl(a.val_int_int, 0) + nvl(a.val_mod_int, 0) +
                  nvl(a.val_dep_int, 0) + nvl(a.prov_dez_val, 0
               END)) val_inv2,
           a.cod_cat
      FROM flag a, MJ M
    WHERE a.identif_a = M.identif_a
       AND (CASE :P_FISC WHEN 1 THEN a.flag1 WHEN 0 THEN a.flag2
            END = 5 OR :cu_ies = 'D')
    GROUP BY a.cod_catHTH
    SS

  • Barcode size problem in different adobe reader versions

    Hi,
    In one of my requirements of Adobe form, I am displaying barcode for a value. The problem is of size of barcode which varies on different machines based on Adobe Reader version.
    On one machine 'Adobe Reader' version 9.4.0 is installed and on other machine 'Adobe Reader X' version 10.0.1 is installed. The barcode is displayed in correct size in version 10.0.1 while only half barcode is displayed in version 9.4.0 when value of the property 'Data length' is set to 10 (which is default).
    If I set the value of same property to 26 in order to fit the barcode in specified space in version 9.4.0, same barcode is displayed in half size in version 10.0.1.
    Kindly give suggestions.
    Regards.

    You cannot use Reader X until it has been installed. Installing means that the appropriate configuration has been entered into the Windows Registry. Copying a folder from another computer doesn't achieve that goal.
    Here's what I suggest you do now.
    Run this Microsoft fix first of all: http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Uninstall via Reader via Add/Remove Programs
    Download and install Reader X from here: http://get.adobe.com/reader/direct/
    P.S. There are some programs which are so called 'Standalone' apps. That means that the executable will run without using a system's processes. But Adobe Reader isn't one of them.

  • Paper Form Barcode decode error with UTF8 Chinese

    I have a Paper Form Barcode
    Symbology: QR Code
    Scaning Method: Custom
    Error correction level: M
    Modul width:0.592 mm
    Character Encoding: UTF-8
    But sometime QR code decode data not equal original data
    Case 1:
    PaperFormsBarcode1.rawValue = "哈哈";
    After decode: I got "哈哈"  ==> OK
    Case 2:
    PaperFormsBarcode1.rawValue = "哈|哈哈|"
    After decoe: I got "蜩�蜩亥嶋|"  ==> Error!!!
    Case 3:
    PaperFormsBarcode1.rawValue = "A|哈哈|"
    After decode: I got "A|哈哈|"  ==> OK
    Decoder:
    I tried several Android / iOS APP on several cellphones, and they ALL got same result.
    Our client (Bank) bought Adobe Livecycle ES4 Soluction, and we need your help very much, thank you!

    do you have the asian language packs installed?  i can't comment on this specific example but i know that we've had odd issues with japanese characters because we hadn't installed the right language packs.

  • Sorting: ORDER BY DECODE Problem on Pagination Query

    Hi,
    I've been searching around the easiest way to perform a dynamic "ORDER BY" clause and the "DECODE()" clause solution seem to be exactly what I am looking for. Unfortunately, It seems the DECODE function is not returning a correct column name value (I think it is returning NULL) since I'm receive the result set as if there was no ORDER BY clause.
    I need some help to get through this!
    Here the version with DECODE (not working)
    It is a Procedure with frstRow, nbRows and var_order as parameters
    The output returns the rows as if no ORDER BY was used
    SELECT c1, c2
    FROM
    SELECT ROWNUM rn, arv.*
    FROM A_AWA_AR arv
    WHERE ROWNUM < (frstRow + nbRows - 1) -- show only some rows determined by procedure
    ORDER BY DECODE(var_order, 1, c1, 2, c2, c1) -- sort by var_order
    WHERE rn BETWEEN frstRow AND (frstRow + nbRows)
    AND ROWNUM <= nbRows
    Here the version without DECODE (working)
    The output returns the rows as expected - ordered by c2 column
    SELECT c1, c2
    FROM
    SELECT ROWNUM rn, arv.*
    FROM A_AWA_AR arv
    WHERE ROWNUM < (frstRow + nbRows - 1) -- show only some rows determined by procedure
    ORDER BY c2 -- sort by var_order
    WHERE rn BETWEEN frstRow AND (frstRow + nbRows)
    AND ROWNUM <= nbRows
    -----

    Here are some results I've been getting... I will try the best I can to explain my problem.
    And by the way the table A_AWA_AR is a VIEW maybe this can help.
    My problem -- I think -- is that I don't understand how DECODE works. I should be a conditional IF-ELSE-THEN-like function but its behavior is not returning what I'm expecting.
    I need a solution where I will be able to sort the first lets say 10 rows using ROWNUM to tag row position (in sub-query) then the main query should only show the rows from 3rd postion to 7th position in the main query (as an example) with RN BETWEEN 3 AND 7. My solution does not work when I use decode but works when i pass the column name directly.
    Here is a simple query returning the values in the order they are found in the view:
    SELECT ROWNUM rn, ROW_ID, SR_NUM
    FROM A_AWA_AR
    WHERE ROWNUM < 10 Results:
    RN                                     ROW_ID          SR_NUM                                                         
    1                                      1-100876        1-60476802                                                     
    2                                      1-10087G        1-60476812                                                     
    3                                      1-10087Q        1-60476822                                                     
    4                                      1-10088A        1-60476842                                                     
    5                                      1-10088K        1-60476852                                                     
    6                                      1-10088U        1-60476862                                                     
    7                                      1-100894        1-60476872                                                     
    8                                      1-10089E        1-60476882                                                     
    9                                      1-10089O        1-60476892                                                      Now this is the query & result I would like to obtain (this is done pretty fast since it returns as soon as it reaches 9 sorted rows):
    SELECT ROWNUM rn, ROW_ID, SR_NUM
    FROM A_AWA_AR
    WHERE ROWNUM < 10
    ORDER BY SR_NUMResults:
    RN                                     ROW_ID          SR_NUM                                                         
    1                                      1-1RV9J7        1-107274499                                                    
    2                                      1-1RVXIF        1-107305575                                                    
    3                                      1-1SHY65        1-108332861                                                    
    4                                      1-22FOSR        1-125023563                                                    
    5                                      1-236F3X        1-126270717                                                    
    6                                      1-28P5EB        1-135542675                                                    
    7                                      1-29P2VY        1-137219038                                                    
    8                                      1-29ZNFH        1-137712221                                                    
    9                                      1-2BLWQR        1-140430339                                                     But with decode even a simple pseudo decode:
    SELECT ROWNUM rn, ROW_ID, SR_NUM
    FROM A_AWA_AR
    WHERE ROWNUM < 10
    ORDER BY DECODE(1,1,SR_NUM)Results:
    RN                                     ROW_ID          SR_NUM                                                         
    1                                      1-100876        1-60476802                                                     
    2                                      1-10087G        1-60476812                                                     
    3                                      1-10087Q        1-60476822                                                     
    4                                      1-10088A        1-60476842                                                     
    5                                      1-10088K        1-60476852                                                     
    6                                      1-10088U        1-60476862                                                     
    7                                      1-100894        1-60476872                                                     
    8                                      1-10089E        1-60476882                                                     
    9                                      1-10089O        1-60476892                                                      Here is the structure I'm trying to get and works when passing a column name:
    SELECT *
    FROM
        SELECT ROWNUM rn, ROW_ID, SR_NUM
        FROM A_AWA_AR
        WHERE ROWNUM < 10
        ORDER BY SR_NUM
    WHERE rn BETWEEN 3 AND 7Results:
    RN                                     ROW_ID          SR_NUM                                                         
    3                                      1-1SHY65        1-108332861                                                    
    4                                      1-22FOSR        1-125023563                                                    
    5                                      1-236F3X        1-126270717                                                    
    6                                      1-28P5EB        1-135542675                                                    
    7                                      1-29P2VY        1-137219038                                                     Now with decode (not working):
    SELECT *
    FROM
        SELECT ROWNUM rn, ROW_ID, SR_NUM
        FROM A_AWA_AR
        WHERE ROWNUM < 10
        ORDER BY DECODE(1,1,SR_NUM)
    WHERE rn BETWEEN 3 AND 7Results:
    RN                                     ROW_ID          SR_NUM                                                         
    3                                      1-10087Q        1-60476822                                                     
    4                                      1-10088A        1-60476842                                                     
    5                                      1-10088K        1-60476852                                                     
    6                                      1-10088U        1-60476862                                                     
    7                                      1-100894        1-60476872                                                      Thanks for the support!

  • Acrobat XI Decoder Problem

    An error says that Acrobat XI does not have a decoder for audio content.  The file is an MP3.  I have the latest Flash player installed.  Running Windows 8.  How do I fix?

    I would like to provide a sample, but I do not know how to do so from a proprietary disk that cost about $900.  Pat Willener's link seem to go to purchasing some cloud services.  I do not know of how I can provide you with a sample.  The problem is aggravating and did not occur with Windows 7 or the Reader version that I had before my prior computer bricked.  There has to be a way that you can work with me to fix this problem.  I would be happy to upload files if there was a clean and simple way to do so.  So far, I find this exercise to be a kluge and entirely unhelpful.  I took a screen shot of the error message and saved it in CS6 as a .psd.  You will not even let me upload that!  This is unhelpful.

  • Decoding-problems on subject

    Hello all,
    as far as I observed javamail does an automatic decoding of an eMail-subject for me. So a
    Subject: =?iso-8859-1?B?QW1hem9uLmRl?=
    automaticly becomes
    Subject: Amazon.de
    Now I get a message with the subject:
    Subject: openBC:=?UTF-8?Q?=20Ingo=20Gr=C3=BCneberg=20hat=20?= =?UTF-8?Q?Sie=20als=20Kontakt=20best?==?UTF-8?Q?=C3=A4tigt?=
    which will not be decoded by javamail. I tried to work around the problem and forced my application to decode the subject one more time - no result:
    System.out.println(MimeUtility.decodeText("openBC:=?UTF-8?Q?=20Ingo=20Gr=C3=BCneberg=20hat=20?= Sie als Kontakt best=?UTF-8?Q?=C3=A4tigt?="));
    -> openBC:=?UTF-8?Q?=20Ingo=20Gr=C3=BCneberg=20hat=20?= Sie als Kontakt best=?UTF-8?Q?=C3=A4tigt?=
    Then I thought the string would be the problem, but Thunderbird decodes the subject right!??
    Any sugestions? Thanks a lot in advance!
    Stephan
    Message was edited by:
    lotk

    First of all,i want to show you my code:
    package orlab.test;
    import java.io.File;
    import java.io.FileInputStream;
    import javax.mail.internet.MimeMessage;
    public class Program {
    * @param args
    * @throws Exception
    * @throws
    public static void main(String[] args) throws Exception {
    System.setProperty("mail.mime.decodetext.strict", "false");
    File dir = new File("c:/Mail");
    File[] files = dir.listFiles();
    for (int i = 0; i < files.length && i < 4; i++) {
    File f = files;
    if (!f.isFile()) {
    continue;
    FileInputStream fis = new FileInputStream(f);
    MimeMessage mm = new MimeMessage(null, fis);
    String rowHeader = mm.getHeader("Subject")[0];
    // System.out.println(MimeUtility.decodeText(mm.getSubject()));
    if (!rowHeader.equals(mm.getSubject())) {
    // continue;
    System.out.println("File\t\t:" + f.getName());
    System.out.println("Raw\t\t:" + rowHeader);
    System.out.println("Subject\t\t:" + mm.getSubject());
    fis.close();
    System.out.println("_______________");
    the raw mail data like this:
    _*Message-ID: <[email protected]>*_
    _*Date: Fri, 6 Jun 2008 19:06:47 +0900 (JST)*_
    _*Subject: SOME=?ISO-2022-JP?B?GyRCTU0wRjdvJUElJyVDJS8lNyE8JUgbKEI=?=*_
    this is the code which can decode "SOME=?ISO-2022-JP?B?GyRCTU0wRjdvJUElJyVDJS8lNyE8JUgbKEI=?=
    "to"SOME&#27096;&#26696;&#20214;&#12481;&#12455;&#12483;&#12463;&#12471;&#12540;&#12488;
    ", when i using gnu javamail.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Creative T7700 and DTS-100 Decoder (PROBLEMS, PLEASE HELP)

    Hi
    I purchased a Creative T7700 Speaker system and DTS-100 Decoder the other week but so far have had no luck getting it to work. I use a Gigabyte GA-K8NS ULTRA motherboard which came with an audio combo kit that supports 7.1. I did everything the logical way, Connecting the black wire to black socket in speaker and red tabbed wire to the red socket in speaker, I then connected each speaker to the sockets at the back of subwoofer. Then I connected the audio cables (grey, blue, orange, black) from sub to the Decoder switch, then connected the other wires from switch to the audio jacks at the back of the PC(blue plug to blue socket, black plug to black socket, orange plug to orange socket), The I connected the hardwired plugs in decoder switch to the decoder. Finally, I plugged the mains power to the decoder and subwoofer but got no sound at all. I checked the 7.1 was set up on computer and it was.
    HAS ANYONE ANY IDEAS WHY I GET NO SOUND? :smileyindifferent:
    1. I know I have power cause the circular green light on volume and bass controller is on.
    2. I have the decoder set to analogue and tried 1,2 and 3.
    3. I have tried changing the decoder switch between decoder and PC.
    4. I checked I have the decoder and subwoofer set to 7.1
    5. I know it isnt a problem with computer or decoder because when I plug earphones into the green audio jack in either the PC or Decoder I get sound (Although I have the decoder switch set to "PC"meaning the decoder just sits there with its little green lights making no difference at all).
    PLEASE HELP WITH THIS PROBLEM.
    Thanks

    I also am having this issue. Where I have installed the software for the M and after doing so I plug it in and get the Driver installation that fails to find drivers. If I try to open the creative explorer or the firmware upgrade released yesterday both say no device attached.

Maybe you are looking for

  • IPod will not install drivers on Windows Vista

    Hello, I am running Windows Vista Ultimate on 2 computers. One computer connects to my 60GB iPod video just fine, while the other looks for drivers and then fails to find any. I get a window that pops up saying "Insert the disc that came with your iP

  • Welcome screen in PS and AI

    So...it's 2014 and you're Adobe! I keep the welcometips on, because I like to see new tips (eventhough most is pretty basic) and such. The videos you link to on Youtube will not open in a new window or even go to fullscreen. The fact this doesn't wor

  • Is logic pro 9.1.8 stable with OSX 10.7?

    I run Logic pro 9.1.8 with OSX 10.6.8 on an external hard drive and it runs smooth as anything. Very stable, never misses a beat. The reason i have an external as my boot drive is because I updated my internal drive from Snow Leopard to Mountain Lion

  • Problem with motion tracking

    I have Premiere Elements 12 64 bit on a windows 8 machine. I am trying to use the motion tracking feature. I am able to select an object to track and the resulting yellow rectangle follows the object as it moves through the scene. The problem I have

  • Function for looking up multiple variables

    I've been through the F&F user guide and the numbers help guide. I'm either not seeing it or something is just going over my head. I know what I'm doing when it comes to my mac and normally I'd say I'm very capable with the standard functions/operati