I have more problems when I use a character field for truly numeric data - or the things that can be nothing other than digits. So I tend not to like this approach - besides the issue of non-digits can get in there so easily.

JMO


-------------- Original message --------------
From: "Winchester Terry" <terry.winchester@xxxxxxxxxxxxxxx>

You could possibly define the parameter as 3 characters
and restrict it to a range of '000' thru '999'. Not sure
is this will work for your needs...

Terry

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Dan
Sent: Tuesday, June 03, 2008 11:45 AM
To: Midrange Systems Technical Discussion
Subject: Command programming

Question 1: I am trying to find the IBM reference manual for command
programming on InfoCenter (V5R3). I didn't find the PDF for it, so I
searched for "choice program" see if that would point me to
it. The search
takes me to the "Qualifier Definition (QUAL)" page, but this
isn't what I'm
looking for, and I was hoping that I'd get a link that would
take me to the
table of contents for the manual but I am unable to navigate to it.
Frustrating!

Since I can't figure out Question 1:
Question 2: I want to define a parameter on a command as a
3-digit integer,
with a range of 001 - 999. If I define it as TYPE(*DEC), the
definition
allows non-integer decimals (i.e., 9.123, 147.9, etc.). I
tried the integer
types *INT2/4 & *UINT2/4, but those don't play nice with the
LENgth value of
3. I would like to avoid having to write a command
validation program.
Ideas?

TIA,
Dan
--
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.



Confidentiality Notice:

The preceding e-mail message (including any attachments) contains information
that may be confidential, protected by applicable legal privileges, or
constitute non-public information. It is intended to be conveyed only to the
designated recipient(s). If you are not an intended recipient of this message,
please notify the sender by replying to this message and then delete it from
your system. Use, dissemination, distribution or reproduction of this message by
unintended recipients is
not authorized and may be unlawful.



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