Hello Frank, cited from earlier post:
Whereas in previous versions of ECOBOL a minimum and maximum record length did not have to be specified when defining a variable file, v5.1 will return a file status of '04' if any record is less than or greater than the minimum / maximum specified. so I think: in the FILE SECTION in the FD entry for the file, you define the file as variable (RECORDING MODE IS V) but you omit the RECORD CONTAINS CLAUSE, which was IMO possible with V4, but which is no more possible with V5, and with V5 the length of the records read is checked against the limits specified in the RECORD CONTAINS clause (two integers, lower and upper limit). If the length is beyond those limits, a file status '04' is shown. Thats how I read the description. Kind regards Bernd Am 01.04.2015 um 23:37 schrieb Frank Swarbrick:
I am trying to create a test case that gets the '00' when compiled with V4 and gets the '04' when compiled with V5 and VLR(STANDARD). I can't for the life of me figure out what this case is. I can get '04' under V4, but I can't figure out the actual situation that this is addressing. (I'm looking for examples, not words, as obviously I am failing to understand the words.)
---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN