Thanks guys. Yes, I was too on the same minds of using two subfiles.
However, the length of the fields are dynamic. As in RUNQRY when F20 key
is pressed, it moves right, thereby displaying the next set of
fields/data. So I thought to build a dynamic subfile.
I am not sure but still believe that RUNQRY uses DSM logic. Because it
creates a subfile dynamically based on different files and their fields.
I am planning to build a similar functionality that is been used in RUNQRY
(F19, F20, F21, F22).
F22 becomes visible only when the session is using 27x132 mode.
I using an API was able to figure out the mode of session.
I am thereby trying to understand the RUNQRY functionality.
Amit Sheth
Tata Consultancy Services
Mailto: [1]a.sheth@xxxxxxx
Website: [2]
http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Outsourcing
____________________________________________
-----rpg400-l-bounces@xxxxxxxxxxxx wrote: -----
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>
From: Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Date: 18/04/2012 11:36PM
Subject: Re: DSM
True but I meant that just as an example of how it could be
accomplished.
Anyway there *might* be a way to do at least part of that functionality
using only UIM.
From: Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
To: RPG programming on the IBM i / System i <rpg400-l@xxxxxxxxxxxx>,
Date: 04/18/2012 01:02 PM
Subject: Re: DSM
Sent by: rpg400-l-bounces@xxxxxxxxxxxx
Tommy,
Amit said he wanted to use DSM. AFAIK, that means you can't use a
subfile (per se)... or perhaps more accurately, you have to "roll your
own" subfile support.
On 4/18/2012 12:47 PM, Tommy.Holden@xxxxxxxxxxxxxxxxxxxxx wrote:
> So you basically want to have F19 move left& F20 move right on the
> display& F21 to split screen? Left& right are easy enough, load 2
> subfiles on F20 show SFL2, F19 show SFL1, as far as the split screen
you'd
> have to do some fun coding. But the left/right thing is easy...it
really
> depends on HOW you write the program(s), etc.
>
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [3]
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [4]
http://archive.midrange.com/rpg400-l.
--
This is the RPG programming on the IBM i / System i (RPG400-L) mailing
list
To post a message email: RPG400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: [5]
http://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at [6]
http://archive.midrange.com/rpg400-l.
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you
References
Visible links
1. mailto:a.sheth@xxxxxxx
2.
http://www.tcs.com/
3.
http://lists.midrange.com/mailman/listinfo/rpg400-l
4.
http://archive.midrange.com/rpg400-l
5.
http://lists.midrange.com/mailman/listinfo/rpg400-l
6.
http://archive.midrange.com/rpg400-l
As an Amazon Associate we earn from qualifying purchases.