Tags:
tag this topic
create new tag
view all tags
---+ .UTIL SUBR CREATE _This utility adds a subroutine to the Application. Added in 5.2.0_ <br />%TOC% ---++ Usage: <pre> 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 </pre> ---++ Description: This utility adds a subroutine to the specified Application/Version. <process_name> is the name of the subroutine want to add (Required). This parameter is required, if it is missing, the subroutine will CANCEL. <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 (Optional). If not PASSed or PASSed blank, it will default to the current application. <Version> is the Version where the process should be added (Optional). 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 [[0LASubrUtilSubrWriteIlf][.UTIL SUBR WRITE ILF]]. Also see [[0LASubrUtilSubrClose][.UTIL SUBR CLOSE]] and [[0LASubrUtilSubrDelete][.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. 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._ <br />%COMMENT% -- Main.JeanNeron - 2012-06-20
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r6
<
r5
<
r4
<
r3
<
r2
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r6 - 2020-05-12
-
JeanNeron
Home
Site map
Main web
MedicaidBilling web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
E
dit
A
ttach
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback