|
This is an example from the DDS Reference manual:
3.59.1 VARLEN (Variable-Length Field) Keyword--Example
Figure 3-83 shows how to specify the VARLEN keyword for a physical file.
|...+....1....+....2....+....3....+....4....+....5....+....6....+....7....+.
...8
00010A R RECORD1
00020A FIELD1 100A VARLEN(30)
00030A FIELD2 200A VARLEN
A
Figure 3-83. Specifying the VARLEN Keyword
FIELD1 is defined as a variable-length field with a maximum length of 100
and an allocated length of 30. FIELD2 is defined as a variable-length
field with a maximum length of 200 and no allocated length.
Bill
William K. Reger
Senior Project Manager
Levitz Furniture Corporation
Phone: (561) 994-5114
E-mail: breger@levitz.com <mailto:breger@levitz.com>
-----Original Message-----
From: Gary Monnier [mailto:GaryMon@powertechgroup.com]
Sent: Thursday, July 13, 2000 12:37 PM
To: Midrange List Server
Subject: Variable Length Fields In V3R7 ILE RPG
We have a customer running OS/400 V3R7 and wishs to utilize
variable length
fields in a data file. Anyone know if, and how, they can
use ILE RPG to set
variable length fields from ILE RPG?
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to
MIDRANGE-L@midrange.com.
| To subscribe to this list send email to
MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to
MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator:
david@midrange.com
+---
+---
| This is the Midrange System Mailing List!
| To submit a new message, send your mail to MIDRANGE-L@midrange.com.
| To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com.
| To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com.
| Questions should be directed to the list owner/operator: david@midrange.com
+---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.