[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FTAPI and i5/OS version compatibility



Sender: Christian <chrisv5@xxxxxx>

Sender: Scott Klement <sk@xxxxxxxxxxxxxxxx>

Unfortunately, that means we're stuck with using MODS for the session objects, which is frustrating. It would be nice to use arrays of DSes, but they're not available in V5R1.

Yes, I know, it hurts on many fronts. MODS, on the other hand, are a clever solution when it comes to session management. Yes, we need to switch them around anytime an API is called, but it also simplifies the code as one does not need to index all the variables.


The major drawback (and ugliness) of MODS is the fact that one cannot access more than one member at the same time. Cannot do stuff like Var(I) = VAR(J). This is not a problem with session stuff, though, thus I can live with MODS pretty well (while I hate them otherwise).

What I'll miss more are things like var.var.var (multi-level qualifying; this really hurts with many APIs; it also prohibits us to put everything into a single MODS). I think I'll write both V5R1 and V5R2 code in some places, properly IFDEFing it. Thus it can be easily verified that both works and at some point we'll throw the ugly code away.

Okay, I'll try to keep my code changes to the V5R1 level -- but, I'll rely on you, Christian to verify that it still works at V5R1.

Until we change to V5R4 as well, which will not happen in 2006 (due to our customers still partly being on V5R1).


I'm currently travelling (on a business trip) and don't have full access to computer stuff, so I can't do this right now. There are other things, aside from your patches, that I have on my current copy of FTPAPI, and they should all be merged together and put online. That way, you can make your changes without me having to merge everything together.

In that case I'll just do some experimenting and testing right now and I'll start changing FTPAPI for good once you have your "final" version ready. Btw, I very much prefer exchanging code as text files (copy & paste using WDSc) as it avoids the hassle with the CCSID of source files.


Regards,
Christian
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubsribe from the list send mail
to majordomo@xxxxxxxxxxxxx with the body: unsubscribe ftpapi mymailaddr
-----------------------------------------------------------------------