Difference: 0LASubrUtilSubrCreate (1 vs. 2)

Revision 22012-06-20 - JeanNeron

Line: 1 to 1
 
META TOPICPARENT name="520GenerateSubroutines"

.UTIL SUBR CREATE

Line: 29 to 29
 The subroutine will be added to the specified application. You can then begin adding statements to the subroutine via .UTIL SUBR WRITE ILF.

Also see .UTIL SUBR CLOSE and .UTIL SUBR DELETE.

Added:
>
>
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.
 

Comments:

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

Revision 12012-06-20 - JeanNeron

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="520GenerateSubroutines"

.UTIL SUBR CREATE

This subroutine adds a subroutine to the Application.


Usage:

      PASS         <process_name>             FIELD            SHARE? N
      PASS         <process_desc>             FIELD            SHARE? N
      PASS         <Application>              FIELD            SHARE? N
      PASS         <Version>                  FIELD            SHARE? N
      GOSUB    --- .UTIL SUBR CREATE
      *        Check for errors
      IF       --- .UTIL SUBR CREATE          NE

Description:

This subroutine adds a subroutine to the specified Application/Version. The <process_name> parameter is required, if it is missing, the subroutine will CANCEL.

<process_name> is the name of the subroutine want to add (Required).

<process_desc> is a description of the process (Optional). If not PASSed or PASSed blank, it will default to the Process Name.

<Application> is the Application where the process should be added. If not PASSed or PASSed blank, it will default to the current application.

<Version> is the Version where the process should be added. If not PASSed or PASSed blank, it will default to the current version.

The subroutine will be added to the specified application. You can then begin adding statements to the subroutine via .UTIL SUBR WRITE ILF.

Also see .UTIL SUBR CLOSE and .UTIL SUBR DELETE.

Comments:

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


<--/commentPlugin-->

-- JeanNeron - 2012-06-20

META TOPICMOVED by="JeanNeron" date="1340209886" from="Main.0LASubrUtilCreate" to="Main.0LASubrUtilSubrCreate"
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback