View previous topic :: View next topic |
Author |
Message |
b_zaveri Beginner
Joined: 29 Jan 2007 Posts: 1 Topics: 1
|
Posted: Tue Jan 30, 2007 3:43 am Post subject: Query on PCB Mask |
|
|
Hi All
Please help with a basic query relating to PCB Mask.
The query goes like this:
My DB consists of 3 segments -- Vendor, Item and Location (Vendor being the root)
I have a PSB in which I have 2 PCBs -- each having reference to all 3 segments in the DB -- one of the PCBs has the PROCOPT defined as for only READING the DB while the other one has for Inserting the DB.
Now, in the Application program, I only want to Read the DB. In this case, while defining the PCB Masks (in the Linkage Section), Do I need to define 2 PCB masks - one according to each of the PCBs in the PSB or defining a single PCB mask corresponding to the PCB with the Read option will be enough? |
|
Back to top |
|
 |
hareshh Beginner
Joined: 13 Dec 2006 Posts: 16 Topics: 0
|
|
Back to top |
|
 |
rajatbagga Beginner
Joined: 30 Mar 2007 Posts: 5 Topics: 2
|
Posted: Tue Apr 10, 2007 5:23 pm Post subject: |
|
|
you will have to define all the PCB masks in your linkage section.....
And these PCB masks will be defined in the same order as defined in your PSB.
This is because IMS-DB is a herarcial database you will have to define its herarcy by defining the PCB masks in your linkage section. This is conventional even if you are using only root segment of the database you should define the PCB masks of the child segments. |
|
Back to top |
|
 |
Sreejith Intermediate
Joined: 02 Dec 2002 Posts: 155 Topics: 25 Location: N.Ireland
|
Posted: Wed Apr 11, 2007 3:06 am Post subject: |
|
|
If the read only is the first one in the PSB then I don't think it is mandatory to define the other 2 in linkage provided you don't have any other items in linkage.
However it is recommended to define all in the linkage for clarity.
Sreejith |
|
Back to top |
|
 |
|
|