× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



So the answer is "it cannot handle the cursor position in the PSDS". And thus, every program that uses the PSDS for those sorts of things must be rewritten - that includes all those programs that check the AID byte. I'd love to see how well WINGS handles nested popup subfiles, but at least that can be handled in the middleware (it ain't easy, but it can be done). The PSDS is nearly impossible to work around - I should know, it took me a while to do it in my PSC product, which did what WINGS does about 10 years ago :).

You talk about using a stateful information structure - at that point you've pretty much canceled out the primary motivation for the entire RPG OA concept, which is to make it easy enough for people who can't program a parameter list. I'd rather teach them how to write their code as callable modules and use a true multi-tier design, but that's just me :).

Joe

For those who've not looked at the OA documentation, there is a data
structure passed to the handler. It contains a subfield for rrn - this
can be set by either RPG or the handler. There are also pointers to the
3 file feedback areas. AID bytes can be set there, for example.

The only thing we can affect directly in PSDS is the RPG status code, as
I remember. So far!

If a handler needs some kind of pseudo-cursor handling, it can keep that
in a stateful information structure whose pointer goes back to RPG and
is handed back again on successive calls of the handler.

WINGS uses the ASNA Monarch architecture - based on ASP.Net objects that
are generated from something on the IBM i, so far as I know. Then
developers work mostly with the ASP code.

That's about all I know - and actually a little more than I know,
probably. Maybe they ignore cursor position or replace it with something
to achieve the same end. I find that the details deep down are almost
irrelevant - the key thing is to understand top-level behavior - that
has let me write a DISK-style handler and cover everything with it.
Basically, make it behave at the programmer's level of use the same as
it does in native RPG IO, then it's all good.

Regards
Vern

On 3/18/2011 1:07 PM, Joe Pluta wrote:
How in the world does WINGS handle things like cursor position in the PSDS?

Joe


We are using ASNA WINGS, and it is true, other than best practice for the
HANDLER keyword, I don't need YALL/YINS much.
ALL of the rest of our work will be done in VS2010. Java Script HTML Code
behind language, deployment, manage projects in the studio.
We are hoping to leave the RPG untouched except for the HANDLER keyword.

Tom Deskevich
No stupid salutation






As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.