Oramcle
asked on
SFLRCDNBR IBM Field Length restriction
I am using SFLRCDNBR on a subfile which is working fine, but when i hit 10000 record the pgm is erroring because of its field Length Issue.
How can i overidr this issue.
Thanks You all
Orm
00080A DSPREC 4S 0B 4 12SFLRCDNBR(CURSOR)
How can i overidr this issue.
Thanks You all
Orm
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
As always Gary Rocks.
I don't write much interactive green-screen code any more, but when I did, I had gotten away from "all at once" subfiles completely.
I just had a good page-at-a-time program template that I used whenever I needed a subfile program.
You can find the same template in Kevin Vandever's book "Subfiles in RPG IV : Rules, Examples, Techniques, and Other Cool Stuff". Kevin also recently released an updated version of the book called "Subfiles in Free-Format RPG: Rules, Examples, Techniques, and Other Cool Stuff". I also used Kevin's book as a textbook when I taught subfile programming - it really is a great resource.
Both are available from the MC Press Bookstore: www.mc-store.com
Disclaimer: Kevin and I worked together for several years - but I don't get paid in any way for selling his book.
- Gary Patterson
I just had a good page-at-a-time program template that I used whenever I needed a subfile program.
You can find the same template in Kevin Vandever's book "Subfiles in RPG IV : Rules, Examples, Techniques, and Other Cool Stuff". Kevin also recently released an updated version of the book called "Subfiles in Free-Format RPG: Rules, Examples, Techniques, and Other Cool Stuff". I also used Kevin's book as a textbook when I taught subfile programming - it really is a great resource.
Both are available from the MC Press Bookstore: www.mc-store.com
Disclaimer: Kevin and I worked together for several years - but I don't get paid in any way for selling his book.
- Gary Patterson
The limit is never likely to be increased by IBM, so Gary's recommended page-at-a-time subfile style is good whenever more than a couple hundred subfile records are expected.
Tom