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: 8165
Location: East Dubuque, Illinois, 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: 10327
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: 8165
Location: East Dubuque, Illinois, 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 display the sign only if the value is... useit DFSORT/ICETOOL 3 Wed Oct 04, 2017 5:53 pm
No new posts Binary to display characters Roy Ware SYNCSORT 3 Tue Sep 19, 2017 8:46 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts More than 1 Include criteria for sing... Roy Ware SYNCSORT 6 Wed Sep 13, 2017 11:45 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am

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