Tags:
tag this topic
create new tag
view all tags
---+ .ENV GET PARENT PROC _This subroutine returns the name and type of the parent process._ <br />%TOC% ---++ Usage: <pre> PASS <parent_type> FIELD SHARE? Y PASS <parent_name> FIELD SHARE? Y PASS <parent_app> FIELD SHARE? Y GOSUB --- .ENV GET PARENT PROC * Check for errors IF --- .ENV GET PARENT PROC NE </pre> ---++ Description: This subroutine returns the name and type of the parent process. All parameters are required, if any are missing the subroutine will CANCEL. <parent_type> returns the process type of the parent process (Required). This must be PASSed with Share "Y" to return the value. <parent_name> returns the process name of the parent process (Required). This must be PASSed with Share "Y" to return the value. <parent_app> returns the application id of the parent process (Required). This must be PASSed with Share "Y" to return the value. If any field you passed is too short to contain the data, --- .ENV GET PARENT PROC will be set to "Data was truncated". Notes: * If you invoke this process via GOSUB, then the parent information will refer to the parent of the current process, since ILF code is compiled into the current process. If you invoke this process via SUBR, then the parent information will refer to the process that invoked the SUBR, since a SUBR invocation creates a new child process. * You cannot use this in a File Level Event Point, it will return blanks for all parameters. ---++ Comments: _Read what other users have said about this page or add your own comments._ <br />%COMMENT% -- Main.JeanNeron - 2012-01-26
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r5
<
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r5 - 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
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