You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because when running MIGRATE (or manually importing a source member), there is no associated source text, I decided to take the README fie & add a section called
"### Member text descriptions - use TEXT() in ctl-opt"
abc123.rpgle - Program that teaches ABCs & 123s
rpgiscool.rpgle - Program that shows some cool things that RPG can do
xyzzy.rpgle - Colossal Cave
Of course, these aren't the actual programs that are there... :-)
I'm thinking that perhaps after MIGRATE runs for a particular source member, it can then see if the object itself exists (RTVOBJD OBJ() OBJTYPE(*PGM) TEXT(text))
and then write out a line with lower-cased member name. -
Ideally, also create a JSON file that would also get stored that would contain the text info.
Adding TEXT to the ctl-opt (or H-Spec) will add text back to the object when recompiling.
So it would also be cool (unsure if possible) if when opening a source member, if the program name is referenced in the "### Member text descriptions" area (or the JSON file) &, have the TEXT() automatically added to the source code.
This is not a bug - just an idea.
Because when running MIGRATE (or manually importing a source member), there is no associated source text, I decided to take the README fie & add a section called
"### Member text descriptions - use TEXT() in ctl-opt"
abc123.rpgle - Program that teaches ABCs & 123s
rpgiscool.rpgle - Program that shows some cool things that RPG can do
xyzzy.rpgle - Colossal Cave
Of course, these aren't the actual programs that are there... :-)
I'm thinking that perhaps after MIGRATE runs for a particular source member, it can then see if the object itself exists (RTVOBJD OBJ() OBJTYPE(*PGM) TEXT(text))
and then write out a line with lower-cased member name. -
Ideally, also create a JSON file that would also get stored that would contain the text info.
Adding TEXT to the ctl-opt (or H-Spec) will add text back to the object when recompiling.
So it would also be cool (unsure if possible) if when opening a source member, if the program name is referenced in the "### Member text descriptions" area (or the JSON file) &, have the TEXT() automatically added to the source code.