Converting multiple correlated self-referencing subqueries to Analytic Func

I have a peoplesoft query that I am trying to improve the performance on. Using DBMS_XPLAN with gather_plan_statistics is showing me that a large portion of the time is being spent on the various correlated self-referencing MAX/MIN subqueries.
|  24 |       SORT AGGREGATE               |                    |   9461K|      1 |    21 |            |          |        |      |            |   9461K|00:14:31.67 |     139M|  99172 |       |       |          |
|* 25 |        TABLE ACCESS BY INDEX ROWID | PS_BAS_PARTIC      |   9461K|      1 |    21 |    12   (0)| 00:00:01 |        |      |            |     89M|00:19:10.64 |     139M|  99172 |       |       |          |
|* 26 |         INDEX RANGE SCAN           | PSBBAS_PARTIC      |   9461K|      9 |       |     3   (0)| 00:00:01 |        |      |            |    131M|00:03:16.21 |      19M|  16193 |       |       |          |I think I understand the basic mechanism of converting a simple case to use a MAX/MIN PARTITION OVER analytic. I.E.
select emplid, effdt, .....
from ps_pay_check pchk1
where pchk1.effdt = (select max(effdt)
                    from ps_pay_check pchk2
                    where pchk2.emplid = pchk1.emplid);converts to
select emplid, effdt, .....
from
(select emplid,
          effdt,
          max(effdt) over (partition by emplid) max_effdt
from ps_pay_check pchk1)
where effdt = max_effdt;However, when you have multiple subqueries that have multiple predicates (some referencing the parent some against binds), I get a little confused.
Here is the main example I am working with (fairly complex/ugly query).
SELECT   /*+ gather_plan_statistics */
        A.EMPLID, A.EMPL_RCD, A.REG_REGION, A.EMPL_STATUS, A.LOCATION,
         A.ACTION_REASON, A.EFFDT, A.REG_TEMP, A.PAYGROUP, A.FULL_PART_TIME, A.JOBCODE, A.DEPTID,
         A.UNION_CD, A.FLSA_STATUS, A.STD_HOURS, A.ACTION, A.SUPERVISOR_ID, A.SETID_JOBCODE,
         B.MED_ELIG, B.DEP_LIFE_ELIG,B.SUP_LIFE_ELIG
FROM
   PS_JOB A,
  (SELECT  EMPLID,
   max(( CASE WHEN PLAN_TYPE IN ( '10','11','14')  THEN 'Y' ELSE 'N' END)) med_elig,
   max(( CASE WHEN PLAN_TYPE IN ( '2X','2Z')  THEN 'Y' ELSE 'N' END)) dep_life_elig,
   max(( CASE WHEN PLAN_TYPE IN ( '2Y')  THEN 'Y' ELSE 'N' END)) sup_life_elig
  FROM          
    (SELECT 
       B.EMPLID, B.PLAN_TYPE
     FROM PS_BAS_PARTIC A,
         PS_BAS_PARTIC_PLAN B,
         PS_BAS_PARTIC_OPTN C
     WHERE      A.EVENT_STATUS = 'C'
         AND A.BAS_PROCESS_STATUS = 'FE'
         AND A.BAS_EVT_DISCONNECT = 'N'
         AND A.EVENT_DT = (SELECT MAX (A_ED.EVENT_DT)
                                    FROM PS_BAS_PARTIC A_ED
                                  WHERE        A.EMPLID = A_ED.EMPLID
                                          AND A_ED.EVENT_DT <= :1
                                          AND A_ED.BAS_PROCESS_STATUS = A.BAS_PROCESS_STATUS
                                          AND A_ED.BAS_EVT_DISCONNECT = A.BAS_EVT_DISCONNECT)
         AND A.SCHED_ID = B.SCHED_ID
         AND A.EMPLID = B.EMPLID
         AND A.BENEFIT_RCD_NBR = B.BENEFIT_RCD_NBR
         AND A.EVENT_ID = B.EVENT_ID
         AND B.PLAN_TYPE IN ('10', '11', '14', '2X', '2Z', '2Y')
         AND B.EMPLID = C.EMPLID
         AND B.BENEFIT_RCD_NBR = C.BENEFIT_RCD_NBR
         AND B.EVENT_ID = C.EVENT_ID
         AND B.PLAN_TYPE = C.PLAN_TYPE
         AND B.SCHED_ID = C.SCHED_ID
         AND A.EVENT_DT = (SELECT MAX (D.EVENT_DT)
                                    FROM PS_BAS_PARTIC D
                                  WHERE        A.EMPLID = D.EMPLID
                                          AND D.EVENT_STATUS = A.EVENT_STATUS
                                          AND D.EVENT_DT <= :1
                                          AND D.BAS_PROCESS_STATUS = A.BAS_PROCESS_STATUS
                                          AND D.BAS_EVT_DISCONNECT = A.BAS_EVT_DISCONNECT)
         AND C.BENEFIT_PLAN <> ' '
         AND A.STATUS_DT = (SELECT MAX (E.STATUS_DT)
                                     FROM PS_BAS_PARTIC E
                                    WHERE      E.EVENT_STATUS = A.EVENT_STATUS
                                            AND E.EMPLID = A.EMPLID
                                            AND E.BAS_PROCESS_STATUS = A.BAS_PROCESS_STATUS
                                            AND E.BAS_EVT_DISCONNECT = A.BAS_EVT_DISCONNECT
                                            AND E.EVENT_DT = A.EVENT_DT)
         AND A.EVENT_PRIORITY = (SELECT MIN (F.EVENT_PRIORITY)
                                            FROM PS_BAS_PARTIC F
                                          WHERE        F.EMPLID = A.EMPLID
                                                  AND F.EVENT_STATUS = A.EVENT_STATUS
                                                  AND F.BAS_PROCESS_STATUS = A.BAS_PROCESS_STATUS
                                                  AND F.BAS_EVT_DISCONNECT = A.BAS_EVT_DISCONNECT
                                                  AND F.EVENT_DT = A.EVENT_DT
                                                  AND F.STATUS_DT = A.STATUS_DT)
     GROUP BY EMPLID) B
WHERE  A.EMPLID = B. EMPLID
            AND  A.PER_ORG = 'EMP'
            AND A.EFFDT = (SELECT MAX (A_SUB.EFFDT)
                                FROM PS_JOB A_SUB
                              WHERE        A.EMPLID = A_SUB.EMPLID
                                      AND A.EMPL_RCD = A_SUB.EMPL_RCD
                                      AND A_SUB.EFFDT <= :3)
            AND A.EFFSEQ = (SELECT MAX (A_SUB2.EFFSEQ)
                                 FROM PS_JOB A_SUB2
                                WHERE      A.EMPLID = A_SUB2.EMPLID
                                        AND A.EMPL_RCD = A_SUB2.EMPL_RCD
                                        AND A.EFFDT = A_SUB2.EFFDT)
ORDER BY A.EMPLID;As you can see this has a total of 6 different MAX/MIN subqueries. Can all of them be turned into analytic equivalents, and how are the different predicates of the subqueries handled?
Any help appreciated!
Thanks
Wayne

The full query takes roughly 25 min. With 14.5 min taken by the first correlated subquery, MAX (A_ED.EVENT_DT).
Here's the full plan:
| Id  | Operation                          | Name               | Starts | E-Rows |E-Bytes| Cost (%CPU)| E-Time   |    TQ  |IN-OUT| PQ Distrib | A-Rows |   A-Time   | Buffers | Reads  |  OMem |  1Mem | Used-Mem |
|   0 | SELECT STATEMENT                   |                    |      1 |        |       |   220M(100)|          |        |      |            |      1 |00:24:59.66 |     181M|    398K|       |       |          |
|*  1 |  FILTER                            |                    |      1 |        |       |            |          |        |      |            |      1 |00:24:59.66 |     181M|    398K|       |       |          |
|   2 |   NESTED LOOPS                     |                    |      1 |      6 |   636 |   220M  (1)|733:42:27 |        |      |            |      1 |00:24:59.65 |     181M|    398K|       |       |          |
|   3 |    VIEW                            |                    |      1 |      1 |    16 |   220M  (1)|733:42:27 |        |      |            |      1 |00:24:59.64 |     181M|    398K|       |       |          |
|   4 |     SORT AGGREGATE                 |                    |      1 |      1 |   102 |            |          |        |      |            |      1 |00:24:59.64 |     181M|    398K|       |       |          |
|*  5 |      FILTER                        |                    |      1 |        |       |            |          |        |      |            |     23M|00:23:02.81 |     181M|    398K|       |       |          |
|   6 |       PX COORDINATOR               |                    |      1 |        |       |            |          |        |      |            |     76M|00:06:42.64 |     300K|    299K|       |       |          |
|   7 |        PX SEND QC (RANDOM)         | :TQ10004           |      0 |     18M|  1792M|   199K  (2)| 00:39:54 |  Q1,04 | P->S | QC (RAND)  |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|*  8 |         HASH JOIN BUFFERED         |                    |      0 |     18M|  1792M|   199K  (2)| 00:39:54 |  Q1,04 | PCWP |            |      0 |00:00:00.01 |       0 |      0 |   325M|    16M|          |
|   9 |          BUFFER SORT               |                    |      0 |        |       |            |          |  Q1,04 | PCWC |            |      0 |00:00:00.01 |       0 |      0 | 73728 | 73728 |          |
|  10 |           PX RECEIVE               |                    |      0 |   3405K|   152M| 19585   (2)| 00:03:56 |  Q1,04 | PCWP |            |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|  11 |            PX SEND HASH            | :TQ10001           |      0 |   3405K|   152M| 19585   (2)| 00:03:56 |        | S->P | HASH       |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|* 12 |             TABLE ACCESS FULL      | PS_BAS_PARTIC      |      1 |   3405K|   152M| 19585   (2)| 00:03:56 |        |      |            |   3302K|00:00:10.18 |   87732 |  87726 |       |       |          |
|  13 |          PX RECEIVE                |                    |      0 |     24M|  1289M|   179K  (2)| 00:35:59 |  Q1,04 | PCWP |            |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|  14 |           PX SEND HASH             | :TQ10003           |      0 |     24M|  1289M|   179K  (2)| 00:35:59 |  Q1,03 | P->P | HASH       |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|* 15 |            HASH JOIN BUFFERED      |                    |      0 |     24M|  1289M|   179K  (2)| 00:35:59 |  Q1,03 | PCWP |            |      0 |00:00:00.01 |       0 |      0 |   730M|    18M|          |
|  16 |             BUFFER SORT            |                    |      0 |        |       |            |          |  Q1,03 | PCWC |            |      0 |00:00:00.01 |       0 |      0 | 73728 | 73728 |          |
|  17 |              PX RECEIVE            |                    |      0 |     12M|   279M| 47310   (3)| 00:09:28 |  Q1,03 | PCWP |            |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|  18 |               PX SEND HASH         | :TQ10000           |      0 |     12M|   279M| 47310   (3)| 00:09:28 |        | S->P | HASH       |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|* 19 |                INDEX FAST FULL SCAN| PS_BAS_PARTIC_PLAN |      1 |     12M|   279M| 47310   (3)| 00:09:28 |        |      |            |     12M|00:00:57.03 |     213K|    211K|       |       |          |
|  20 |             PX RECEIVE             |                    |      0 |     84M|  2499M|   132K  (2)| 00:26:30 |  Q1,03 | PCWP |            |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|  21 |              PX SEND HASH          | :TQ10002           |      0 |     84M|  2499M|   132K  (2)| 00:26:30 |  Q1,02 | P->P | HASH       |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|  22 |               PX BLOCK ITERATOR    |                    |      0 |     84M|  2499M|   132K  (2)| 00:26:30 |  Q1,02 | PCWC |            |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|* 23 |                TABLE ACCESS FULL   | PS_BAS_PARTIC_OPTN |      0 |     84M|  2499M|   132K  (2)| 00:26:30 |  Q1,02 | PCWP |            |      0 |00:00:00.01 |       0 |      0 |       |       |          |
|  24 |       SORT AGGREGATE               |                    |   9461K|      1 |    21 |            |          |        |      |            |   9461K|00:14:31.67 |     139M|  99172 |       |       |          |
|* 25 |        TABLE ACCESS BY INDEX ROWID | PS_BAS_PARTIC      |   9461K|      1 |    21 |    12   (0)| 00:00:01 |        |      |            |     89M|00:19:10.64 |     139M|  99172 |       |       |          |
|* 26 |         INDEX RANGE SCAN           | PSBBAS_PARTIC      |   9461K|      9 |       |     3   (0)| 00:00:01 |        |      |            |    131M|00:03:16.21 |      19M|  16193 |       |       |          |
|  27 |       SORT AGGREGATE               |                    |   1093K|      1 |    23 |            |          |        |      |            |   1093K|00:00:47.55 |      13M|      0 |       |       |          |
|* 28 |        TABLE ACCESS BY INDEX ROWID | PS_BAS_PARTIC      |   1093K|      1 |    23 |    12   (0)| 00:00:01 |        |      |            |   9182K|00:00:53.32 |      13M|      0 |       |       |          |
|* 29 |         INDEX RANGE SCAN           | PSBBAS_PARTIC      |   1093K|      9 |       |     3   (0)| 00:00:01 |        |      |            |     12M|00:00:13.00 |    2230K|      0 |       |       |          |
|  30 |       SORT AGGREGATE               |                    |   1093K|      1 |    31 |            |          |        |      |            |   1093K|00:00:43.48 |      13M|      0 |       |       |          |
|* 31 |        TABLE ACCESS BY INDEX ROWID | PS_BAS_PARTIC      |   1093K|      1 |    31 |    12   (0)| 00:00:01 |        |      |            |   1122K|00:00:41.05 |      13M|      0 |       |       |          |
|* 32 |         INDEX RANGE SCAN           | PSBBAS_PARTIC      |   1093K|      9 |       |     3   (0)| 00:00:01 |        |      |            |     12M|00:00:12.98 |    2229K|      0 |       |       |          |
|  33 |       SORT AGGREGATE               |                    |   1077K|      1 |    35 |            |          |        |      |            |   1077K|00:00:42.82 |      13M|      0 |       |       |          |
|* 34 |        TABLE ACCESS BY INDEX ROWID | PS_BAS_PARTIC      |   1077K|      1 |    35 |    12   (0)| 00:00:01 |        |      |            |   1079K|00:00:40.67 |      13M|      0 |       |       |          |
|* 35 |         INDEX RANGE SCAN           | PSBBAS_PARTIC      |   1077K|      9 |       |     3   (0)| 00:00:01 |        |      |            |     12M|00:00:12.62 |    2197K|      0 |       |       |          |
|  36 |    TABLE ACCESS BY INDEX ROWID     | PS_JOB             |      1 |      6 |   540 |     8   (0)| 00:00:01 |        |      |            |      1 |00:00:00.02 |       4 |      4 |       |       |          |
|* 37 |     INDEX RANGE SCAN               | PS0JOB             |      1 |      6 |       |     2   (0)| 00:00:01 |        |      |            |      1 |00:00:00.01 |       3 |      3 |       |       |          |
|  38 |   SORT AGGREGATE                   |                    |      1 |      1 |    19 |            |          |        |      |            |      1 |00:00:00.01 |       3 |      1 |       |       |          |
|* 39 |    INDEX RANGE SCAN                | PSAJOB             |      1 |      1 |    19 |     3   (0)| 00:00:01 |        |      |            |      1 |00:00:00.01 |       3 |      1 |       |       |          |
|  40 |   SORT AGGREGATE                   |                    |      1 |      1 |    22 |            |          |        |      |            |      1 |00:00:00.01 |       3 |      0 |       |       |          |
|* 41 |    INDEX RANGE SCAN                | PSAJOB             |      1 |      1 |    22 |     3   (0)| 00:00:01 |        |      |            |      1 |00:00:00.01 |       3 |      0 |       |       |          |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Yes, I was also puzzled by the 2 almost identical EVENT_DT subqueries. The second one, with EVENT_STATUS, only takes about 1 min of the execution time (since the EVENT_STATUS filters the records processed by the subquery by an order of magnitude). I haven't had a chance to ask the developers about it yet, but it does make a difference in the output. Though, even if I were to take out the second one, the performance and question of the proper format of the Analytic functions would remain.

Similar Messages

  • Self referencing table many to many relationship

    I am in a bit of a logic pickle, and I was wondering if someone could help me out.
    I have a table in a database I am designing called document, it holds information on surprisingly on documents in our DMS.
    I want to create the notion that a document can have multiple related documents, and those documents can be the related documents for many documents.
    So it is a self referencing table, I have done these before so no big deal, but this time is a many to many relation, it wasnt before.
    Maybe something like:
    document
    docid (pk)
    related_doc
    docid (pk) (fk to document.docid)
    related_docid (pk) fk to document.docid)
    Does anyone have any experience with this or any advise I might find sueful?
    Thanks!

    A junction table can be used to resolve a many-to-many relationship as is in your example. There are two PK/FK relationships between document and related_document table. This will prevent denormalization of data.
    The other option could be to have just one table with two columns (parent_doc_id and child_doc_id) and have a PK constraint on both the columns - just like bill-of-materials.
    But I think the approach you have in your posting will work well.
    Shakti
    http://www.impact-sol.com
    Developers of Guggi Oracle - Tool for DBAs and Developers

  • Self referencing table and SQL statement

    In my database, I have a self-referencing table, the table itself is for projects, and it allows users to get a hierarchical view of the company.
    Here is the SQL (modifier is the term we use for project code, BBCI is the top project)
    SELECT
    modifier, modifierDescription, level
    FROM
    modifier
    WHERE
    level <= 2
    CONNECT BY PRIOR
    modifier = parentModifier
    START WITH modifier = 'BBCI'
    ORDER BY level
    That perticular query gets the first two levels in the structure. I use this information to produce a tree structure in a web app.
    But users have requested it would be good if in the tree structure is showed an + or - depending on whether there were anymore children under each parent, or better still the number of children under it, for example
    BBCI
    + BBCI_CHILD
    + BBCI_CHILD2
    - BBCI_CHILD3
    or
    BBCI
    + BBCI_CHILD (3 projects underneath)
    + BBCI_CHILD2 (2 projects underneath)
    - BBCI_CHILD3 (0 projects underneath)
    I am really stumped on this issue, and I am sure there is a way to do this in the web app, so for example do a query for each child node to see how many child nodes are underneath, but I figure it would be a lot tidier and faster if I could do it from a single SQL statement. Unfortunately I have tried to do this and am very much stuck.
    If you need more information please let me know
    Thanks!
    Jon

    You may be able to do this using analytical functions but it depends on the Oracle version you are using. It can also be done with standard SQL - you just need to count the number of child rows for each modifier/project first and supply that list as an in-line view:
    SELECT decode(modifier,'X',null,decode(child_rows,null,'-','+')),
    m.modifier,
    decode(modifier,'X',null,'('||nvl(cq.child_rows,0)||' projects underneath)')
    FROM modifier m,
    (select parentModifier,
         count(parentModifier) child_rows
    from modifier
    where parentModifier is not null
    group by parentModifier) cq
    WHERE m.modifier=cq.parentModifier(+)
    AND level <= 2
    CONNECT BY PRIOR
         m.modifier = m.parentModifier
    START WITH modifier = 'X'
    ORDER BY level, modifier;
    which gives you something like...
    D MODIFIER DECODE(MODIFIER,'X',NULL
    X
    - Y1 (0 projects underneath)
    + Y2 (2 projects underneath)
    + Y3 (3 projects underneath)
    The decode stuff is just to show you the result, you can format the output in your calling code. Just extend the columns to include everything you want, modifierDescription etc..
    Hope this helps.

  • Self-join query to Analytical function query

    Hi All,
    I have converted a self-join query to Analytical function query due to the performance reasons.
    Query which is using Analytical function is giving the correct count as I compared it with query using Self-Join. Can you please tell what is wrong in the query.
    ==========================
    Query using Self-Join
    select count(1)
    From (select t1.*, max(t1.dw_creation_dt) over (partition by t1.empl_id) pers_max_date
    from ohr_pers_curr t1 ) pers
         , (select t2.*, max(t2.dw_creation_dt) over (partition by t2.empl_id, t2.empl_rcd) job_max_date
         from OHR_JOB_CURR t2) job
    where pers.empl_id = job.empl_id
    and pers.dw_creation_dt=pers.pers_max_date
    and job.dw_creation_dt=job.job_max_date
    and job.dummy_row_flag = 'N'
    and pers.dw_creation_rsn_cd in ('N', 'U')
    and job.dw_creation_rsn_cd in ('N', 'U')
    ================================================
    Query Using Analytical function
    select count(1)
    From (select t1.*, max(t1.dw_creation_dt) over (partition by t1.empl_id) pers_max_date
    from ohr_pers_curr t1 ) pers
         , (select t2.*, max(t2.dw_creation_dt) over (partition by t2.empl_id, t2.empl_rcd) job_max_date
         from OHR_JOB_CURR t2) job
    where pers.empl_id = job.empl_id
    and pers.dw_creation_dt=pers.pers_max_date
    and job.dw_creation_dt=job.job_max_date
    and job.dummy_row_flag = 'N'
    and pers.dw_creation_rsn_cd in ('N', 'U')
    and job.dw_creation_rsn_cd in ('N', 'U')
    ==================================

    Hi David,
    The base is same but the problem is different.
    As far as implementation concern these queries looks same, but when I see there counts, they do not match. I do not have any reason why this happening.
    Regards
    Gaurav

  • Convert multiple files (word docs) to multiple pdf

    Hi,
    Is there a script I can use in batch processing to convert about 1500 word documents into pdf? I know it's possible to convert multiple files into one pdf, but this is no good to me. Doing these conversions one by one is going to take forever!
    I've tried selecting a few documents at a time and then selecting "convert to pdf" from the right-click menu, but each one requires that you tell it where to save, and then opens the file when it is done.
    I need to convert Word files on a regular basis for work, and could really use a batch process for this with so many to do!
    I have Acrobat 7 Pro (version 7.1.0) on XP Pro SP 2 at work, and Acrobat 8 Pro (Version 8.1.2) on XP Pro SP 3 at home.
    If there is anyway it's possible to do this via a batch process I would really appreciate knowing how!!
    Apologies if this has been covered in another thread, I searched but couldn't find anything.
    Thanks in advance :)

    I have Acrobat 9 Pro. I can batch convert Word docs to PDFs by doing this:
    1. Open Acrobat Pro. Click File > Create PDF > Batch Create Multiple Files...
    2. A window will open prompting you to add files. Click Add Files > Add Files... OR Add Folders... If adding a folder, navigate to it, and click OK to add it to the list. You can also select a bunch of files and drag & drop them into the Add Files window.
    3. Once you have all the files listed that you want to convert, click OK. A new window called Output Options will open. In this window, select your preferred settings. For me, I want all the new PDFs to have the same filename and be in the same folder as the Word docs, so I choose these settings:
    4. Click OK, and then the batch process will begin running. You will see Word opening and closing. However, you won't have to click Save or anything. You can run it unattended. The process takes a little while, so I usually set up a batch to run, then go to lunch. Once finished, you should have all your new PDFs:
    Hope that helps someone!

  • How can I convert multiple files at one time and not one at a time

    How can I convert multiple files at one time and not one at a time

    Hi Plissey1950,
    Sorry for the lengthy delay to a response.  Are you trying to convert multiple files to individual PDF files at the same time? (not combine them).  If so, you'll need to use Adobe Acrobat for this function. The CreatePDF service does not have the ability to convert multiple files to multiple individual PDF files.
    Thanks,
    David

  • How do I convert multiple sheets in excel into one pdf document?

    How do I convert multiple sheets (tabs) in excel to one combined pdf document?

    Hi Ptizer,
    If you have Acrobat PDFMaker  enable on Ms Excel. You can click on Create PDF.
    And choose settings as highlighted on screen shot it should do the job for you.
    Regards,
    Ajlan Huda.

  • How can I convert multiple .pdf doc's to .pdf/a doc's

    I need to convert multiple .pdf documents to .pdf/a documents in a batch mode, instead of one at a time.  Is there a way to do this in Adobe XI Pro or another Adobe product?

    You can use Acrobat XI Pro. Create an Action to make use of the appropriate "convert to..." Preflight (for PDF/A there are several).
    Be well...

  • Need help on self referencing a ssrs report

    Hi All,
    I have a graph on one of my report which shows data on level 1 by default and go on showing level 2 and level 3 data on successive clicks. This has been achieved by self referencing a ssrs report and passing respective parameters. Now to identify which level
    data needs to be shown on graph, I have used one more parameter which default value is 1 and go on increasing to 2 then 3 on successive click and this parameter value is used in group expression of graph. This works just fine.
    But the real problem has occurred when you go and select report parameters which are corresponding to level 1, level 2 and level 2 values and click on apply in between. For e.g. Assume level 1=Region, level 2=SubRegion and level 3=Country. When you run this
    report it shows region wise data on graph and value of fourth parameter is 1, now when you click on graph it takes you to level 2 i.e. it shows sub region wise data on graph and value of fourth parameter is 2 but when you go and select all region, sub region
    and countries from report parameters and click on apply button then it should show data on graph region wise but since the time you were selecting parameter data was sub region wise and value of fourth parameter was 2 it shows data for all sub regions which
    is weird and not acceptable at all. 
    I am hoping SSRS should provide a way to pass parameters just like we pass in action on any control within ssrs report to solve this issue. Please help me out to solve this issue or let me know if need more infor.

    Hi,
    There was an error reading from the pipe: Unrecognized error 109 (0x6d).
    One reason was inconsistent binding between client and server <netNamedPipeBinding> <security mode="None"></security>... (no
    communication)
    The other intermittent issue was time-out related.
    For more information, you could refer to:
    http://stackoverflow.com/questions/15836199/wcf-namedpipe-communicationexception-the-pipe-has-been-ended-109-0x6d
    http://stackoverflow.com/questions/22334514/wcf-named-pipe-error-the-pipe-has-been-ended-109-0x6d
    Regards

  • Converting multiple bmp files to PDF using acrobat 7.0 from DOS prompt

    Hi,
    I have a requirement to convert multiple BMP files in a folder to one PDF.
    I can use multiple file conversion option in acrobat to combine and convert them to one PDF .. but I have 2000 such folder to conver to PDF.
    PDF should be name after the folder name.
    Is there a to automate this in acrobat.. or can we run this conversion from DOS prompt using commands.. so that I can create a bat file and have them converted. Pls let me know.
    Thanks
    Pugazh

    I have not tried BMP files, but do JPeg, GIF, TIFF, and PNG files regularly. I simply open Acrobat, then select the graphics files in explorer and drag & drop to Acrobat. I then organize the graphics if needed (using the pages tab) and save to a PDF.

  • Convert Multiple Outlook Emails to Multiple PDF Files (Not Portfolio or Single PDF) for Archiving?

    Hi all, I am learning how to convert emails to PDF files and there is some great functionality there!!  I have not discovered how to convert multiple outlook emails into multiple PDF files (one PDF file for each email) - all at the same time (not one at a time)!!  Is there a way to do this using Acrobat X??  The purpose of this is for long-term business archiving.  When I search for an email in the archive, I do not want to pull up a portfolio containing 1000 emails or a 1000 page PDF file with multiple emails run together!!!  I want to pull up individual emails containing my search terms.  I have been searching for a way to archive emails and MS OUTLOOK .PST files are NOT the answer.  I get a lot of business emails with large attachments and I do not file my emails in separate sub-folders (by client or job).  I want to convert multiple emails (by date range) from my UNIVERSAL INBOX into multiple PDF files for long term storage (with each email being converted into its own, separate PDF file and named with the same name as the "Re: line" of the email).  This has been a HUGE problem for me....and Acrobat is sooooo close to the solution for me.  Can anyone help??  If so, will attachments be converted?  If not, is there a separate software program or add-in that I can buy that will do this??  I use MS Office 2010, Adobe Acrobat X Pro, Windows 7 64 BIT.  Thanks for your help!!

    I am a retired person and did'nt realize I already have a Adobe account, so you can scrap the entire information. Thanks for the trial anyway and have a great week.
    Frederick

  • Best practice: self referencing table

    Hallo,
    I want to load a self referencing table to my enterprise area in the dwh. I am not sure how to do this. What if a record references to another record which is inserted later in the same etl process? There is now way to sort, because it is possible that record a references to record b and record b references to record a. Disabling the fk constraint is not a good idea, because this doesn't prevent that invalid references will be loaded? I am thinking of building two mappings, one without the self referencing column and the other only with it, but that would cause approx. twice as much running time. Any other solutions?
    Regards,
    Torsten

    Mind sharing the solution? Would be interested to hear your solution (high level).
    Jean-Pierre

  • Converting multiple WordPerfect 9 documents into 1 PDF

    Greetings.
    I'm new, hope it's the right place to post and get some insight.
    Does anyone know that Adober Acrobat X Standard support WordPerfect 9 PDF conversion? We would like to convert multiple WP 9 documents into 1 PDF file. However, I did not see such option available from the selection list... that is when I try to convert/select multiple documents, the list does not give me the WordPerfect as the source file type... Any suggestion is welcome.
    Thanks.

    Corel's WP has not been and is not supported by Acrobat.
    Back in the day Corel used an in-house routine to create PDF.
    A few years ago a news release discussed Corel using a Nuance routine.
    Current news release speaks to Corel's PDF Fusion.
    So, yes PDF can created out of WP; just not with Acrobat.
    To learn what PDF creation or post-processing features Corel has or does not have you'll want to visit Corel's web space.
    If you want amped up PDF manipulation / post-processing you'll want to consider Acrobat Pro.
    Be well...

  • How do you create a macro for Acrobat Convert Multiple Reports action in Microsoft Access

    I have several reports in microsoft access and I've been able to combine them into a single PDF file using the Acrobat Convert Multiple Reports feature. Is there a way to create a macro for this action? I would like to create a time event for this procedure.
    Any help I get on this is greatly appreciated.
    Thanks

    CTPetEng,
    Since this question is not related to CreatePDF, but rather to Acrobat, I'm moving your question to the Acrobat forum.
    Dave

  • Converting multiple msft files into one pdf

    HELP - i am using adobe acrobat 9 pro for macs (Mac OS X 10.6.3). when we had a pc, we were able to convert multiple files (microsoft office) to a single pdf at once without first converting them all to pdf. when I attempt this using the same technique, the images for all documents other than pdf files are greyed out and it seems that word/office documents are not a supported format for the conversion of multiple files (not listed in drop down menu) into one pdf.
    I would greatly appreciate help with this. we are business users who are new to macs. we need to do a lot of this and are getting so frustrated. Thanks in advance!

    Hi mephisto11757,
    You can convert the following file types to PDF with the Adobe CreatePDF service:
    Adobe Creative Suite® file formats Examples include: .psd, .ai, .indd
    Microsoft Word (2000, XP, 2003, 2007, 2010, & 2011) .doc, .docx
    Microsoft Excel (2000, XP, 2003, 2007, 2010, & 2011) .xls, .xlsx
    Microsoft PowerPoint (2000, XP, 2003, 2007, 2010, & 2011) .ppt, .pptx
    Microsoft Publisher (2000, XP, 2003, 2007, 2010, & 2011) .pub
    Text Files .txt
    Rich Text Format .rtf
    Adobe PostScript .ps
    OpenOffice Format .odt
    Star Office .sxw, .sxi, .sxc, .sxd, .stw
    Corel WordPerfect .wpd
    Image file formats .gif, .png, .jpg, .bmp, .tiff
    Regards,
    Florence

