To facilitate the use of stacks, ISERVE provides extensions that are accessible through extended functions. These extensions do the following:
The following table lists the ISERVE stack functions.
Note: For more information about the stack functions, see the Reference Guide.
Controls the use of a stack by external IMODs.
Operates the same way as the PULL instruction in REXX, except that you can specify the stack number and the owning IMOD task ID.
Operates the same way as the PUSH instruction in REXX, except that you can specify the stack number and the owning IMOD task ID.
Operates the same way as the QUEUE instruction in REXX, except that you can specify the stack number and the owning IMOD task ID.
Operates the same way as the QUEUE() function, except that the entire contents of a stack are queued in a single operation.
Sends TRACE or SAY output to a stack.
Inserts a record anywhere in any stack.
Lets you sort stack records based on the contents of up to six fields.
Returns information about stacks, including the IDs of all active stacks, and lets you change the maximum permissible size of a stack.
Controls which stack is currently in use.
Enables reference to any record in any stack. TUG() obtains a copy of the record only; the record is not removed from the stack.
Lets an IMOD suspend processing. Processing is resumed only when an external IMOD writes one or more records to the waited‑upon stack or stacks.
Enables reference to any record in any stack. It operates the same way as TUG(), except that the record is removed from the stack.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |