Previous Next Methods Allocation  
Annex 1  
4.16 Interface PCODE-STRD  

Contents  
  • 1 Characterization of the Interface
  • 2 Example
  • 3 Tool Support
  • 4 Literature
  • 1 Characterization of the Interface

    The interface corresponds to type "information transmission from one basic method to another in sequential order". The information is transmitted from STRD to PCODE - Pseudocode.

    As part of the Structure Chart, each module is described by PCODE. The information about calling further modules and the required communication data are also integrated in the description. Procedural aspects are integrated as well, provided they are part of the architecture.

    2 Example

    Figure 4.23
    Figure 4.23: Structure Chart Architecture

         PROCEDURE  Administration of customer data
           BEGIN
             REPEAT
                Determination of trnsaction code (Code);
                (* trnasaction execution (Code) *)
                IF Code <> End THEN
                    WHILE NOT last trnsaction (Code) DO
                      Update of customer data (Code)
                    ENDWHILE
                ELSE
                    print customer list
                ENDIF (* Code <> End *)
             UNTIL Code = End
           END;
    

    Figure 4.24: PCODE Description of the Module "Administration of Customer Data"

    Explanation:

    Figure 4.23 illustrates the architecture of SW Unit "Administration of Customer Data" in the form of a structure chart (according to /Schönthaler, 1990/ chap. 7.1). The module calls "Determination of Transaction Code", "Update of Customer Data", and "Print Customer List" can be recognized by means of the arrows. The communication data are listed in the form of an example in the call between module "Determination of Transaction Code" and module "Administration of Customer Data". This is illustrated by the arrows having a circle that are positioned at the connecting line. The half circles at model "Administration of Customer Data" point out the possible iterations.

    Figure 4.24 illustrates the description of module "Administration of Customer Data" with PCODE (according to /Schönthaler, 1990/, chap. 7.2). The iterations are described by the code words "REPEAT" and "WHILE" . The referred modules are inserted at the corresponding position.

    3 Tool Support

    The interface is usually supported by commercially available tools in a way that the links (module calls) in the calling module are represented by a special notation (see Figure 4.23). The notation depends on the selected call type. The data to be exchanged between modules are filed in the description as call parameters. The adoption of procedural aspects like iteration is not supported that often.

    4 Literature

    /Schönthaler, 1990/ Chap. 7 contains different examples for STRD and PCODE.

    Previous Next GDPA Online Last Updated 01.Jan.2002 Updated by Webmaster Last Revised 01.Jan.2002 Revised by Webmaster