Author Topic: Lets Hide some Line data!  (Read 1928 times)

htees

  • Jr. Member
  • **
  • Posts: 17
    • View Profile
Lets Hide some Line data!
« on: June 10, 2015, 01:17:15 PM »
I have been asked to OMIT/Hide the index data that is sent over in a line data report.  The first thirty characters of each line contains index data, and our customer wants us to exclude it from the stored report.  My problem: I can't create AFP output as the customer desires the report to remain as line data as they want to be able to download the report into a text file, so using a pagedef/format to exclude the index fields isn't really an option as the report would then be converted to PDF.  A sample of how the file comes over:

 1201407019545829201CP         1CP1CP10IPPOLITO\RONALD\R\               2014010103
  201407019545829201CP          1CP1CP40IPPOLITO\CHRISTINE B \          2014010103
  201407019545829201CP          1CP1CP10HARLAN\CHARLES\D\                2014010131
  201407019545829201CP          1CP1CP40HARLAN\CATHRYN O\                2014010131
  201407019545829201CP          1CP1CP20VAZQUEZ-LUGO\DIANA\L\        20140501AS
  201407019545829201CP          1CP1CP20VAZQUEZ-LUGO\DIANA\L\        20140501DH

Anyone done some fancy hiding of index fields?

Thanks

Harold Thomas (HT)
 
Harold Thomas
Developer Advisor, Anthem BC/BS

Justin Derrick

  • IBM Content Manager OnDemand Consultant
  • Administrator
  • Hero Member
  • *****
  • Posts: 2231
  • CMOD Guru for hire...
    • View Profile
    • Tenacious Consulting
Re: Lets Hide some Line data!
« Reply #1 on: June 11, 2015, 02:06:56 AM »
This isn't really something CMOD does.  OnDemand strives to ensure document fidelity -- what goes in is what comes out. 

You'll likely have to build some sort of input exit that works in conjunction with your indexing, or build your own indexer that reads the file, excludes the index data, and produces a generic index file for the load. 

-JD.
IBM CMOD Professional Services: http://TenaciousConsulting.com
Call:  +1-866-533-7742  or  eMail:  jd@justinderrick.com
IBM CMOD Wiki:  https://CMOD.wiki/
FREE IBM CMOD Education & Webinars:  https://CMOD.Training/

Interests: #AIX #Linux #Multiplatforms #DB2 #TSM #SP #Performance #Security #Audits #Customizing #Availability #HA #DR