TACL Reference Manual
Built-In Functions and Variables
HP NonStop TACL Reference Manual—429513-018
9-205
#INLINEPROCESS Built-In Variable
#INLINEPROCESS Built-In Variable
Use #INLINEPROCESS to obtain the process ID of the current inline process.
Result
#INLINEPROCESS returns the process ID of the current inline process, if one exists; if 
not, #INLINEPROCESS returns nothing.
Considerations
•
Use #PUSH #INLINEPROCESS (or PUSH #INLINEPROCESS) to save the 
process ID of the current inline process. Pushing #INLINEPROCESS allows you to 
create a new inline process while another is still in existence. You cannot 
communicate with an inline process while it is pushed.
•
Pushing and popping #INLINEPROCESS can help you avoid errors or timing 
problems (race conditions) if you stop an inline process and start another in quick 
succession. The first process may not stop as soon as you issue an EXIT 
command. If you push #INLINEPROCESS before starting the first process, then 
pop #INLINEPROCESS after issuing the EXIT command, TACL disassociates 
itself from that process without waiting for it to complete. You can then push 
#INLINEPROCESS again and start another process immediately.
•
You cannot set #INLINEPROCESS. It is set implicitly by the creation and 
termination of inline processes.
•
Use #POP #INLINEPROCESS (or POP #INLINEPROCESS) to break 
communication with the current inline process (if any) and reestablish 
communication with the inline process (if any) that was in effect when 
#INLINEPROCESS was last pushed.
•
When terminating communication with an inline process, TACL waits until the 
process prompts for input, then sends an EOF indication to that process. 
•
Use of #INLINEEOF when no inline process exists results in an error. You can 
determine if there is a current INLINE process by testing as shown:
[#IF [#EMPTY [#INLINEPROCESS]] |THEN|
 == does not exist
|ELSE|
 == does exist
]
When you push #INLINEPROCESS, you can create another inline process only if your 
total number of #REQUESTERs, implicit and explicit #SERVERs, and inline processes 
is less than 100.
#INLINEPROCESS










