HP Large Objects System Management Manual
HP Large Objects System Management Manual – 543599.001 
Return value: 
0 = Successful 
112 = Failed – Buddy Group not found 
131 = Failed – Volume/subvolume don’t exist 
132 = Failed – Buddy Set is opened and/or active 
100 = System error (call GetSystemErrorString) 
pBuddyGroupName: 
A 5 character alphanumeric name with no embedded spaces, for example: 
GRP01 or B01. 
pBuddyVolume: 
An 8 character volume name (including “$”) to identify the BuddySet for 
deletion. 
pBuddySubvolume: 
An 8 character subvolume name to identify the BuddySet for deletion. 
pCallerTransAborted: 
indicates whether the caller’s TMF transaction has been aborted 
0 = not aborted 
1 = aborted 
3.3.5 CreateBuddySpace 
Creates an individual BuddySpace based on the current existing parameters for the 
Buddy Group. The buddy space file extents are fully allocated and the FSM is 
initialized to all zeroes, so this can take some time for large spaces. 
short CreateBuddySpace  (const char *pBuddyGroupName // 
input 
 , const char *pBuddyVolume // input 
 , const char *pBuddySubvolume // 
input 
 , short BuddyPower // input 
 , short *pCallerTransAborted  // 
output 
 ); 
Return value: 
0 = Successful 
112 = Failed – Buddy Group not found 
130 = Failed – Insufficient Disk space available to create FSM/Buddy Space 
files 
131 = Failed – Volume/Subvolume doesn’t exist 
133 = Failed – Power/sequence number not found 
134 = Failed – Number of FSMs and Buddy Spaces exceeds the limit on 
opens 
100 = System error (call GetSystemErrorString) 
pBuddyGroupName: 
A 5 character alphanumeric name with no embedded spaces, for example: 
GRP01 or B01. 
pBuddyVolume: 
An 8 character volume name (including “$”) of an existing Buddy Set. 
Page 17 of 37 










