0% found this document useful (0 votes)
29 views

Application: 1. Structure Definition, Name Change, Compiling Primer

1. This document provides instructions for creating a template application in GLOBUS using the TEMPLATE.L template file. It involves defining parameters in the template file, compiling the template, and generating the necessary files. 2. The user is instructed to copy the TEMPLATE.L file into the BP directory, rename it, and modify the parameter definitions. They are then told to run various GLOBUS programs like JED, EB.COMPILE, and CREATE.FILES to generate the application files. 3. The last step is to run the STANDARD.SELECTION program to create the dictionary file for the new application, and check that it was generated correctly.

Uploaded by

Madjid Mansouri
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views

Application: 1. Structure Definition, Name Change, Compiling Primer

1. This document provides instructions for creating a template application in GLOBUS using the TEMPLATE.L template file. It involves defining parameters in the template file, compiling the template, and generating the necessary files. 2. The user is instructed to copy the TEMPLATE.L file into the BP directory, rename it, and modify the parameter definitions. They are then told to run various GLOBUS programs like JED, EB.COMPILE, and CREATE.FILES to generate the application files. 3. The last step is to run the STANDARD.SELECTION program to create the dictionary file for the new application, and check that it was generated correctly.

Uploaded by

Madjid Mansouri
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Application

Help/Template Programming 1. STRUCTURE DEFINITION, NAME CHANGE, COMPILING Primer: 1. GLOBUS.BP TEMPLATE TEMPLATE.L

H, U, tip Input app. no Input app.(You can add fields later)

2. Copy TEMPLATE into BP directory and change the name! (In the file find section DEFINE.PARAMETERS) F(x) = Field Name CUSTOMER: F(1) = MNEMONIC F(20) = XX.TEXT N(X) max char in the filed T(X) input type Into DEFINE.PARAMETERS define which fields you want to have in the application:

F(2) = XX<RELATION.CODE F(8) = XX-REL.CUSTOMER F(9) = XX>REVERSE.REL.CODE

3. JED BP NATALI.TEST.L ID.F ID.N definition ID ID.T ID.CHECKFILE 4. EB.COMPILE BP NATALI.TEST.L

2. FILE.CONTROL JED F.FILE.CONTROL


1. 2. 3. 4. 5.

NATALI.TEST.L

Description Product (EB) $HISy$NAU (or leave blank) 2 3 6. Classification: FIN/INT ; FINFBNK.xxxx ; INTF.xxxx 7. / 8. N 9. N 10. /

JED F.FILE.CONTROL Record name = NATALI.TEST.L 9 lines long. ----: P 0001: Template app. 0002: EB 0003: 0004: 2 0005: 3 0006: FIN 0007: 0008: N 0009: N Bottom at line 9. ----:

3. PGM.FILE (record creation) L ... LIVE file U ... LIVE, NAU H ... LIVE, NAU, HIS PGM.FILE NATALI.TEST.L
1. L (za Input H) 2. EB

4. FILE.LAYOUT (Enter Program Name / File) FILE.LAYOUT enter Enter Program/File(s): NATALI.TEST.L

P I_F.Entryone Prefix Sufix

in directory BP GLOBUS create file I_F.NATALI.TEST.L

5. CREATE.FILES (run program in classic) BNK


<CR> <CR>

enter
enter

NATALI.TEST.L
enter

enter

Y 6. STANDARD.SELECTION (SS): * Live files DO NOT require V = Z + 9 as there are not audit fields. * But it does require V to be set to the number of fields STANDARD.SELECTION NATALI.TEST.L Create DICT FILE Check: LIST.DICT FBNK.NATALI.TEST.L

You might also like