kolusu Site Admin
![Site Admin Site Admin](images/ranks/adminpic.jpg)
Joined: 26 Nov 2002 Posts: 12370 Topics: 75 Location: San Jose
|
Posted: Wed Feb 12, 2003 5:32 pm Post subject: |
|
|
Ravijaya,
Yes it is possible. you can declare a workarea for the maximum length and then use it in the program.
Code: |
FILE FILEA WORKAREA 9999
DATA-RECA 001 9999 A
DEFINE W-RECA W 04 N 0
|
Now you can the use the RECORD-LENGTH Feature to get the exact length of the file.
W-RECA = RECORD-LENGTH(FILEA)
Hope this helps...
cheers
kolusu |
|