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
 

 

Is it possible to create an MFS contents dynamically

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> IMS DB/DC
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    Post subject: Is it possible to create an MFS contents dynamically
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> IMS DB/DC 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 create multiple files using... mbattu COBOL Programming 3 Fri May 05, 2017 5:35 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 7 Thu Apr 27, 2017 1:15 am
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts How can we create a flat file in JAVA... rakesh.v18 Java & MQSeries 7 Fri Sep 23, 2016 10:46 pm
No new posts how to DYNAMICALLY write sort cond to... mohamedmubee COBOL Programming 13 Fri Aug 26, 2016 11:46 pm


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