× 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.



I have developed many, many commands, and several of those have MAX( >1 )
parameter types. I have never seen the number-of-entries value return
anything other than a 2-byte integer. In fact the help that one sees when
pressing F1 with the cursor in the MAX field for a PARM command reveals that
the value will be a 2-byte binary. This is at V5R3.

You might try the help on your own system; perhaps this will give you a
hint.

Or are you possibly mixing MAX() and ELEM() values?

Dennis Lovelady
http://www.linkedin.com/in/dennislovelady
--
"Abstract Art: A product of the untalented, sold by the unprincipled to the
utterly bewildered."
-- Al Capp
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of Albert York
Sent: Thursday, October 14, 2010 11:29 AM
To: Midrange technical discussions
Subject: Command list size

I have created a command that has a parameter that allows for multiple
items. When it is passed to my program it sometimes has 2 bytes for
the number of items and sometimes it has 4 bytes. How can I tell in my
program which one is being used?

Thanks,

Albert
--
This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
To post a message email: MIDRANGE-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/midrange-l
or email: MIDRANGE-L-request@xxxxxxxxxxxx
Before posting, please take a moment to review the archives
at http://archive.midrange.com/midrange-l.



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.