-
Notifications
You must be signed in to change notification settings - Fork 3
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
DDM : subdescriptor #506
Comments
I did not know subdescriptors exist and can't really find documentation about them. The diagnostic messages are weird because:
The DDM parser is a port from a previous project which was all about code generation, meaning the exceptions don't get converted into nice diagnostics at the moment :-) Is the type of subdescriptor fields derived from the descriptor itself? |
How are the sub fields defined in VIEWs? The generated "source fields" naming from predict also is confusing, as they are actually "target" fields in this case |
Did find the documentation: https://documentation.softwareag.com/adabas/ada701luw/basics/fdtrec.htm#fdtrecsub |
So I guess the only thing you can distinguish them from superdescriptors is that the have no child fields? But is there any point in distinguishing them? |
DDMs identify both superdescriptor and subdescriptor with
S
and the "SOURCE FIELDS" comment blocke.g. when you suffix your box IDs with a letter indicating their size so you can query just for large boxes
Currently naming fields that do not exist elsewhere in the same DDM means the DDM doesn't parse.
(I think? All I see are
"Could not resolve <that DDM>" in natlint or
"Trailing token <IDENTIFIER> not allowed here" in vscode
where it is referenced in views, but no error reports in the actual DDM in vscode / natlint).
The text was updated successfully, but these errors were encountered: