Recent posts

#41
CMOD for Multiplatforms / Re: ODF Only Retrieving one se...
Last post by Ed_Arnold - May 12, 2025, 11:23:55 PM
Hi Joe - hmmm - I see a similar problem out there in my archive, hope this helps.

________________________________________
|
| Short answer:
|
| manually separate the documents in ODFProcessDist.java and create 3 separate files and attachments.  If these are PDF files you may need to use the PDF2PDF Transform sample to properly format the multi document PDF and then use ODFProcessDist to break it up into multiple attachments
|
_________________________________________

| Longer answer with discussion:
_________________________________________


Problem Description:
It has been observed that when processing ODF rules, multiple documents that are returned from the search query that is defined at the Report Bundle level is returning multiple hits as a single file for an attachment in preparation for emailing.

For example, the following query.

MemberID = '12345678911'

...should return x3 documents (pdfs), as three separate documents can be identified within this single load.

I can see from the system log that a bulk document retrieval process is occurring under the hood, of which is returning a single .pdf file, with the three pdfs combined.

BULK DOCUMENT RETRIEVAL
 
Application Group                                            Agid         Flds->Handle
--------------------------------------------------------------------------------------
EOBDEMO                                                      5017         ->35FAAA,0,2144,0,2144,0x55,0x44,0,1,0
                                                                          ->35FAAA,0,3759,2144,3759,0x55,0x44,0,1,0
                                                                          ->35FAAA,0,5367,5903,5367,0x55,0x44,0,1,0

Is there a way to force CMOD to return the results as separate documents, of which can be treated as three separate attachments?

Is this cannot be achieved should a feature request be raised?
___________________________________________________________

The initial reply was:

ODF doesn't know there are 3 different documents. Whatever is returned using the sql statement is considered one report bundle.  If we need to separate the documents, we can add a qualifier to the sql statement and define a separate report bundle for each query. Then each report bundle would be retrieved separately.

____________________________________________________________

Dialogue:

Here is the issue we are facing in a little more detail. I will take the following use case whereby I would like the ability to send an email either with multiple attachments or a single email with a single attachment.



I have successfully made the appropriate updates to the ODProcessDist.java to handle this scenario, of which works perfectly using the steps described in you last comment, by having additional Report Bundles for a distribution for example



Report Bundle 1 = MemberID = '12345678911' and Invoice Number = '1234'

Report Bundle 2 = MemberID = '12345678911' and Invoice Number = '1235'

Report Bundle 3 = MemberID = '12345678911' and Invoice Number = '1236'

This example works fine however the issue comes whereby the MemberID will always be a static value, however the Invoice Number will not. This means we cannot pass an Invoice Number in the value as the value will not be known at the time of distribution.

How would this be achieved in this scenario?
________________________________________________________

The only other method would be to manually separate the documents in ODFProcessDist.java and create 3 separate files and attachments.   

If these are PDF files you may need to use the PDF2PDF Transform sample to properly format the multi document PDF and then use ODFProcessDist to break it up into multiple attachments

Refer to the following on PDF2PDF:

https://www.ibm.com/support/pages/define-generic-transform-odpdf2pdf-manipulate-pdf-file-distributed-odf-version-9507

If further assistance is required someone with expertise in this area will need to be engaged.

Ed
#42
CMOD for Multiplatforms / ODF Only Retrieving one segmen...
Last post by Joe Wolken - May 12, 2025, 03:20:38 PM
We are trying to implement ODF to email PDF formatted Invoices to customers.  The invoice application creates a single PDF file with hundreds of invoices each evening.  A specific customer number may be on many invoices within the PDF load file.  OnDemand Loader successfully segments the PDF load file based on a change in Invoice #.  The result is that CustomerNo 123 may end up with 5 or more invoices that can each be searched and retrieved individually from the OnDemand Client.

We have a unique ODF Bundle configured for each CustomerNo that has an SQL Source defined as CUSTOMERNO = '123'. We have a Distribution associated with that same CustomerNo = 123. So that each Distribution gets an email with their CustomerNo invoices.

This all works great, EXCEPT.  If there are multiple invoices for CustomerNo 123 within a Load, the ODF Bundle only retrieves 1 of the invoices matching the CustomerNo.  We can not figure out how to configure ODF to continue searching OnDemand and retrieve all of the invoices for this CustomerNo. 

I am hoping this is a simple configuration error on our part and not a limitation of ODF.

Has anyone configured a similar use case and provide advice?

BTW, the server is running CMOD for Windows v.10.5.0.2

