Bi-Directional - Physical Pairing

Download as rtf, pdf, or txt
Download as rtf, pdf, or txt
You are on page 1of 1

Bi-Directional – Physical Pairing

*========DBA1069.DBD.SOURCE(CU2PDB00)================================ 00001000
PRINT NOGEN 00010000
DBD NAME=CU2PDB00,ACCESS=(HDAM,VSAM), X00020000
RMNAME=(DFSHDC40,8,7,700) 00030000
CUSTDB DATASET DD1=CUSTDB,DEVICE=3390,SIZE=6144,SCAN=0 00040000
*==================================================================== 00050000
* CREATES A PHYSICAL DBD FOR THE CUSTOMER DB 00060000
* (BIDIRECTIONAL LOGICAL RELATIONSHIP - VIRTUAL PAIRING) 00070000
*==================================================================== 00080000
SEGM NAME=CUSTOMER,PARENT=(0),BYTES=100 00090000
FIELD NAME=(CUSTNO,SEQ,U),BYTES=05,START=00001 00100000
FIELD NAME=NAME,BYTES=030,START=00006 00110000
*==================================================================== 00120000
* EMPLOYEE HAS A BI-IDIRECTIONAL RELATIONSHIP WITH STUDENT IN 00130000
* THE ED1PDB00 DB 00140000
*==================================================================== 00280000
SEGM NAME=EMPLOYEE,PARENT=CUSTOMER,BYTES=40,PTR=TB 00290000
FIELD NAME=(EMPNO,SEQ,U),BYTES=5,START=00001 00302000
FIELD NAME=FSTNAME,BYTES=12,START=6 00303000
FIELD NAME=LASTNAME,BYTES=20,START=18 00304000
*==================================================================== 00310000
*==================================================================== 00311000
* EMPLOYEE HAS A BIDIRECTIONAL RELATIONSHIP WITH STUDENT IN 00312000
* THE ED2PDB00 DB - PHYSICAL PAIRING 00313000
*==================================================================== 00314000
SEGM NAME=ENROLMNT,PTR=(LP,T,LT),BYTES=40, C00315000
PARENT=((EMPLOYEE),(OFFERING,V,ED2PDB00)) 00315100
* FIELD NAME=DATESUFF,BYTES=7,START=00005 00317000
* FIELD NAME=ENROLDAT,BYTES=6,START=14 00318000
*==================================================================== 00319100
*==================================================================== 00320000
SEGM NAME=ADDRESS,PARENT=CUSTOMER,BYTES=50,RULES=(,HERE) 00330000
*==================================================================== 00350000
DBDGEN 00390000
FINISH 00400000
END 00410000

You might also like