Maybe you are looking for

  • Audigy 2 - EAX-Console crashes everyti

    Hi, I own the Audigy 2 ZS and have some trouble with the EAX-Console. When I want to change some settings there (CMSS f.e.) the software just hangs up. Like 80% of the time and I am not able to restart it, until I do a reboot. I have the latest drive

  • Hooking up Video Camera

    I have a Canon ZR65 and a brand new MacBook. I want to hook the camera up to import into iMovie. When I do it says that it doesn't detect a camera. What am I doing wrong? help, this is so frustrating!!!!!

  • Solaris 8 (Intel) safe installation ?

    Hello, I'm going to install Solaris 8 (Intel) on the disk with an existing installation of NT 4.0. I read somewhere that this can be dangerous because Solaris instalation can damage partition table because it creates a small partition in the beginnig

  • Making Detail Items Read Only

    I used the following to make detail items read only. The problem is one of the fields is a date with date picker. I cannot enter the date but if I use the date picker it allows the field to be updated. <script> if($v("P20_STATUS")=="SIGNED")      arr

  • Unable to import metadata using OBI 11g Admin tool

    Hello folks, I am new to OBI. I am trying to build a RPD. For that purpose I am trying to import some tables from database but I am unable to. I created DSN and also tried using OCI but no help. The OBI Admin tool client and database is installed und