APPX is the Premier Development and Runtime Environment for Business Application Software
(Answer) (Category) FAQ's - APPX Software, Inc. : (Category) Trash :
171 - APPX Process Stack (TABLE)
Running an APPX application consists of a series of processes calling each other. For example, the Main Menu might call a submenu, which might call a JOB process, which might call an INPUT, which might call a child INPUT process, etc.

The list of current processes that have called each other is called a "Process Stack". This is a particular 'drill down' within a Process Family, or Process Tree.

If you have TRAPed into the ILF debugger, you can see the process stack by invoking Direct Menu 1 (GO 1). A typical Process Stack might look like:


ECR ENTRY (HISTORY) (COMMENTS) 0000200.001.0000000 Inp Option Intercept ------- ------------------------------------------------------------- | Stack Trace | | | | Lvl# Ap/Ver Proc Type Process Name Invoked As | | 1 CTS 00 INPUT ECR ENTRY (HISTORY) (COMMENTS) SUBPROCESS | | 2 CTS 00 INPUT ECR ENTRY (HISTORY) SUBPROCESS | | 3 CTS 00 INPUT ECR ENTRY DETACHED | | 4 CTS 00 MENU MAIN MENU DETACHED | | 5 0LA 00 JOB SELECT DATABASE SUBPROCESS | | 6 0AD 00 INPUT APPLICATION DESIGN DETACHED | | 7 0LA 00 MENU APPX MENU DETACHED | | | | | --------------------------------------------------------------------
The current process (being debugged thru the ILF editor) is at the top the stack (Level #1). The first process in the stack is at the bottom (APPX MENU).

Note that this stack also shows you the "Invocation Type", or scoping (Detached/Related/Subprocess).

See the APPX Designer Reference Manual chapter 1-5 on Interprocess Communications for further discussion of the scoping rules around for process invocations and field types.

You can only view the Process Stack when running 4)Run Test Database from with the Application Design editor, or when you have launched a Process from one of the Process editors using hidden Option 99.

If you have no TRAP to get you into the ILF editor in your current process, don't despair! Press your interrupt key (generally Control-C), then ENTER. The ILF editor will stop at the next available ILF statement. From there, you can GO 1, to see your current Process Stack!

[Append to This Answer]
2010-May-20 12:29am
Previous: (Answer) 152 - GOSUBs and SUBRoutines
Next: (Answer) 698 - APPX License Server
This document is: http://board.appx.com/cgi-bin/fom.cgi?file=104
[Search] [Appearance]
This is a Faq-O-Matic 2.719.
Copyright 2003 by APPX Software, Inc. All rights reserved.