OpenELB Should Throw An Exception When Passed Invalid Arguments
https://synergex.com/docs/index.htm#lrm/lrmChap9OPENELB.htm
As written today OpenELB will attempt to load in the following scenarios:
main proc openelb(''); endmainand
main proc openelb(' '); endmain
In both cases openelb should throw an ArgumentInvalidException or something similar; instead it attempts to open '.elb' like so:
%DBR-E-FNF, File not found %DBR-I-FILWAS, File specification was .elb %DBR-I-ATLINE, At line 4 in routine PROGRAM1 (Program1.dbl)
%DBR-E-FILSPC, Bad filename %DBR-I-FILWAS, File specification was .elb %DBR-I-ATLINE, At line 4 in routine PROGRAM1 (Program1.dbl)
As an empty name is a bad filespec.
11/22/2019 8:36 AM 1
12/12/2019 7:37 PM 0
Is the argument that existing customer applications intentionally try to open files that do not exist and then capture the file not found exception?
Edit: Specifically that they attempt to open a file name that is nothing but spaces or zero characters?
12/12/2019 7:41 PM 0
12/13/2019 12:59 PM 0
2/19/2020 3:10 PM 0
2/19/2020 4:19 PM 0