Professional Documents
Culture Documents
VisualAge Pacbase Pocket Guide
VisualAge Pacbase Pocket Guide
e-mail : vapacsup@fr.ibm.com
VisualAge Pacbase
Pocket Guide
NOTES
Pocket Guide
DBPOC000251A
IBM Software
30, rue du Chteau-des-Rentiers
75640 Paris Cedex 13 - France
Internet : http://www.software.ibm.com/ad/vapacbase
48
NOTES
Conventions
In the entities choices descriptions, (M) means Update
allowed
47
TABLE OF CONTENTS
Management of Users
Parameters
LCPC..
LCPU........
List of methods
LCPM..
PD
PC....
PT.
PE.
PU........
PK
PW.
PM.....
PB....
5
7
8
9
10
10
11
12
13
14
15
16
18
19
20
20
21
22
Presentation ................................................
Keyword .....................................................
Element ......................................................
Text ............................................................
Volume .......................................................
User Manual ................................................
Input Aid .....................................................
Data Structure .............................................
Segment .....................................................
Report ........................................................
Program .....................................................
On-line Screen ............................................
Block Database ............................................
Model Entity ................................................
User Entity ..................................................
User Relationship .........................................
User Entity Item ............................................
Special Choices ...........................................
45
45
46
46
SignOff
FT
Function Keys
Number
Standard significance
PF1
PF2
PF3
PF4
PF5
Number
Significance
PF4
PF5
PF6
SignOff
PF7
PF8
PF10
PF6
PF12
Conversation exit
PF7
PF8
PF9
Call of -TC screen from -PG and vice-versa
or Zoom on key description from screen
B...... DR
PF10
PF11
PF12
HP
HE
H
45
05 IT ID-ER=0'
AN dd-IB n=1'
70dd - Existence validation on 10 BL
dd-file (for each appropriate d.s.)
70 - Existence validation
73 - Update
05 IT ID-ER=0'
AN SE-ER(I01)=1'
05 BL
10 IT FTBn=1
AN GR-ER=1'
05 IT condition
on -D (top)
10 BL
10 BL
10 BL
90 - Write files
90dd - Write dd-file
9099 - ITER-FN. GO TO F05
05 BL
10 BL
10 BL
Presentation
1 - Access an Entity
n Each entity is identified by a 1-character entity type
code:
*
K
T
V
U
E
D
S
I
B
O
R
P
M
F
Q
$
LIBRARY
KEYWORD
TEXT
VOLUME
USER MANUAL
ELEMENT
DATA STRUCTURE
SEGMENT
INPUT AID
BLOCK DATABASE
ON-LINE SCREEN
REPORT
PROGRAM
MODEL ENTITY
USER ENTITY
USER RELATIONSHIP
USER ENTITY ITEM
44
O ...... AT
05 BL
10 BL
2 - Lists of entities
n An entity list is obtained by entering an L
n The second character specifies the type of list:
List by code
List by type
List by name
List of undefined entities in dictionary
List by code for update
List by external name
LC
LT
LN
LF
LU
LE
3 - Special choices
n Special requests are entered with an explicit one to four
character code:
Journal File Display of transactions
JO
Activity Calculation on Segment
S .... ACT
n Menus are accessed by entering H with or without the
entity type code specified:
Elements menu
HE
Special choices menu
HSC
20 - End of run
20dd - Close dd-file
(for each d.s. to close)
2099 - Stop Run
05 BL
10 BL
05 IT FT=ALL '1'
10 BL
10 BL
05 BL
05 BL
05 BL
05 BL
33 - Identification validation
05 BL
33AA - Record Type Validation
10 BL
33BB - Transaction Code Valid. 10 IT ID-ER=0'
36 - Duplicate record validation
05 BL
05 IT ID-ER=0'
10 BL
10 IT 1-dd00rectyp=x
05 IT ID-ER=0'
10 BL
10 BL
43
Library
CAT-TAB
Definition (U)
* ...
ST-TA
r-LAB
CATX
5-dd00rPC
5-dd00rLC
Line Counter. Initially set equal to the maximum number of lines for report r to allow for
a new heading situation. Automatically
handled by VisualAge Pacbase.
5-dd00rLCM
5-dd00rLC1
5-dd00rTP
5-dd00rRC
Keyword
Enrichment of the Thesaurus (U)
K .............
Word Search
WS
List of Keywords by code
LCK .............
Element
SE-ERR
TR-ER
SE-ERE
GR-ER
UT-ERUT
Definition (U)
E ......
General Documentation (U)
E ...... G ...
Assigned Text
E ...... AT ......
Cross-References
E ...... X
toText
E ...... XT ......
to Model Entity
E ...... XM ......
to User Relationships
E ...... XQ ......
to Volume
E ...... XV ......
to Segments
E ...... XS ....
to Reports
E ...... XR ...
E ...... XR ... CE
Record Counters
to User Entity
E ...... XF ......
to Relational/SQL Key
E ...... XK ......
to Database Block
E ...... XB ......
E ...... XB ...... DH ...
E ...... XB ...... DC ...
E ...... XB ...... DR ...
to On-Line Screens
E ...... XO ......
E ...... XO ...... CP ......
E ...... XO ...... W -- ...
E ...... XO ...... B ..--...
E ...... XO ...... P .. -- ...
NB: For a detailed description of Element entity,
see the Specifications Dictionary Reference Manual.
41
Table Indexes
IddssM
IddssL
IddssR
Stores the presence status of each data element ofthe transaction being processed.
DEL-ER
ER-PRR
to Programs
E ...... XP ......
E ...... XP ...... CP ......
E ...... XP ...... W -- ...
E ...... XP ...... B ..--...
E ...... XP ...... P .. -- ...
E ...... XP ...... 8 ......
E ...... XP ...... 9 ......
E ...... XP ...... FC -- ...
Description (U)
E ...... D ...
List of Undefined Elements in Dictionary
by code
LFE ......
List of Elements
by code
by name
for update (U)
(C2 : 3 formats indicated)
by Label
by COBOL name
by Relational name
Text
Definition (U)
T ......
General Documentation (U)
T ...... G ...
Assigned Text
T ...... AT ......
Cross-References
T ...... X
Cross-References to User Manual
T ...... XU ..
Cross-References to Volume
T ...... XV ......
Cross-References to Documentation
T ...... XG ...
Cross-References to Text
T ...... XT ......
Cross-References to User Relationships
T ...... XQ ......
List of Section Titles
T ...... LT ..
40
LCE ......
LNE ..............
LUE ......
LALE .............
LACE .................
LARE ..................
LTT .. T ......
LCT ......
Volume
dd-FBn
Assigned Text
V ...... AT ......
Cross-References
V ...... X
dd-IBn
to Volume
V ...... XV ......
to User-Defined Relationships
V ...... XQ ......
dd-CFn
dd-OCn
LTV .
LTV .V ......
LCV ......
dd-Fi
User Manual
Definition (U)
U ..
General Documentation (U)
U ..G ...
by Code
Definition (U)
V ......
List of Volumes
by Type
39
15 FSSNN-CHCK-CATX
X Category processing (X = 'A', 'R' or 'Z')
20 FSSNN-CHCK-CATX-ALIM
Key loading
20 FSSNN-CHCK-CATX-CALL
Physical access call
20 FSSNN-CHCK-CATX-ERRS
Error processing on physical access
10 FSSNN-UPDT
Processing of the logical update access on
SSNN Segment
15 FSSNN-UPDT-CATX
X Category processing (X = 'A', 'R' or 'Z')
20 FSSNN-UPDT-CATX-ALIM
Key loading
20 FSSNN-UPDT-CATX-CALL
Physical access call
20 FSSNN-UPDT-CATX-ERRS
Error processing on physical access
10 FSSNN-SLCT
Processing of the logical selection access on SSNN
Segment
15 FSSNN-SLCT-CATX
X Category processing (X = A, R, Z or T)
20 FSSNN-SLCT-CATX-ALIM
Key loading
20 FSSNN-SLCT-CATX-CALL
Physical access call
20 FSSNN-SLCT-CATX-ERRS
Error processing on physical access
F80 Physical access
F81 Complementary processing (end of Program, error
management...)
38
11
Data Structure
10 FDDSS-SELC
Selection processing
Definition (U)
D ..
15 FDDSS-SELC-CATX
X Category processing (X = 'A': before
repetitive, 'R': repetitive, 'Z': after repetitive)
20 FDDSS-SELC-CATX-SRVA
Selection service processing
Assigned Text
D .. AT ......
25 FDDSS-SELC-CATX-SRVA-INIT
Initialization
Cross-References
D .. X
25 FDDSS-SELC-CATX-SRVA-SELC
Logical selection processing
to User-Defined Relationships
D .. XQ ......
25 FDDSS-SELC-CATX-SRVA-TRAN
Loading after selection
to Volumes
D .. XV ......
25 FDDSS-SELC-CATX-SRVA-DONE
End of service processing
to Programs
D .. XP ......
D .. XP ...... W -- ...
10 FDDSS-USER
User processing
to Screens
D .. XO ......
D .. XO ...... W -- ...
Data Structure List
of segments
of reports
10 FDDSS-ERRV
DDSS logical view error processing
D .. LS ..
D .. LR .
LCD
by type
LTD .
LTD . D ..
by external name
LPD ......
10 FDDSS-ENDV
End of DDSS logical view processing
05 FSERVER-END
End of server processing
10 FDDSS-TRDT
Transfer of the logical view data to the
Segment data in physical access
15 FDDSS-TRDT-CATX
X Category processing (X = 'A', 'R' or 'Z')
10 FDDSS-CHKD
Logiciel view data control
10 FDDSS-CHKD-CATX
X Category processing (X = 'A', 'R' or 'Z')
10 FDDSS-TRVW
Transfer of Segment data to the logical view
data
15 FDDSS-TRVW-CATX
X Category processing (X = 'A', 'R' or 'Z')
10 FSSNN-CHCK
Logical check access processing of SSNN
Segment
37
Business Component
Structure
05 FSERVER
Beginning of server processing
10 FSERVER-STRVIEW
Structure validation and length of the
communication area buffers
05 FSQL
SQL declaration
10 FSQL-WHENEVER
Clause Whenever
10 FSQL-CURSR-SEET
Declare Cursor
05 FDDSS
10 FDDSS-BEGV
Initialization of the logical view processing
10 FDDSS-CHUP
Check/update processing
15 FDDSS-CHUP-CATX
X Category processing (X = 'A': before
repetitive, 'R': repetitive, 'Z': after repetitive)
20 FDDSS-CHUP-CATX-SRVO
O Service processing (O = 'E', 'L', 'M', 'T' or 'X')
25 FDDSS-CHUP-CATX-SRVO-INIT
Initialization
25 FDDSS-CHUP-CATX-SRVO-CHCK
Logical check processing
25 FDDSS-CHUP-CATX-SRVO-TRAN
Loading before update
25 FDDSS-CHUP-CATX-SRVO-UPDT
Logical update processing
25 FDDSS-CHUP-CATX-SRVO-DONE
End of service processing
10 FDDSS-LOCK
Lock
Segment
Definition (U)
S ....
General Documentation (U)
S .... G ...
Assigned Text
S .... AT ......
List within Segments
of Parent Segments
of Child Segments
Cross-References
S .... X
to Segments
S .... XS ....
to User-Defined Relationships
S .... XQ ......
to Volumes
S .... XV ......
to Database Blocks
S .... XB ......
to Programs
S .... XP ......
S .... XP ...... W -- ...
to Screens
S .... XO ......
S .... XO ...... W -- ...
Sub-schemas and Sub-systems (U)
S .... SS .Integrity Constraints on Segment
S .... CN ......
Call of Elements (U)
(C2 : internal format)
(C3 : output format)
S .... CE ...
Documentation (U)
S .... CE ... G ...
View of statistical information
Level, Address and Length
Data Element Details
Statistics
Activity
10 FDDSS-UNLK
Unlock
36
13
S .... LAL
S .... DED
S .... STA
S .... ACT
Display
S .... SE ...
LCS ....
50 - Display
5010 - Initialization
Report
Definition (U)
R ...
General Documentation (U)
R ... G ...
Assigned Text
R ... AT ......
Cross-References
R ... X
to Volumes
R ... XV ......
to Programs
R ... XP ......
to User Relationships
R ... XQ ......
03 IT OCF = '1'
05 BL
10 BL
/
04 DW CATX =Z
LOOP BY CATEGORY
55 - Category processing loop
5510 - Category positioning
05 BL
10 BL
05 BL
05 BL
04 BL
70 - Error management
7010 - Error messages processing
7015 - Logical View error processing
7020 - Positioning of attributes
05 BL
10 BL
10 BL
10 BL
Layout (U)
R ... L ..
R ... L .. C ...
(C for column)
Description (U)
R ... D .. ---
05 BL
10 IT SCR-ER = 1
10 BL
10 BL
Called functions
80 - Physical Segment access routines
LCR ...
LTR .
LTR . R ...
14
35
05 BL
10 BL
10 BL
10 BL
10 BL
10 BL
10 BL
10 BL
10 BL
10 BL
10 BL
10 BL
10 BL
10 BL
Program
01 - Initializations
05 BL
Reception
03 IT ICF = '1'
05 - Reception
05 BL
0510 - Reception of the Screen
10 BL
0512 - Documentation call processing 10 BL
0520 - Validation of the operation code 10 BL
LOOP BY CATEGORY
04 DW CATX ='Z'
/
05 BL
10 BL
05 BL
05 BL
05 IT CAT-ER =
04 BL
40 - Transaction management
05 IT SCR-ER = 1
4010 - Set-up keys for new 10 IT OPER = A
display
or M
4020 - Set-up keys for screen 10 IT OPER = S
paging
4030 - End of transaction
10 IT OPER = E
4040 - Transfer to another 10 IT OPER = O
C/S Screen
Definition (U)
P ......
P ...... G ...
Assigned Text
P ...... AT ......
Cross-References
to Volumes
to User-Defined Relationships
to Programs (U)
to Screens (U)
P ...... X
P ...... XV ......
P ...... XQ ......
P ...... XP ......
P ...... XO ......
P ...... CD ..
P ...... HCD ..
Call of P. M. S. (U)
P ...... CP ......
P ...... B .. -- ...
List of Programs
by code
by external name
by type
P ...... W -- ...
P ...... P .. -- ...
P ...... 8 ......
P ...... 9 ......
P ...... SC .. -- ...
LCP ......
LEP ........
LTP . P ......
List of Titles
without Condition
with Conditions
with Conditions
(C2 : with source for-TC and-<)
P ...... TO .. -- < ..
P ...... TC .. -- < ..
P ...... < ..
P ...... < .. TC ....
P ...... < .. TO ....
P ...... PG .. -- ...
34
15
On-Line Screen
OPER
Operation code
'A'
Display
'M'
Update
'S'
Screen continuation
'E'
End
'P'
Same Screen
'O'
Call of another Screen
CATM
Transaction code
'C'
Creation
'M'
Modification
'A'
Deletion
'X'
Implicit update
CATX
ICATR
FT
Definition (U)
O ......
General Documentation (U)
O ...... G ...
Assigned Text
O ...... AT ......
Cross-References
O ...... X
to Screens
O ...... XO ......
to User-Defined Relationships
O ...... XQ ......
to Volumes
O ...... XV ......
to Segments
O ...... XS ....
Call of Elements (U)(C2)(C3)
O ...... CE ...
Call of Segments (U)
O ...... CS - ....
16
No error
Error
Error variables
CAT-ER
SCR-ER
DEL-ER
ON-LINE GENERATION
Variables and Constants
INA
Address of Elements
O ...... ADR .. C ...
List of Screens
by code
LCO ......
by external program name
LPO ........
by external map name
LSO ........
by transaction name
LTO ........
by type
LNO .. O ......
List of Titles
without condition
O ...... TO .. -- < ..
with condition (U)
O ...... TC .. -- < ..
with condition (U)
O ...... < ..
O ...... < .. TC ....
O ...... < .. TO
(C2 : with source for-TC and-<)
Generated procedural Code(U)
O ...... PG .. -- ...
Input configuration
'1'
Screen in input
'0'
No screen in input
OCF
Output configuration
'1'
Screen in output
'0'
No screen in output
OPERD
CATMA
17
Database Block
Definition (U)
B ......
General Documentation (U)
B ...... G ...
Assigned Text
B ...... AT ......
Cross-References
B ...... X
to Volumes
B ...... XV ......
to User Relationship
B ...... XQ ......
to Blocks in PSBS
B ...... XB ......
to Screens
B ...... XO ......
B ...... XO ...... CS ....
B ...... XO ...... W ..
to Programs
B ...... XP ......
B ...... XP ...... W ..
Description (Hierarchical) (U)
B ...... DH ...
Documentation (U)
B ...... DH ... G ...
Description (Codasyl/DB2) (U)
B ...... DC ...
Documentation (U)
B ...... DC ... G ...
Description (Relational/SQL) (U)
B ...... DR ...
Documentation (U)
B ...... DR ... G ...
Building of Relational/SQL Key (U)
B ...... DR ... K
Description (Turbo.Image)(U)
B ...... DT ...
Documentation (U)
B ...... DT ... G ...
Generation of SQL commands
B ...... GEN
18
BL
IT
EL
CO
DW
DU
DO
OR
AN
Block
If then
Else (only after an IT)
Case of (followed by ITs)
Do white
Do until
Do (Generates Subscript: JffssR)
Or
And
XRN
XRU
XW
XRW
XD
XUN
Yaa
Xaa
ERU
ERR
GFR
GDB
GDI
GFT
ERL
Interactive SQL
B ...... SQL
List of Blocks
by code
by type
by external name
LCB ......
LTB..-----LEB -- .......
LCA ......
LCC ......
C ...... ACT
Model Entity
Definition (U)
M ......
M ...... G ...
Assigned Text
M ...... AT ......
Cross-References
M ...... X
to Model Entities
M ...... XM ......
to User Relationships
M ...... XQ ......
to Segments
M ...... XS ....
to Volumes
M ...... XV ......
to DB Blocks
M ...... XB ......
M ...... CM ...
M ...... CM ... G ...
M ...... CE ...
M ...... CE ... G ...
LMP ......
LMC ......
LMO ......
LMR ......
30
19
COBOL II Operators
Definition (U)
F ......
CON
EVA
EVT
EVF
EEV
EIF
EPE
ESE
INI
SEA
GOB
F ...... X
to Volumes
F ...... XV ......
to User Relationships
F ...... XQ ......
Definition (U)
Q ......
General Documentation (U)
Q ...... G ...
Assigned Text
Q ...... AT ......
Q ...... X
to Volumes
Q ...... XV ......
to User Relationships
Q ...... XQ ......
to Entities
Q ...... X* ...
to User Entities
Q ...... XF ......
OPE
CLO
R
W
RW
RN
STA
DEL
SRT
E
ADM
ADS
Open
Close
File read
File write
File rewrite
File read next (VSAM)
File start read (VSAM)
Record delete (VSAM)
Sort
Error message
Insertion of slashes in a date with century
Date inversion with century
20
User Relationship
Cross-References
SQL Operators
EXQ
SCC
SDC
SCO
SRO
SWH
STRUCTURED CODE
General Operators
N
*
M
MA
P
C
A
S
MP
DV
MES
ACC
STR
UNS
CAL
GT
GFT
GDI
GB
EXA
EXC
INS
COB
COA
SUP
SCH
SCB
ADT
ADC
AD
AD0
AD1
AD2
ADI
ADE
TIM
TIF
28
21
Special Choices
USER ENTITY
General Menu
Sub-Menu for the x entity
Generation and print requests (U)
List of Locked Entities (U)
H
Hx
GP .. --LL ........ L - ......
LL ........ L$ -- ......
LL ...... E .........
LH....
JO
JP
JF
JI
New Context:
New Library
New session
Return to Current Session
New Change
N* ...
NH .... NH9999
NC .........
Update mode:
No update (inhibits the implicit action codes) . NU
Update (sets the implicit action codes)
.U
Inhibit all update (implicit & explicit)
. NT
Input mode:
Insert mode
Return to standard overlay mode
. NY
. NN
DCF
LCF
LKF
USER RELATIONSHIP
DCQ
LCQ
LKQ
END or JP
LJOB
JOB nnpp
22
OPERATION FIELD
CLIENT/SERVER ENTITY
DGC
DGS
GGC
GGS
GVC
ERROR MESSAGES
LEC
LED
LEO
GE6
GED
GEO
GIP
GEC
C1
C2
C3
C4
DATABASE BLOCKS
DTB
GCB
GSQ
LCB
LEB
LKB
LTB
LES
LTS
MODEL ENTITIES
DCM
DCMC
DCMO
DCMR
LCMC
LCMO
LCMP
LCMR
LKM
26
C1
U1
Z1
I1
>1
<1
A1
Mn
Rn
FT
Final Transaction
23
TEXTS
DCT
DTT
LCT
LKT
LTT
L*T
VOLUMES
DCV
LCV
PCV
LKV
USER MANUALS
DCU
LCU
LKU
PCU
P.I.A. description
List of P.I.A. by Code
List of P.I.A. by Keywords
List of P.I.A. by X-reference
24
DATA STRUCTURES
DCD
GCD
LCD
LKD
LPD
LTD
SEGMENTS
DCS
LCS
LKS
REPORTS
DCR
LCR
LKR
LTR
Reports description
List of Reports by Code
List of Reports related by Keywords
List of Reports by Type
PROGRAMS
DCP
DSP
GCP
GSP
LCP
LEP
LKP
LTP
Program description
Description of Programs (Rev. Eng.)
Source code for selected Program
Source code for selected Program (Rev. Eng.)
List of Programs by Code
List of Programs by External Name
List of Programs related by Keywords
List of Programs by Type
ON-LINE SCREENS
DCO
DSO
GCO
GSO
LCO
LKO
LPO
LSO
LTO
LNO
SPECIAL COMMAND
UPC
25