Tags:
create new tag
view all tags

Generate Subroutines via ILF

New utilities have been added for the ability to create a subroutine process via ILF code.


Overview:

Four new utilities (API's) have been added to provide the ability to dynamically create a subroutine within your ILF code:

Usage

First call .UTIL SUBR CREATE to create an empty subroutine. Next, call .UTIL SUBR WRITE ILF for each statement you want to add to the subroutine. You must pass all the necessary parameters for each statement. When you have added all the statements, call .UTIL SUBR CLOSE to close the subroutine and compile it. Your subroutine is now ready to run, assuming there weren't any compilation errors.

Note that the .UTIL SUBR * group of routines share certain internal fields therefore you can only use them in a process family with share class SUBPROCESS. In other words, don't call .UTIL SUBR CREATE in one process, then .UTIL SUBR WRITE ILF in another process that you have invoked Related or Detached.

If you no longer need the subroutine, you can call .UTIL SUBR DELETE to delete it. If you do not delete it, it will remain within your application just like any other subroutine.

Comments:

Read what other users have said about this page or add your own comments.


-- JeanNeron - 2012-06-20

Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2012-10-26 - SherriMcCormack
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback