What do you know about DBD gen?
Answers were Sorted based on User's Feedback
Answer / rama krishna
DBDGEN means Database Descriptor Generator which is used to
define the IMS database. While declaring the DBD, we are
going to declare all the segments and the parent and child
relationship among them and the fields in each segment and
their properties.
| Is This Answer Correct ? | 12 Yes | 1 No |
Answer / nygrande
DBDGEN control statements consists of Assembler Language
macro statements. The macros are supplied by IBM in a
library named IMSVS.MACLIB. DBDGEN control statements are
normally coded by the DBA and submitted to the system with
JCL. That invokes a cataloged procedure usually called
DBDGEN. The DBDGEN procedure causes the DBDGEN control
statements to the processed by the assembler producing the
object module. The object module is then passed to the
linkage editor which, in turn, stores a load module in
another IMS Library called as IMS.DBDLIB or IMSVS.DBDLIB.
The DBD process is normally preformed only once for a
database. All applications use the DBD in accessing the
information on the database. A new DBD is normally created
only if the physical nature of the database changes.
| Is This Answer Correct ? | 4 Yes | 0 No |
Answer / techy
Sameple Data Base Descriptor Generator :
PRINT NOGEN
DBD NAME=VENDOR,ACCESS=HDAM
DATASET DD1=VEND,DEVICE=3380
SEGM NAME=VENSEG,PARENT=0,BYTES=10
FIELD NAME=(VENCODE,SEQ,U),BYTES=10,START=1,TYPE=C
SEGM NAME=ITEMSEG,PARENT=VENSEG,BYTES=5
FIELD NAME=(ITEMCODE,SEQ,U),BYTES=5,START=1,TYPE=C
SEGM NAME=LOCNSEG,PARENT=ITEMSEG,BYTES=9
FIELD NAME=(LOCNCODE,SEQ),BYTES=3,START=1,TYPE=C
FIELD NAME=ORDDATE,BYTES=6,START=4,TYPE=C
DBDGEN
FINISH
END
| Is This Answer Correct ? | 4 Yes | 1 No |
Answer / deepak
Key field - used to uniquely identify the records in the
segment
| Is This Answer Correct ? | 2 Yes | 10 No |
How to write the PCB code ? if in thic PCB i have 3 PSB ?
I found some good questions/answers regarding IMS here:
What is psb?
What is multi positioning ?
What is a segment?
What is mpp mode?
What is dbd?
What is dl/i?
what is the maximumm length of account information in job card of a jcl?
An application programmer comes to you and says your DB is no good, they got an II status code on an insert call from IMS, is this a DB problem?
What are the advantages of a hierarchical database?
What are the parameters used in CBLTDLI call?