Difference: 0LASubrUtilSubrCreate (4 vs. 5)

Revision 52018-09-28 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="FullAPIList"

.UTIL SUBR CREATE

Line: 26 to 26
  <Version> is the Version where the process should be added (Optional). If not PASSed or PASSed blank, it will default to the current version.
Changed:
<
<
The subroutine will be added to the specified application. You can then begin adding statements to the subroutine via .UTIL SUBR WRITE ILF.
>
>
The subroutine will be added to the specified application. You can then begin adding statements to the subroutine via .UTIL SUBR WRITE ILF.
 
Changed:
<
<
Also see .UTIL SUBR CLOSE and .UTIL SUBR DELETE.
>
>
Also see .UTIL SUBR CLOSE and .UTIL SUBR DELETE.
  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.
Added:
>
>
If you are repeatedly creating a subroutine, running it, then deleting it and re-creating it (same name, different code) within one process family, then you must invoke your subroutine with a SUBR .... command and RELATED or DETACHED share class. If you just use a GOSUB or a SUBR .. SUBPROCESS, APPX will just use the first cached version of the process and will not create a new Em for each invocation.
 

Comments:

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

 
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