DDS for a variable length field that is 100 characters for average use but could go up to 500

WLSTNOTE 500 VARLEN(100)
TEXT('Status Note')
COLHDG('Status Note')

32K is the maximum field size

http://www.ibmsystemsmag.com/i5/may02/enewsletterexclusive/8389p1.aspx

http://publib.boulder.ibm.com/iseries/v5r1/ic2924/index.htm?info/rzakb/rzakbmst81.htm

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Don Cavaiani
Sent: Thursday, August 14, 2008 12:32 PM
To: Midrange Systems Technical Discussion
Subject: RE: Database character fields

What is the MAX length of a variable field ?? I'm not sure how the DDS
looks for a variable length field?? Someone have an example?

-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx
[mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Chris Bipes
Sent: Thursday, August 14, 2008 10:37 AM
To: Midrange Systems Technical Discussion
Subject: RE: Database character fields

In line responses:

Chris Bipes
Director of Information Services
CrossCheck, Inc.


Can DDS be used to create a file with a variable length field?
Yes
Can DFU be used to enter the data into the variable length field?
Depends of the max length of the field
What methods permit entry of data into the var. length field?
Any programming language

Can Qry/400 be used to select data (using LIKE) from ANYWHERE in the
var. length field?
Yes
--
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 thread ...

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.