Author Topic: Indexing Group using GROUPMAXPAGES?  (Read 3983 times)

Josh Chiang

  • Guest
Indexing Group using GROUPMAXPAGES?
« on: June 24, 2013, 08:02:01 AM »
Hi,

I'm using the GROUPMAXPAGES option, which is set to 100.  I've indexed PageNumber.  However, the page number index value for every group is 1.  How can I get the PageNumber value to correctly provide the first page number for each group of 100 pages?  Here is the parameters I am using:

CC=YES
CCTYPE=A
CONVERT=NO
CPGID=500
MCF2REF=CPCS
TRC=NO
FILEFORMAT=RECORD
TRIGGER1=*,1,X'F1',(TYPE=GROUP)                                    /* 1            */
FIELD1=0,16,4,(TRIGGER=1,BASE=0)
FIELD2=2,122,11,(TRIGGER=1,BASE=0)
FIELD3=0,130,3,(TRIGGER=1,BASE=0)
INDEX1=X'C29981958388D5A494828599',FIELD1,(TYPE=GROUP,BREAK=YES)   /* BranchNumber */
INDEX2=X'D985979699A3C481A385',FIELD2,(TYPE=GROUP,BREAK=YES)       /* ReportDate   */
INDEX3=X'D7818785D5A494828599',FIELD3,(TYPE=GROUP,BREAK=NO)        /* PageNumber   */
DCFPAGENAMES=NO
UNIQUEBNGS=YES
GROUPMAXPAGES=100
IMAGEOUT=ASIS
INDEXOBJ=GROUP
INDEXSTARTBY=1
INSERTIMM=NO
RESTYPE=NONE

Thanks,

Josh.

Alessandro Perucchi

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1002
    • View Profile
Re: Indexing Group using GROUPMAXPAGES?
« Reply #1 on: July 03, 2013, 04:33:23 AM »
Hello Josh,

I'm not sure to understand your question... I will try to explain what I've understood:

you have a document with 921 pages for example.
And at each block of 100 pages, you want to get the page number.
For example, first page you have 1, then next block you should have 101, then 201, 301.... and finally 901.

Is that what you meant?

Sincerely yours,
Alessandro
Alessandro Perucchi

#Install #Migrations #Conversion #Educate #Repair #Upgrade #Migrate #Enhance #Optimize #AIX #Linux #Multiplatforms #DB2 #Windows #Oracle #TSM #Tivoli #Performance #Audits #Customizing #Availability #HA #DR #JavaApi #ContentNavigator #ICN #WEBi #ODWEK #Services #PDF #AFP #XML

pankaj.puranik

  • Sr. Member
  • ****
  • Posts: 374
    • View Profile
Re: Indexing Group using GROUPMAXPAGES?
« Reply #2 on: July 24, 2013, 11:08:22 AM »
Josh

One more question. Is this a transaction type of report?

Thanks
Pankaj.

lfbeach

  • Jr. Member
  • **
  • Posts: 43
    • View Profile
Re: Indexing Group using GROUPMAXPAGES?
« Reply #3 on: March 25, 2014, 11:17:44 AM »
Was there ever an answer on this one?   I am using GROUPMAXPAGES in a DOC type document.   I want to be able to use the 'page count' as an additional displayable index in the folder.  Is this possible?
Lori Frazier Beach
Developer-CMOD Admin
Document Management Systems

subbu

  • Guest
Re: Indexing Group using GROUPMAXPAGES?
« Reply #4 on: March 26, 2014, 02:01:29 AM »
Hi Josh,
can you try using BREAK=YES for the Page Number?

Cheers
Subbu

subbu

  • Guest
Re: Indexing Group using GROUPMAXPAGES?
« Reply #5 on: March 26, 2014, 02:08:28 AM »
Hi Lori,

not sure if I understood your question correctly. Are you trying to say that you want the page count details displayed in folder.

In that case, please set up a database field "pages" and check the "page count" option under App group - field information. create a folder field and map that folder field to the database field that you created.