IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to display multiple pages of a single map?


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
abhay pratap singh

New User


Joined: 22 Nov 2007
Posts: 77
Location: noida

PostPosted: Wed Jan 28, 2009 2:47 pm
Reply with quote

I have 100 records in a file and I want to display certain fields of these records on a map but a map can dispaly 24 records on single page only.
Can any one let me know what I should do to display records beyond 24th record.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jan 28, 2009 6:28 pm
Reply with quote

From the manuals link at the top of the page, look at the CICS Language Reference and Programming Guide on how to use BMS pages.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Jan 28, 2009 6:57 pm
Reply with quote

not an issue to be solved by a single programmer/analyst
paging standards should be defined at the programming standars level
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Wed Jan 28, 2009 6:59 pm
Reply with quote

You're right, enrico -- I should have said to follow site standards, whatever they are.
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Wed Jan 28, 2009 9:16 pm
Reply with quote

I would caution against using BMS Paging, many installations use industry
standard techniques that read only a porition of the file (in this case 24 records) per output display.
Back to top
View user's profile Send private message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Sun Feb 01, 2009 4:10 pm
Reply with quote

use Pageup Page-down concept using TSQ.

First write all records to TSQ and than start browsing TSQ (pageup page-down concept)
Back to top
View user's profile Send private message
Earl Haigh

Active User


Joined: 25 Jul 2006
Posts: 475

PostPosted: Sun Feb 01, 2009 10:08 pm
Reply with quote

Quote:
First write all records to TSQ and than start browsing TSQ (pageup page-down concept)


more efficient to use commarea technigue:

read/display 24 records

read 25th record

store 25th record key in commarea.

start next display with 25th record found in commarea
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top