Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8214
Location: Dubuque, Iowa, USA

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: 10396
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: 8214
Location: Dubuque, Iowa, USA

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 Sum the fields in particular format f... sharana64 DFSORT/ICETOOL 9 Fri Jan 05, 2018 1:11 am
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts Formatting multiple records to a sing... Vignesh Sid SYNCSORT 3 Tue Nov 07, 2017 12:22 pm
No new posts Updating multiple counts in trailer!! Vignesh Sid SYNCSORT 4 Mon Nov 06, 2017 1:04 pm
No new posts Selecting a row from multiple tables! Vignesh Sid DB2 2 Thu Oct 26, 2017 6:09 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us