|
EVAL fields :x00000 00000001 5CD5D6D5 C5404040 40405CD5 - ....*NONE *N
EVAL fields :x00000 0001D4E8 C6C9C5D3 C4404040 D4A84084 - ..MYFIELD My d
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.
--
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 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.