jimmymac
Reputable Poster
This may be a common question, but couldn't find another thread for it. I'm looking at an existing custom UBE at my client. It does a F0411.Open in the Initialize Section, then in the Do section does a Select and FetchNext of the F0411. Then in the End section it does a F0411.Close.
My question, is it necessary really to do an explicit open/close? I thought that the Open would be done when the file is accessed and the Close would be done when the program ended. I was at JDE in the 90s and we were never told we needed to do explicit Opens/Closes in a UBE or NER or anywhere. Yet I do see this often in JDE custom code.
Any opinions as to whether this is really necessary?
Thanks
My question, is it necessary really to do an explicit open/close? I thought that the Open would be done when the file is accessed and the Close would be done when the program ended. I was at JDE in the 90s and we were never told we needed to do explicit Opens/Closes in a UBE or NER or anywhere. Yet I do see this often in JDE custom code.
Any opinions as to whether this is really necessary?
Thanks