×
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.
Terry,
By default, debug will only show 1024 characters.
You can specify the length that you want to see on the EV command by using the syntax EV Field : C len or :X len for Hex.
Jeff Young
Sr. Programmer Analyst
IBM -e(logo) server Certified Systems Exper - iSeries Technical Solutions V5R2
IBM Certified Specialist- e(logo) server i5Series Technical Solutions Designer V5R3
IBM Certified Specialist- e(logo)server i5Series Technical Solutions Implementer V5R3
----- Original Message ----
From: Terry Anderson <terrya@xxxxxxxxxxxx>
To: rpg400-l@xxxxxxxxxxxx
Sent: Wednesday, January 9, 2008 12:30:55 PM
Subject: Confused About Field Size.
Greetings List,
I am somewhat confuse, which seems to be my general state these days,
about field size definitions.
If I define a field as follow:
D FOOT_NOTES_FIELD...
D S 65535A INZ(*BLANKS)
Doesn't that mean the field will hold 65535 characters?
Here is what I am trying to do. I have a file that contains 80 records.
Each record can be up to 300 characters long. I have to put all 80
records into one continuous field.
Below is a code snippet of how the field is loaded:
When I view FOOT_NOTES_FIELD in debug or when it is output to a text
file, it only shows 1024 characters. Why is that?
If anyone has a better idea of how to do this, I would love to hear it.
Thanks,
Terry Anderson
Programming Manager
Citation Corporation
Switchboard 1.251.867.5481 ext 212
Direct Line 1.251.809.2312
Fax 251.867.0525
Cell 1.251.363.4975
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.