adesutherland / CMS-370-BREXX

VM/370 Port of BREXX
Other
7 stars 5 forks source link

Unexpected label #72

Closed marXtevens closed 6 months ago

marXtevens commented 8 months ago

I rediscovered some code I had written long ago for VM/SP 4, 6, and ESA 370. I tried to run it on VM/370 a year or more ago, and it didn't work. I didn't have time to examine further. This weekend I tried again. Uploaded it to LCM+L's VM/SP 5

image

Above image contains the results I expected, the file reading and printing part of itself (self documentation). and just running to completion (return 0).

image

I used VMARC to move the file to VM/370 CE 1.1.2. It failed here with the message: Error 47 running test1, line 31: Unexpected label The lines around the file are TYPEd and the file is enclosed as a ZIP'd VMARC file.

TEST1.VMARC.A1.ZIP

image

... Mark S

marXtevens commented 6 months ago

Attempted this again today just to be sure. It still fails. Below is a screen shot of the code. VM_SP5_REXX_Code_in_XEDIT Below is a screen shot of successful execution. VM_SP5_Execution_Proof Below is a screenshot of failed execution. VM_370_Failure_Proof png Enclosed is another copy of the test program. TEST1 VMARC_Contents TEST1.VMARC.A.ZIP

... Mark S.

marXtevens commented 6 months ago

With other's help I have discovered (had it pointed out to me) that the language definition has changed over time, and this is NOT an error. See below: image