Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to display multiple pages of a single map?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: How to display multiple pages of a single map?
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: 7993
Location: Bellevue, IA

PostPosted: Wed Jan 28, 2009 6:28 pm    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10231
Location: italy

PostPosted: Wed Jan 28, 2009 6:57 pm    Post subject: Reply to: How to display multiple pages of a single map?
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: 7993
Location: Bellevue, IA

PostPosted: Wed Jan 28, 2009 6:59 pm    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 6 Fri Mar 24, 2017 2:24 pm
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts Display FTP Session Count within TSO Yolanda Harvey TSO/ISPF 3 Fri Mar 10, 2017 10:31 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us