| I have had the same problem with one of my customers and found following
solution:
I had to modify 2 files (sm_mas_archive.scp, sm_mas_drawer.scp) and the form
mua$partition.frm. In this form (at least in the German version of ALL-IN-1)
the language-field is too short, I've extended it to 20 chars. so if you try to
move the account to another system be sure to have the modified form there as
well!!
In script sm_mas_archive I've changed following line:
GET #source_default_drawer = filecab:indicator.name["1"]
TO:
! GET #source_default_drawer = filecab:indicator.name["1"]
GET #source_default_drawer = FN$ELEMENT(1,"]",filecab:indicator.name["1"])
In script sm_mas_drawer I've changed following lines:
.LABEL ADD_TO_PART
.TEXT "Add drawer " #new_name " to system partition file..."
WRITE ADD PARTITION UNIQUE_NAME = #new_name, -
ABSTRACT = .ABSTRACT, -
FORMAT = .FORMAT, -
LANGUAGE = .LANGUAGE, -
VERSION = .VERSION, -
DIRECTORY = #new_dir,-
DRAWER_IUID = "",-
OWNER = CLI$NEW_VMSNAME
.IF OA$STATUS NE 1 THEN .GOTO NO_DRAWER
TO:
.LABEL ADD_TO_PART
! .TEXT "Add drawer " #new_name " to system partition file..."
! WRITE ADD PARTITION UNIQUE_NAME = #new_name, -
! ABSTRACT = .ABSTRACT, -
! FORMAT = .FORMAT, -
! LANGUAGE = .LANGUAGE, -
! VERSION = .VERSION, -
! DIRECTORY = #new_dir,-
! DRAWER_IUID = "",-
! OWNER = CLI$NEW_VMSNAME
! .IF OA$STATUS NE 1 THEN .GOTO NO_DRAWER
!
GET #IS_ALREADY_THERE = "0"
.TEXT "Add drawer " #new_name " to system partition file..."
FOR FIRST PARTITION WITH .unique_name EQS #new_name do -
GET #IS_ALREADY_THERE = "1"
.IF #IS_ALREADY_THERE EQS "0"
.THEN
WRITE ADD PARTITION UNIQUE_NAME = #new_name, -
ABSTRACT = .ABSTRACT, -
FORMAT = .FORMAT, -
LANGUAGE = .LANGUAGE, -
VERSION = .VERSION, -
DIRECTORY = #new_dir,-
DRAWER_IUID = "",-
OWNER = CLI$NEW_VMSNAME
.ELSE
WRITE CHANGE PARTITION UNIQUE_NAME = #new_name, -
ABSTRACT = .ABSTRACT, -
FORMAT = .FORMAT, -
LANGUAGE = .LANGUAGE, -
VERSION = .VERSION, -
DIRECTORY = #new_dir,-
DRAWER_IUID = "",-
OWNER = CLI$NEW_VMSNAME
.END_IF
.IF OA$STATUS NE 1 THEN .GOTO NO_DRAWER
I hope this will help you as well!
J�rg
|
| Andy.
The problem is known. I do not think that there is a problem with the
size of the language field in the Partition. The problem lies in the
fact that the language field should be loaded with a language code,
not the user's language as in the Profile.
So, what you need to do, is to translate the language into a language
code, e.g.
<get #LANG_CODE=OA$FOLDERS.CODE[PROFIL.LANGUAGE[oa$user]]
and then write change #LANG_CODE into the Partition.
This is a Transfer User problem, and should be fixed in a possible
future release.
regards
DaveT
|