> I am wondering why there are limits on the number of fields and the file length.
Anythng has its maximum.
As for field number of CRTCSVF, maximum length of character variable of RPG compiler limits the capability.
If you are using V4R5 or later, you can extend the maximum. Below is an excerpt from old BBS.
Quote:
I made simple modification and
http://homepage1.nifty.com/uzaemon/CRTCSVF_65535.txt is output from CMPPFM command. I confirmed it to work until 178th field under V5R3. If you need more, use user space instead of char variable.
Hope this helps.
uzaemon@Japan