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: 8119
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: 10274
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: 8119
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 Changeman get multiple "Browse C... elixir1986 Compuware & Other Tools 4 Fri Jul 14, 2017 1:48 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Display upon console bipinpeter COBOL Programming 1 Thu Jun 22, 2017 12:35 am
No new posts Unable to create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm


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