Working with Application Programs

This section describes application programs and how to list, add, execute and delete them.

This section covers the following topics:


What are Application Programs?

Application programs allow you to invoke any Natural application available at your site from within Super Natural. For example, if Natural Elite is installed, you can invoke it from Super Natural, do a tutorial and return to Super Natural when you have finished. Further examples of applications which may be available to you are electronic mailing systems or in-house accounting systems. Your Super Natural administrator will tell you which applications are available at your site.

Listing Application Programs

Start of instruction setTo obtain a list of application programs available

  • Issue the APPLICATION command.

    Or:
    Select the Application Programs option on the Menu.

    The Application List screen appears.

    The Application List screen functions in the same way as all object list screens. For general information on object list screens, see Object List Screens in Starting Up.

Adding Application Programs

You can only add application programs in your private library.

Start of instruction setTo add an application program

  1. Enter a new application program name in the Name column of the Application List screen in the input field next to the Add field.

    Or:
    Issue the ADD APPLICATION name command.

    The Add Application window appears:

     16:46                      ***** Super Natural *****                06.Jan.1993
     SN1130                        - Application List -                    Wednesday
                                                                                    
     Cmd  Name     Descriptio +------------------Add Application-------------------+
          *______             !                                                    !
      __  APPL1    __________ ! Application ID .... APPL3__                        !
      __  APPL2    __________ ! Description ....... ______________________________ !
      __           __________ !                     ______________________________ !
      __           __________ ! Application name .. ________                       !
      __           __________ ! Start-up program .. MENU____                       !
      __           __________ !                                                    !
      __           __________ ! More parameters ... N (Y/N)                        !
      __           __________ ! More commands ..... N (Y/N)                        !
      __           __________ !                                                    !
      __           __________ +----------------------------------------------------+
      __           ____________________________________________________________     
      __           ____________________________________________________________     
     Add  appl3__                                                                   
                                                           Library: SBE____ / U     
     Cmd(s): Execute, Copy, Delete                                                  
     Complete the information and press ENTER                                       
     Command ===>                                                                   
     Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
           Help        Exit              Flip        +                       Canc   
    
  2. Modify the application ID in the Application ID field if required.

    The name can be any name and need not be the actual name of the application you want to invoke.

  3. Enter a description of the application in the Description field (optional).

  4. Enter the actual name of the application (the name of the Natural library where the application resides) in the Application Name field.

    Your Super Natural administrator will tell you which applications are available at your site.

  5. Enter the name of the program which starts the application in the Start-up Program field .

  6. Mark the More Parameters field with "Y" if you want to specify parameters to be passed to the application when it is invoked.

  7. Mark the More Commands field with "Y" if you want to specify more commands to be passed to the application when it is invoked.

  8. Press Enter.

    The Application Parameter window appears if you marked the More Parameters field with "Y":

     16:41                      ***** Super Natural *****                06.Jan.1993
     SN1130                        - Application List -                    Wednesday
                                                                                    
     Cmd  Name     Descriptio +--------------- +-------Application Parameter-------+
          APPL3__             !                !                                   !
      __           __________ ! Application ID ! 1  ______________________________ !
      __           __________ ! Description .. ! 2  ______________________________ !
      __           __________ !                ! 3  ______________________________ !
      __           __________ ! Application na ! 4  ______________________________ !
      __           __________ ! Start-up progr ! 5  ______________________________ !
      __           __________ !                ! 6  ______________________________ !
      __           __________ ! More parameter !                                   !
      __           __________ ! More commands  +-----------------------------------+
      __           __________ !                                                    !
      __           __________ +----------------------------------------------------+
      
    
  9. Type in the parameters to be passed to the application when it is invoked.

  10. Press Enter.

    The Application Command window appears if you marked the More Commands field with "Y":

     16:41                      ***** Super Natural *****                06.Jan.1993
     SN1130                        - Application List -                    Wednesday
                                                                                    
     Cmd  Name     Descriptio +--------------- +- +------Application Command-------+
          APPL3__             !                !  !                                !
      __           __________ ! Application ID !  ! Additional command .. ________ !
      __           __________ ! Description .. !  !                                !
      __           __________ !                !  ! More parameters ..... N        !
      __           __________ ! Application na !  ! More commands ....... N        !
      __           __________ ! Start-up progr !  !                                !
      __           __________ !                !  +--------------------------------+
      __           __________ ! More parameter !                                   !
      __           __________ ! More commands  +-----------------------------------+
      __           __________ !                                                    !
      __           __________ +----------------------------------------------------+
      
    
  11. Type in the name of the command you want to be passed to the application when it is invoked in the Additional Command field.

  12. Mark the More Parameters field with "Y" if you want to specify parameters for the command.

  13. Mark the More Commands field with "Y" if you want to specify another command to be passed to the application when it is invoked.

  14. Press Enter.

    The Application Parameter window appears if you marked the More Parameters field with "Y".

  15. Type in the parameters to be passed to the application when it is invoked.

    The Application Command window appears if you marked the More Commands field with "Y".

  16. Continue as above until you have defined all the commands you require.

  17. Press Enter.

    The application is added.

Executing Application Programs

Start of instruction setTo execute an application program

  • Enter the command abbreviation EX in the Command column of the Application List screen next to the application program name.

    Or:
    Issue the EXECUTE APPLICATION name command.

    You leave Super Natural and enter the application you have selected.

Deleting Application Programs

Start of instruction setTo delete an application program

  • Enter the command abbreviation DE in the command column of the Application List screen next to the application program name.

    Or:
    Issue the DELETE APPLICATION name command.

    The Confirm Delete window appears.

    This window asks you to confirm that you want to delete the application program named. If you do not enter "Y" to confirm, the application program is not deleted.

    You can also delete several applications at the same time. In this case, the Confirm Multiple Delete window appears. You can choose if you want to confirm each deletion, delete without confirmation or cancel the deletion.