codefori / codefori/vscode-db2i

RPG Processor Query - Data Structure Generation

Open
#457 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
76
Forks
54
Avg merge
17m
Merged PRs (30d)
1

Description

After a session at TechXchange I saw that the rpg processor can build a data structure off the query.

Current output example:
dcl-ds D1_foo;
bar1 varchar(35);
bar2 packed(8:2);
end-ds;

Is it possible to have the data type's output "like()"? (and maybe include a data structure template). That way if a data type changes slightly, the data structure isn't hardcoded.

Issue fix output example:

dcl-ds T_FOO extname('FOO') template end-ds; //Template to use the like
dcl-ds D1_foo;
bar1 like(bar1);
bar2 like(bar2); //prevents hardcoding
end-ds;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.