Create a new application, starting from a standard TEMPLATE

Posted by
Print Friendly, PDF & Email

If the standard package is not enough for you, you can easily create a new application from scratch 🙂

Steps :

a. Create a new program, after having chosen the applicable type*

b. Compile,  setting in comment the I_Fxxx. of the new application.

c. Logoff

d. create a new PGM.FILE entry for this application.

e. From Globus/T24 (e.g. NOT under the UV/Jbase prompt): FILE.LAYOUT

Enter Program File(s) : input the name of your application
Enter output Name – <CR> = I_F.Entryname: <return>
Enter PREFIX or <CR> = NONE: Enter the prefix for all your fields to be declared in the dictionnary (I_F.xxx)
Enter SUFFIX or <CR> = NONE: <return>

f. Recompile, including the I_Fxxx. of the new application

g. Create  a FILE.CONTROL (type “FIN” with 2 suffixes $NAU & $HIS)

h. CREATE.FILES for each company.

i. STANDARD.SELECTION : create the record (new application name), setting Yes in field 28 to rebuild system fields

(*) An application type should be chosen among following types:

L. A program that displays the data of a live file but does not allow updates.  Updates to these files would be controlled by the System automatically.
W. A program that permits updates to a work or temporary file. A typical example would be the REPGEN.OUTPUT program where print or display parameters for a report can be loaded.
T. A program that displays data in a table file (such as a list of keys) but does not allow update.
H.  A program that has this type maintains three files: the unauthorised, live and history files. The unauthorised file is updated at Input; the live file at authorisation; and the history file whenever there is an authorised change to a record.

Here are a comparison of several Templates process analysis

Logical description of a Template program:

click to enlarge

Logical description of a Template C program:

click to enlarge

Logical description of a Template L program:

click to enlarge

Logical description of a Template T program:

click to enlarge

Logical description of a Template W program:

click to enlarge

Extra informations:

Create Application by Gregor Kušer:

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.