Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors with more than 7 arguments given to REXX EXECs, bREXX does not even start #83

Open
SanLorenzo59 opened this issue Sep 17, 2022 · 12 comments
Labels
fixed in next release Staged in the next release candidate system

Comments

@SanLorenzo59
Copy link

I have run into a bug that a CMS EXEC in REXX cannot have many blank-delimited arguments,
bREXX does not even start. The string "CvG" is arbitrary.

You can use a dummy file (only "/*" inside) to get this bug.
See the examples below with 7, 8 and 9 arguments.

bREXX - more than 7 arguments

@marXtevens
Copy link
Collaborator

So far I am mucking about within BREXX and GCC code, in and around abort processing due to memory allocation. Nothing definite so far.

If someone else has knowledge to share ... I'm listening.

"Oh, what a tangled web we weave, when first we practice to code C" ( apologies to Sir Walter Scott, 1808)

@BobBolch
Copy link
Collaborator

BobBolch commented Sep 18, 2022 via email

@SanLorenzo59
Copy link
Author

Comparing VM/370 CE and LCM+L's VM/SP Release 5 :

an outer REXX exec calls an inner EXEC1 exec and an inner REXX exec - VM/370 CE fails, VM/SP runs.

Issue #83_0002d
Issue #83_0002a
Issue #83_0002c

@BobBolch
Copy link
Collaborator

BobBolch commented Sep 19, 2022 via email

@SanLorenzo59
Copy link
Author

The problem that needs to be fixed is with CMS calling the REXX interpreter:
EXEC processing initiated ? DONE
INNER EXEC A found ? YES
Beginning of REXX comment found in first line ? YES
REXX interpreter called and handed over fileid and arguments ? FAILED, [filename] field mangled

Issue #83_0003d

Issue #83_0003a
Issue #83_0003b
Issue #83_0003c

@SanLorenzo59
Copy link
Author

******************** Problem Solved ***********************

VM/370 Community Edition Version 1 Release 1.2 has an outdated saved segment GCCLIB .
Running GCCSEG EXEC Y2 as MAINT solves this problem.

image

@BobBolch
Copy link
Collaborator

Excellent news! I have been in the hospital for a surgery, and I was just going to
start working on this today. You have saved me a lot of work.
Bob Bolch

@marXtevens
Copy link
Collaborator

I'm glad we have a solution. Curiosity is going to drive me to figure out what changed, or nuts, or both.

@SanLorenzo59
Copy link
Author

SanLorenzo59 commented Oct 16, 2022

I noticed "by accident" that this bug did not occur in a 16M virtual machine. I made this screenshot on a freshly installed "untouched" VM/370 Community Edition Version 1 Release 1.2 as MAINT.

bREXX - more than 7 arguments - 2022-10-16-1131a

@BobBolch
Copy link
Collaborator

BobBolch commented Oct 16, 2022 via email

@SanLorenzo59
Copy link
Author

When/how will this issue be closed ? The cause is known and instructions to fix an installed system are here. This can be fixed right after install. New users of http://vm370.org/VM/V1R1.2 however have to follow the link to https://github.com/s390guy/vm370/issues to learn of this issue and that a DIY fix is available.

Refer to

https://github.com/s390guy/vm370/issues

to see issues opened for the 1.1.1 release. Those marked "fixed in next release" are included in this 1.1.2 release.

This could be misunderstood ... have I to look elsewhere to see issues opened for the 1.1.2 release ?

@BobBolch
Copy link
Collaborator

BobBolch commented Oct 16, 2022 via email

@BobBolch BobBolch added the fixed in next release Staged in the next release candidate system label Oct 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next release Staged in the next release candidate system
Projects
None yet
Development

No branches or pull requests

3 participants