Indexing Group using GROUPMAXPAGES?

Previous topic - Next topic

Josh Chiang

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

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

Josh

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

Thanks
Pankaj.

lfbeach

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

Hi Josh,
can you try using BREAK=YES for the Page Number?

Cheers
Subbu

subbu

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.