Thanks,
#43
Report Indexing / APK460S - a common message
Last post by Ed_Arnold - May 01, 2025, 08:02:24 PM
Had a recent report of an APK460S on z/OS, loading from a PC to the mainframe.

APK460S

TRIGGERS SATISFIED, BUT INDEXES WERE INCOMPLETE AT END-OF-FILE.

The TRIGGERn parameters specified in the parameter file were met, but the end of the file was reached before the INDEXn parameters were located.


In that case that means that while this trigger was found



 TRIGGER1=*,1,X'31',(TYPE=GROUP)



But then based on that trigger the index was not found.



FIELD1=2,17,30,(TRIGGER=1,BASE=0)

INDEX1=X'53454354494F4E4944',FIELD1,(TYPE=GROUP,BREAK=YES)


Cause and resolution:

The mainframe would double-space before printing the change details line.

Windows still does the double-space when the report prints, but indexing was thrown off by 1.

After updating the FIELD1 line to look down 1 line instead of 2 all is well.

#44
Windows Client / Re: multiple viewing sessions
Last post by DDP021 - April 23, 2025, 08:49:30 AM
Thanks Guys!  I didn't THINK it was possible currently but figured I'd ask just in case!  :-)

Right now its just a minor inconvenience.  Especially when testing and going back and forth remembering what session you were logged into!!!  lol

Thanks as always for the replies!

Take care!

Dave
#45
Windows Client / Re: multiple viewing sessions
Last post by Justin Derrick - April 22, 2025, 06:23:43 PM
Sounds like it would be a good enhancement request.  :)

-JD.
#46
Windows Client / Re: multiple viewing sessions
Last post by Ed_Arnold - April 22, 2025, 05:41:41 PM
Dave - can't do what you're asking - 1 client, viewing multiples.

You'll have to bring up multiple copies of the client and then alt-tab or however and keep flipping back and forth.

Ed
#47
Windows Client / multiple viewing sessions
Last post by DDP021 - April 22, 2025, 04:35:40 PM
Does anyone know if its possible to configure the VIEWER to allow you to logon to different servers at same time?  We can using the ADMIN cliient  to do our sewtups but not viewer.  Reason I ask is we have a PROD and QA server and its cumbersome to have to log out of one to log into the other each time.   Especially when testing in QA
#48
Report Indexing / Re: Report Wizard using PDF op...
Last post by DDP021 - April 21, 2025, 03:40:34 PM
Ed,

Seek and you shall find!   I would have never found that info myself like you did!  Someone at our helpdesk tracked down that setting in Adobe.  That's the only way it got fixed here!!!  Just one of those off things you dont come across too often!  I appreciate all your responses!!

Take care

Dave
#49
Report Indexing / Re: Report Wizard using PDF op...
Last post by Ed_Arnold - April 17, 2025, 06:19:25 PM
I mentioned this to the brain trust around here who pointed me to the CMOD Newsletter 4Q2022.

https://www.ibm.com/support/pages/node/6850805

QuoteProblems displaying PDF files with the OnDemand
Administrator client after upgrading Adobe
Acrobat Continuous Release 2022
When selecting a PDF file to begin indexing with the OnDemand
Administrator client or viewing with the OnDemand Client, the following
symptoms might occur:
� In the OnDemand Administrator, the Graphical Indexer window opens
the PDF document for indexing, but the PDF page renders outside or on
top of the Graphical Indexer window. Further, users are unable to select
any text for defining indexes, triggers, or fields.
� In the OnDemand Client, the PDF document opens for viewing, but the
PDF page renders outside or on top of the OnDemand Client.
� The OnDemand Administrator or OnDemand Client immediately
closes.
These issues are caused by new security enhancements implemented by
Adobe.
To prevent these issues from occurring, review the Preference settings in
Adobe Acrobat. Select the 'Edit/Preferences...' menu item, then click
'Security (Enhanced)'. Under 'Sandbox Protections' uncheck 'Enable
Protected Mode at startup'.
Unchecking 'Enable Protected Mode at startup' will display a message box
asking if you are sure you want to continue. Select Yes. Then close Adobe
Acrobat and try to open a PDF file in the Graphical Indexer of the
OnDemand Administrator or in the OnDemand Client.

And now I know.

Newsletter includes a screenshot as well.

Ed
#50
Report Indexing / Re: Report Wizard using PDF op...
Last post by Ed_Arnold - April 17, 2025, 05:33:26 PM
Much appreciated your followup good sir!

Ed