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

Add support for BNDRY=PAGE on GETMAIN requests #539

Open
abekornelis opened this issue Jul 18, 2024 · 1 comment
Open

Add support for BNDRY=PAGE on GETMAIN requests #539

abekornelis opened this issue Jul 18, 2024 · 1 comment
Labels
component-macro Related to macros included in the app enhancement New feature or request Lang:Java

Comments

@abekornelis
Copy link
Collaborator

abekornelis commented Jul 18, 2024

Currently the BNDRY parameter is ignored. Change this so that the default is DBLWD, and PAGE is also accepted.
Debugging and dump reading is a lot easier when getmained storage can be page aligned.

Solution:
Allocate a bit in the register interface to indicate a BNDRY=PAGE request
Change the java code in sz390 that handles the getmain request to check that bit in the interface and allocate storage accordingly.

@abekornelis abekornelis added enhancement New feature or request component-macro Related to macros included in the app Lang:Java labels Jul 22, 2024
@abekornelis
Copy link
Collaborator Author

The logic in svc_getmain in sz390.java is not really suited for handling page-aligned requests. It will take quite a bit of rewriting.
Or maybe we should just route page-aligned requests to a new routine that will do just that ??

I did change the GETMAIN macro. I.e. mac\GETMAIN.MAC. See attached file. All changed/added lines are marked with #539
GETMAIN.MAC.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component-macro Related to macros included in the app enhancement New feature or request Lang:Java
Projects
None yet
Development

No branches or pull requests

1 participant