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

Is it possible to create an MFS contents dynamically


IBM Mainframe Forums -> IMS DB/DC
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
nithusi

New User


Joined: 12 Apr 2006
Posts: 30

PostPosted: Tue Mar 06, 2007 7:09 pm
Reply with quote

hi,
Is it possible to throw an MFS or create an MFS contents dynamically? the scnario is I need to populate N no:of rows on an MFS screen but the value of N depends on the no:of records in teh database. So this can be known only during the runtime. Is it possible to populate the MFS in this scenario? If yes pls let me know how.

Thanks,
Nithya.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Wed Mar 07, 2007 9:42 am
Reply with quote

yes its possible in progam, screen scrolling logic has to be developed depending on number of rows you want to display on screen.
Back to top
View user's profile Send private message
nithusi

New User


Joined: 12 Apr 2006
Posts: 30

PostPosted: Wed Mar 07, 2007 4:52 pm
Reply with quote

Hi
Thanks for the advice. Could you pls hint mw how to do the screen scrolling? And do I have to declare those many variables in the MFS?

Thanks.
Back to top
View user's profile Send private message
Devzee

Active Member


Joined: 20 Jan 2007
Posts: 684
Location: Hollywood

PostPosted: Fri Mar 09, 2007 11:16 am
Reply with quote

Screen scrolling - There are different approach for this.
Logical paging
Physical paging

First you need to decide how your screen is displayed to User.
Like: How many rows you need, based on that you need to handle the PFKEY scrolling in your program.
You will require to store the key of last row displayed on the screen, for this like SPA or Temp Database different methods are available.
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 -> IMS DB/DC

 


Similar Topics
Topic Forum Replies
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
No new posts create rexx edit Macro that edits the... CLIST & REXX 3
No new posts COBOL - create and write to output fi... COBOL Programming 0
No new posts Best way to create an automated line ... TSO/ISPF 3
Search our Forums:

Back to Top