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


  • Subject: RE: Variable Length Fields In V3R7 ILE RPG
  • From: "Reger, Bill" <breger@xxxxxxxxxx>
  • Date: Thu, 13 Jul 2000 13:34:30 -0400

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