NetRPG
NetRPG copied to clipboard
Implement CALL operation
The implementation of the CALL operation can be very useful. CALL should be not only accessible from RPG code. Executing the CALL operation from C# can be really useful too. For example to call RPG programs for testing. (See #19)
@SaschaS93 Can you give me an example of what you would like the method to look like? Then I will see if I can have a go at looking at it.
Just an idea and some pseudo code...
RPGProgram tstpgm01 = RPGProgramFactory.create("tstpgm01.rpgle");
tstpgm01.addArgument("First argument");
tstpgm01.addArgument(2);
tstpgm01.addArgument("And some more aguments...")
string result = tstpgm01.call();
I don't know how *entry plist works in free but I assume that the tstpgm01.rpgle needs a PI with 3 parameters. First a char, second an int and third a char again.
@SaschaS93 I can take a look at getting this implemented today! I have an idea :)
Nice that you are working again on NetRPG :)
Why did you label this issue with "help wanted"? What was your last idea on it?
I just think this is something that someone else could tackle while I work on some more of the display file stuff :)