11/16/2009 3:16 PM | |
Posts: 19 Rating: (0) |
Hello, It is possible to determine the size if a data block at runtime ?? Thanks |
11/17/2009 1:50 AM | |
Joined: 10/7/2005 Last visit: 11/18/2024 Posts: 3027 Rating: (1057)
|
Hello startrek yes it is possible to determine the DB lenght in runtime and there's acoupleof waysI can think of of doing so: 1.)OPN DB xyz // Open DB L DBLG // Load DB lenght (in BYTES) (Note: L DILG will give you the lenght for the DB that is open via the "DB2" register, e.g.instance DB) 2.) Via SFC24 (Test_DB) which will first check if the DB exists and then tellyou its lenght. I hope this helps and don't forget that you can use <F1> on the STL commands and SFC24 to find out more about them. |
Cheers |
|
This contribution was helpful to7 thankful Users |
11/17/2009 9:52 AM | |
Posts: 19 Rating: (0) |
Thank you very much fritz. The 2 solutions are work like a charm !! |
This contribution was helpful to1 thankful Users |
Follow us on