MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Query on PCB Mask

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS
View previous topic :: View next topic  
Author Message
b_zaveri
Beginner


Joined: 29 Jan 2007
Posts: 1
Topics: 1

PostPosted: Tue Jan 30, 2007 3:43 am    Post subject: Query on PCB Mask Reply with quote

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
View user's profile Send private message
hareshh
Beginner


Joined: 13 Dec 2006
Posts: 16
Topics: 0

PostPosted: Tue Jan 30, 2007 4:21 am    Post subject: Reply with quote

Hi b_zaveri,

Please check link

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dfsp30f3/1.2.4.4?SHELF=&DT=20020906093406

Probably it is the simillar example that you are trying. Mr. Green

Regards,
Haresh.
Back to top
View user's profile Send private message
rajatbagga
Beginner


Joined: 30 Mar 2007
Posts: 5
Topics: 2

PostPosted: Tue Apr 10, 2007 5:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sreejith
Intermediate


Joined: 02 Dec 2002
Posts: 155
Topics: 25
Location: N.Ireland

PostPosted: Wed Apr 11, 2007 3:06 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> IMS All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group