The listening function (-L) was added as a command at the beginning of the program followed by a -end at the end, this way the data coming from Pc-Dmis was indeed live and sent the stats data as it measured, this shortened the cycle time.
Unless this has changed recently (I don't use it any more due to changing jobs) you would add the external command at the beginning of the program with -l and end of your program with -end.
Thanks, will try it and get back with you. If you have any tips or tricks you I would really appreciate any input on Datapage. I have not used Datapage in over 10 years so it has changed some what. Its coming back to slowly but surely.
-E /-End is not required unless you're using it to finalize data inside a loop.
Receive all ignores flow control (I assume you mean using the stats command at the end of the program without any flags.)
Listening obeys all flow control and only reports what was ran.
If you're using 2013MR1 and above and you have a valid ODBC data source then you can just use the stats command similar to the old Datapage but you just change it to Datapage + and point the program to the data source.
If you do not have a valid ODBC datasource (basically a link to the database through SQL which can be created if you know how) this method does not work.
I have stats/on on my program and the external command at the end of my program that works well. When I tried adding the external command at the beginning of my program with -l and -end at the end of my program, I got an error that the -l wasn't recognized. I actually copied the bottom part and paste it to the top with -l. Not sure why it's not working.