First off I'd just like to say "thanks" to you LongRange developers for being so responsive to our requests. RT version 12 has given me many useful features, and I appreciate it.
Now, is there a way to RETRIEVE the current context? We can manipulate the current context using LRNG_Using() and LRNG_UsingEx(), but I'd like to be able to pass the current context as a parameter to utility programs, rather than having to pass the context as a literal.
I've looked through the LRNGSRV service program, hoping to see something that fits the bill, but nothing looks promising.
TIA.
JJ
(RPG) Retrieve current context?
-
MarkDuignan
- Posts: 346
- Joined: Wed Apr 18, 2012 10:33 am
Re: (RPG) Retrieve current context?
There is no function for this - but we will do this for the next version.
-
JohnJoiner
- Posts: 37
- Joined: Fri Oct 19, 2012 8:48 am
Re: (RPG) Retrieve current context?
Thanks. That will be very helpful.
JJ
JJ
-
JohnJoiner
- Posts: 37
- Joined: Fri Oct 19, 2012 8:48 am
Re: (RPG) Retrieve current context?
Follow up to original post:
LongRange for RPG runtime version 14 includes the new procedure 'LRNG_GetUsing' that retrieves the current context.

LongRange for RPG runtime version 14 includes the new procedure 'LRNG_GetUsing' that retrieves the current context.