Thanks you very much that one worked.

The reason why I'm asking this is because I'm using the below code to connect & download files from AWS and it works fine but after using it say 100 times it stops and can not create the client, and if I stop & start Java Server it start working again not sure why !?

   set file="/Persistent/US-SERENITY/AWSCredentials"
   set endpoint="https://s3.amazonaws.com
   tStatus=""
   output=""
   res=##CLASS(%Net.Cloud.Storage.Client).CreateClient(,0,file,"us-east-1",.tStatus,endpoint)
    list=res.ListBuckets()
   set list=res.ListBlobs("vibjson")
        if (res.BlobExists("vibjson",JobId_".json.gz"))
        {
   res.DownloadBlobToFile("vibjson",JobId_".json.gz","/Persistent/S3DOWNLOADS/"_JobId_".json.gz")
   output="/Persistent/S3DOWNLOADS/"_JobId_".json.gz"
        }
        
       res.Close()
   output  

Yep I know that but that doesn't help in my case, because I need the most specific in a separate database and as i mentioned I have more that 100 classes (globals) so yes I can map and specify my Global.pkg.MyClassGlobal in the new database but I already mapped Global.pkg* in the old because I have many classes in  Global.pkg and I don't want to map one by one in my pkg and exclude Global.pkg.MyClassGlobal ?
So I guess I'll have to go pkg then classes that starts with eg. A, B ...etc (eg. Global.pkg.M*) in the pkg, exclude Global.pkg.MyClassGlobal and map it by itself in the new DB instead.
All good thanks Chris