Brief JDE
Brief JDE
Table of Contents............................................................................................................1
Data Dictionary Structure ..............................................................................................3
Overview....................................................................................................................3
Data Dictionary Main Screen Parameters..................................................................4
Action Code:..........................................................................................................4
Data Item :..............................................................................................................4
Glossary Group :....................................................................................................5
Rls Last Chg : ........................................................................................................5
Item Parent : ..........................................................................................................5
Alpha Desc : ..........................................................................................................5
Reporting System :.................................................................................................6
Help Program :.......................................................................................................6
Install System Code :..............................................................................................6
Type :......................................................................................................................6
Size :.......................................................................................................................6
Data File Decimals :...............................................................................................6
Data Item Class. :...................................................................................................6
Item Occurrences :.................................................................................................7
Display Decimals :.................................................................................................7
Row Description :...................................................................................................7
Column Title :.........................................................................................................7
Default Value :........................................................................................................7
Data Display Rules :...............................................................................................8
Data Edit Rules:.....................................................................................................8
Next Nbr Index :.....................................................................................................9
Next Nbr System :..................................................................................................9
Function Keys For The Data Dictionary ...................................................................9
Standards When changing Data Dictionary...........................................................9
Software Version Repository..........................................................................................9
Overview ..............................................................................................................9
Software Versions Repository Main Screen Parameters..........................................10
Action Code..........................................................................................................10
Member ID ..........................................................................................................10
Description...........................................................................................................11
Function Code......................................................................................................11
Function Use.........................................................................................................11
Install System.......................................................................................................12
Reporting System.................................................................................................12
Base Member Name.............................................................................................12
Maint/RSTDSP.....................................................................................................12
Omit Option..........................................................................................................12
File Prefix.............................................................................................................13
Optional File.........................................................................................................13
Common File........................................................................................................13
Option ..................................................................................................................13
Navigation Functions...............................................................................................13
Selection Exits from the SVR..................................................................................14
Processing Options.......................................................................................................14
1
Overview..................................................................................................................14
Processing Options Main Screen Parameters..........................................................15
Action Code..........................................................................................................15
Form ID................................................................................................................15
Sequence...............................................................................................................15
Text.......................................................................................................................16
Option Number.....................................................................................................16
Right Justify.........................................................................................................16
Text Only..............................................................................................................16
Selection Option...................................................................................................16
Data Field Name...................................................................................................16
Selection Exits from the PO.....................................................................................17
Navigation Functions...............................................................................................17
Version List..................................................................................................................17
Version List Main Screen Parameters......................................................................17
Form.....................................................................................................................17
Skip to Version.....................................................................................................18
Selection Exits......................................................................................................18
Version..................................................................................................................18
Version Title/Description......................................................................................18
User.....................................................................................................................18
Chg Date...............................................................................................................18
Navigation Functions...............................................................................................18
Vocabulary Overrides .................................................................................................19
Vocabulary Override Main Screen Parameters........................................................19
Action Code..........................................................................................................19
Screen/Report.......................................................................................................19
Default Title..........................................................................................................19
Language Preference............................................................................................20
Skip to Field.........................................................................................................20
Help: Start............................................................................................................20
Help: End..............................................................................................................20
Error Text for Line 24 .........................................................................................20
Text Description...................................................................................................20
Data Item .........................................................................................................20
Video Screen Text Override Array.......................................................................20
Video Screen Text Column Heading....................................................................21
Override Starting Position....................................................................................21
Screen/Report Text Data Field Array...................................................................21
Navigation Functions...............................................................................................21
VIEW...........................................................................................................................21
Modules in PBS ...........................................................................................................22
Interfaces to PBS..........................................................................................................22
Dream Writer................................................................................................................23
World Writer.................................................................................................................24
2
Data Dictionary Structure
Overview
• All data items used by JDE programs must first be defined in the Data
Dictionary.
• Data Dictionary enforces uniformity, consistency, and accuracy across all JDE
applications.
• It is centralized glossary of :
o Field Definitions
o Program Error Message
o Menu Message
o Work Fields
o User Defined Help Instructions
o Program and Field description accessed by the help facility.
Generic Text Key Index This file contains key information to link the data
File ( F98163 ) items to their glossary and to specify items.
3
Data Dictionary Main Screen Parameters
Action Code:
A code that indicates what you want to do. The codes are:
A Add
C Change
I Inquire
D Delete
. End the program
Blank Clear the screen
Data Item :
The RPG data name. This data field has been set up as a 10 byte field for future use.
At the present, it is artificially restricted to 4 bytes so that when preceded by a 2 byte
file prefix, will form an RPG data name not to exceed 6 bytes. Within the Data
Dictionary, all Data Items are referenced by this 4 byte data name. As they are used
in Data Base Files, a 2 character prefix is added so as to create unique data names in
each file specification (DDS).
When adding an Error Msg, this field must be left blank. The Error Message number
is assigned by next numbering logic and the name is displayed on a successful add.
(Clients should assign Error Msg numbers greater than 5000). Special characters are
not allowed as part of the data item name with the exception of '#', '@', '$'.
IMPORTANT NOTE: Clients desiring to create protected data names without JDE
interference can use '$xxx' and '@xxx' with xxx being defined by you.
4
Glossary Group :
C Data Field Function Category
D Primary Data Elements
E Error Messages
F Files
G General Narrative
H Help Instructions
J IBM Message File
L Report Messages
M Menu Warning Messages
P Programs
R Report Data Elements
S Secondary-Dates, Arrays, Etc.
U Report & Video Display Fields
Item Parent :
Reference primary data item to secondary data item
Alpha Desc :
The Alpha Description categorizes Data Item names. Everything should be
entered in upper and lower case. It is used for the search of similar Data
Items. Standards for entering an alpha description are as follows:
5
Reporting System :
Usually the same as install code . Defaults from install system code if left blank .
Clients can use reporting system code 55-59
Help Program :
The Help Text Program field is used to call a program when the function key -
F1 is pressed on its Data Item. When F1 is pressed the program entered in
this field will be executed. If this field is left blank, the glossary will
be used. If you wish the User Defined Code window to appear when F1 is
pressed, enter '*UDC' in this field (this is the default when 'UDC' is
entered in the Data Edit Rules field). If you do not want the UDC window to
appear and you have 'UDC' in the Data Edit Rules field, change this field to
be blank.
Program Requirements:
For your text program to work correctly, you must allow it to accept three
standard parameters.
PARM 1 - Field Name, size 10, type alpha
PARM 2 - Return Value, size 30, type alpha
PARM 3 - Return Description, size 30, type alpha
Type :
A Alphanumeric
B Binary
O Open
P Packed Numeric
S Signed Numeric (unpacked)
Size :
The field size of the data item.
Note: All amount fields should be entered as 15 bytes, 0 decimals, and the
data item type should be 'P' (packed).
6
DATEW Julian Date
JULIANDATE Julian Date Data Items
QTYINV Quantity - Inventory Quantities
Item Occurrences :
In setting up a data item in the data dictionary, you may specify a number of
array elements. This will cause the automatic creation of 1 additional data
item for each array element. The array data item names are restricted to
certain lengths depending on the number of array elements:
3 bytes: 1 to 9 elements
2 bytes: 10 to 99 elements
1 byte : 100 to 999 elements
Display Decimals :
This parameter allows you to designate the number of decimals in the currency,
amount, or quantity fields. For example, U.S. dollars would be 2 decimals,
Japanese yen would be no decimals, and Cameroon francs would be 3 decimals.
The entire data dictionary has been initially set up to conform to 2-decimal
currencies. By changing the data dictionary, you may change the appearance of
videos and reports to correspond to zero-decimal (yen) or 3-decimal (francs)
currencies.
Row Description :
The row description is used for video display text and reports when the
horizontal title is needed. It is used in a manner similar to the column
description in the query facility. It should be less than 35 characters (the
shorter the better). Abbreviations should be used whenever possible.
For example:
U/M - units of measure
YTD - year-to-date
MTD - month-to-date
PYE - prior year end
QTY - quantity
G/L - general ledger
A/P - accounts payable
DEPR - depreciation
Also used for Field Text during Field Reference File generation.
Column Title :
The first line of description that will be used in column headings on a Query
report or on videos. This description should be made as short as possible.
It should be no larger than the data item size, if possible. If the column
heading is only one line, it should be placed in Column Title 1.
Default Value :
The value from this field is used as the initial value on the data entry
screen for the associated data item.
The value entered must be the exact same length as the data item.
7
Single quotes should be placed around the value if it contains any
embedded blanks. Also, the keywords *BLANKS and *ZEROS can be used as the
default value.
CAUTION: If a blank entry is allowed, default values should not be used.
The Data Edit Op1 is one of two(2) parameters which are passed to the Edit
Rule. Following are examples of what this field should contain:
8
VALUE (NVALUE) A list of allowed values (or NOT in a list)
UDC The system code for User Defined Code validation
FILE The name of the validation file
CHKOBJ The object type (*FILE, *LIB, *PGM, *JOBQ, etc.)
*PROC The name of the *PROC routine to do the editing
PGM The name of a program to call for the editing
SERVER The name of the server which performs the editing
Boolean specs A specific value
9
• Screen Design Aid
• Report Design Aid
• File Design Aid
• The Program Generator
• Precompiler Command
• Repository Services
• Optional File Facility
• Programmer Checklist
• Where Used Facility
• Flowchart Programs
• Source modification editor
Action Code
A code that indicates what you want to do. The codes are:
A Add
C Change
I Inquire
D Delete
. End the program
Blank Clear the screen
Member ID
Name of the program on which the operations have to be performed
10
Description
The description of a member in the Software Versions Repository file.
Function Code
Designates the object type such as display file , physical file and logical file .
Function Use
Indicates how the member is being used
1 Programs
110 Video Programs
111 File Maintenance
112 Transaction Proc.
113 Inquiry
119 Window Programs
130 Batch Programs
131 Batch Updates
132 Data File Conversions
135 Merges
138 Global Updates
139 Quick and Dirty Programs
160 Reports
161 Simple Reports
162 Transaction Journals
163 Batch Edit Reports
164 Special Forms
165 Integrity Reports
166 Statutory Reports
190 Building Blocks
191 File Servers
192 Functional Servers
193 Transaction Servers
194 Common Subroutine
195 Install Utilities
196 User Exit Program
197 Vocabulary Override Only
198 Model Source Member
2 Files
210 Master Files
211 Secondary Master Files
220 Balance Files
230 Transaction Files
231 Batch Input Files
250 History Files
251 Purge Files
280 Constants Files
285 Extra Features Files
290 Work Files
291 Regular Work Files
292 "T" Work Files
11
295 Install Files
296 PC Download/Batch Edit Files
299 Compile Time Files
Install System
Designates the system number associated with the member .The configuration of
installation media and the install process itself are driven by the install system code.
Reporting System
Designates the system number for reporting purpose. This rarely differs from the
Install System. Exceptions occur for data files used by more than one system.
Maint/RSTDSP
A designation of the type of maintenance on a logical view. These
codes are as follows:
0 - No maintenance; or the logical is created dynamically
1 - Immediate maintenance
2 - Delayed maintenance USE WITH CAUTION
Omit Option
Designates items in Software Versions Repository file which would be bypassed
for various reasons on new releases. These codes are as follows:
H - Held from all releases
X - Omit from all releases
S - Omit Source from all releases
O - Omit Execution Object from all releases
12
File Prefix
This field indicates the prefix associated with a file.
Optional File
Indicates the file may be optional in your production environment. A "Y" designates a
file as an Optional Data File if there are some situations where the file may not be
needed at a client installation.
An "O" designates that the file is designated for omission. Examples are
compile files or special files like JDE User Profiles file.
Common File
Indicates when a file should exist in the common library or user production library. A
file that is designated as a Common Library Data File will be created in
the users Common Library when the Create User Production Library job is run.
Option
Browse Source Member Opt 1
Edit using Source Entry Utility (SEU) Opt 2
Copy/Add Entry/Source Member Opt 3
Work with SAR Detail Opt 5
Print Source Member Opt 8
Delete Entry/Remove Source Member Opt 9
Exit to Design Aid (SDA/RDA/FDA/KBG) Opt 10
Pre-compiler Commands Opt 11
Submit Creation of Object Opt 14
KBG - Generate Program Source and Help Opt 15
Edit Help Instructions Opt 17
Generate and Rebuild Help Instructions Opt 18
Browse SDA/RDA Opt 20
Print Help Instructions Opt 21
Print Video ,Report or File Illustration Opt 25
Source Modification Editor Opt 30
FUTURE - Test Program Opt 40
Navigation Functions
F6 Access repository Services
F9 Automatic Re-inquiry
F17 Position Cursor to action code
F19 Previous Member
F20 Next Member
F2 JDE Command Line
F8 Optional Files
F10 Checklist ( User Defined Checklist)
F13 Member Category Code
F14 Member Parameter/Key List
F15 Where used facility(Must run cross reference rebuild before using this )
13
F23 Flow Programs( Only Functions for programs & files)
Processing Options
Overview
• In JDE Processing Options can be attached to Batch and Interactive programs.
A Processing Option is a parameter for entering a value to control how the
program runs.
14
Processing Options Main Screen Parameters
Action Code
A code that indicates what you want to do. The codes are:
A Add
C Change
I Inquire
D Delete
. End the program
Blank Clear the screen
Form ID
The RPG program name defined in the Software Versions Repository Master file.
The numbering system is illustrated below.
T SS XXX
- -- ---
. . .
. . . . . Specific member ID number
. .
. . . . . . . System number (e.g., 01 = Address Book)
.
. . . . . . . . . Member type (e.g., P = Program, R = Report, etc.)
Sequence
This field is used to specify the function key or sub file option number for
15
a particular exit in the program being generated. Along with function key or
option number, you must enter the program ID and any parameters that should be
passed to the external program.
Text
The title that appears at the top of the report. This title can be up to three
lines long.
Option Number
The Processing Option Number field specifies for DREAM Writer processing
Options the array index position for each processing option. This number
should never change once assigned. The sequence number of processing options
may be changed to allow for better presentation on the Processing Options
Entry program but the processing option number should never be changed.
Date
The Date Field specifies whether or not the processing option refers to a
date. Valid values are:
Right Justify
A '1' indicates that the processing option information to be entered is
numeric and should be right justified.
A '2' indicates that the processing option information to be entered is
to be right justified and left-filled with blanks (e.g. cost centre edit)
Text Only
The Text Only field is used to specify whether the text line is text only or
a processing option value entry line. This allows you to specify multiple
lines of text to document each processing option. The values for this field
are "1" for text only and "0" for a value entry line.
Selection Option
Selection exit codes are options and function keys that are used to perform a
specific function for a selected line or screen of data. The most commonly
used selection exits for each program are displayed in highlighted text at the
bottom of the screen. To display all available selection exits, press F24.
Press F1 in the Option field to display all available Options for the program.
16
used as a work field (glossary group "U") or 4 bytes if used as a data base
item (glossary group "D").
Special characters are not allowed as part of the data item name with the
exception of '#', '@', '$'.
Navigation Functions
F1 Field Sensitive Help
F6 Repository Services
F18 Language Preference Text
Version List
Version list is a repository of all the versions of a form/program.
Form
The Form Name field is the name of the DREAM Writer form. This form name is
normally the name of the RPG program which controls the function of this
17
DREAM Writer selection. For FASTR and P & E FASTR reports the form name can
normally be just about any name the users may think up. The controlling
program for these types of forms is always the same.
Skip to Version
Identifies a group of items that can be processed together such as reports,
cost centres, or sub ledgers.
Selection Exits
Selection exit codes are options and function keys that are used to perform a
specific function for a selected line or screen of data. The most commonly
Used selection exits for each program are :
1=Run 2=Chg 3=Add 4=Rpt Dist 5=Cover 6=Prt Over 8=Repair 9=Dlt
Version
Identifies a group of items that can be processed together such as reports,
cost centres, or sub ledgers.
Version Title/Description
The description that appears next to the version number. The version title is
different than the report title.
User
The IBM defined user identification.
Chg Date
A brief description of a code or abbreviation.
Navigation Functions
F5 Display Last Execution/Change Date
F7 Display all Error Messages
F9 Display All Versions/User Versions Only
F13 Display Report Illustration(source req)
F16 Rename Version (Cursor Sensitive)
18
Vocabulary Overrides
Vocabulary Override Main Screen Parameters
Action Code
A code that indicates what you want to do. The codes are:
A Add
C Change
I Inquire
D Delete
. End the program
Blank Clear the screen
Screen/Report
Screen or report file name (e.g., V01011 or R01402)
Default Title
The vocabulary overrides title used in screens and on reports. In screens,
the title will be retrieved from the Menu file. If a record is not found,
then the title will be retrieved from the Vocabulary Overrides file. Report
titles will be retrieved from the DREAM Writer Version ID (F98301).
19
Language Preference
Selected using user defined codes for different languages
Skip to Field
Screen/report text data field name which ties directly to the name in the
DDS specifications for the screen/report file. DO NOT CHANGE THIS FIELD
Help: Start
The Help Start Key is used to reference the program to specific program
help instructions. Typically, this key is simply the program number. It is
always preceded with a 'P' as in Program - never a 'J' as in Job.
This is the starting key for displaying help instructions for this item.
Help: End
The Help End Key is used to reference the program to specific program
help instructions. Typically this key is simply the program number. It is
always preceded with a 'P' as in Program - never a 'J' as in Job.
This is the ending key for displaying help instructions for this item.
Text Description
Soft coded text for all screen/report literals. If you plan on overriding
this description, make sure the override has a 'Y'. Otherwise, anytime a
change is done to this screen/report or a batch rebuild is run, it will
automatically be updated from information in the data dictionary.
Data Item
The data dictionary data item name (see DTAI) or if left blank, an override
text field set up through Screen Design Aid. INFORMATION IN THIS FIELD
SHOULD ONLY BE MODIFIED THROUGH SCREEN DESIGN AID. THIS IS
THE KEY USED IN PROGRAMS TO RETRIEVE THE VOCABULARY
OVERRIDES AND FIELD LEVEL HELPS.
20
designates the same as a "Y" but is allowed to be replaced in the Vocabulary
Overrides Merge. The intent of the "J" is to differentiate between overrides
originated by J. D. Edwards and those overrides entered at the client site.
Navigation Functions
VIEW
View is a tool which is used to browse\update data of a file .There are several Other
Options available in view such as :
• Shift + F1 To see multiple records
• Shift + F2 To see field description of all the field in the record format
• Shift + F6 Data base relations ( Shows keys of LF )
• F9 Add New Record
• F10 Display file field description
• F2 To get Julian Date
21
Modules in PBS
• Address Book
• Item Number
• Planning
• Price and Deal
• Sales Order Processing
• Credit & Accounts Receivable (AR )
• Co-operative Advertisement Management System (CAMS)
Interfaces to PBS
• Lawson
• ARS MRS
• LCS
• NARM
• Top Spine
• DCD
• Returns
22
Dream Writer
23
World Writer
Worldwriter is JDE's attempt at a general purpose report writer. It can also do some
JDE specific things like read their proprietary date structure. It can also access and
create external files.
Using WW we can see all the versions which are present in an module.
Ex. If we give option 2(i.e. Address Book then all the versions on this particular
module is displayed.
24
Screen For Address Book
25