×
The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.
Jorge,
Found the . . . ?PROC? .. but this applies only to the Primary
procedure name
There is no OCL substitution expression for the current procedure name, just
the outermost name as you have already found. Aside from the manuals, in
the S36EE you can type HELP PCE (i.e. Procedure Control Expressions) to get
a listing and documentation on the OCL expressions that control procedures.
The first in that list is substitution expressions which are all the things
inside a pair of ?...? including ?PROC?
If you really need this in your OCL, what you will have to do is find which
work mgmt API lets you get at this, then code a RPG ILE program to call that
and place it in the LDA. Your OCL can then retrieve it out of the LDA. If
you placed it in positions 501-510 you would use ?L'501,10'?:
I've not looked at the work mgmt APIs in awhile, but I would be surprised if
it were not available there somewhere.
Doug
As an Amazon Associate we earn from qualifying purchases.