×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




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:

DOW NOT %EOF(RFQFOOTNPF);

FOOT_NOTES_FIELD = %TRIM(FOOT_NOTES_FIELD) + %TRIM(FOTNOTE) + '|';
READE (RFQ# : QSTRAT_ITEM_NUMBER) RFQFOOTNPF;

ENDDO;

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



This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 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.