MIDRANGE dot COM Mailing List Archive



Home » JAVA400-L » October 2009

Re: Retrieving integer parameter after JT400 ProgramCall?



fixed

Dan Kimmel wrote:
I've been using ProgramCall successfully for years. You have to get the
datatypes right and do the conversions, but once you've got one, all the
rest come pretty easily. And I have some with lots and lots of
parameters going both directions with lots of data types. What do think
is the advantage of PCML? Don't you have to do basically the same thing
in a different format?

1. It's a lot easier to handle data structures in PCML (IMO) ... especially considering you are restricted to 16 parameters in total on a program call from JT400.
2. If I need to change the structure of the parameters, I don't have to touch the actual code ... just the external representation.
3. PCML is (again, IMO) a much straight forward way of representing the parameter structure of a program call than coding the parameters directly in the java code.

I consider PCML to be very similar to prototypes and external data structures.

david







Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2014 by MIDRANGE dot 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 here. If you have questions about this, please contact