PN5_50465


Patch Number

Ticket Number

Change type

5_50465

697742

Patch

1. Description

Numeric strings where lost if no record existed when doing a WRITEV.

2. Previous Release Behavior

When running the following code, no data would be written if the XYZ record did not previously exist.

0001 OPEN 'TEST' TO test_file ELSE STOP 201, "TEST"
0002 WRITEV '123456' ON test_file, 'XYZ', -1 SETTING error_code
0003 CRT "Error Code: " : error_code

The result record would be:

ID: XYZ
001

Note that error_code is set to 128 because XYZ does not exist; this is the correct behavior and remains unchanged.

3. Current Release Behavior

Running the above code, the resulting record is:

ID: XYZ
001 123456