0% found this document useful (0 votes)
50 views4 pages

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

This document provides instructions for creating a template application in 6 steps: 1. Structure the template application by copying the TEMPLATE file and changing its name. Define the application's fields. 2. Create a file control record for the application by running JED F.FILE.CONTROL. 3. Create a program file record for the application by running PGM.FILE and specifying if it is for input, live, or historical data. 4. Layout the file fields by running FILE.LAYOUT and entering the program/file name. 5. Create the files in the classic environment by running CREATE.FILES and entering the program name. 6. Create a standard selection for the live file by running
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
50 views4 pages

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

This document provides instructions for creating a template application in 6 steps: 1. Structure the template application by copying the TEMPLATE file and changing its name. Define the application's fields. 2. Create a file control record for the application by running JED F.FILE.CONTROL. 3. Create a program file record for the application by running PGM.FILE and specifying if it is for input, live, or historical data. 4. Layout the file fields by running FILE.LAYOUT and entering the program/file name. 5. Create the files in the classic environment by running CREATE.FILES and entering the program name. 6. Create a standard selection for the live file by running
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
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

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

N(X) max char in the filed


T(X) input type
Into DEFINE.PARAMETERS define which fields you want to have in the
application:

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

NATALI.TEST.L

1.
2.
3.
4.
5.

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

enter

<CR>

enter

NATALI.TEST.L
<CR>

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