Mainframe Storage

 View Only

 Help with CDA Provider file

Andrew Humphries's profile image
Andrew Humphries posted 06/05/26 10:57 AM

we are trying to setup CDA using a Provider file between a local DS8K and TS7700. 

CDA is working using ISMF Network Connection, but we would like to move to a Provider file.

So far every attempt to set the cloud to use a Provider file has failed.

ARC1596I SETSYS CLOUD FAILED FOR CLOUD SPCLOUD, RETURN CODE=0004
ARC0100I SETSYS COMMAND COMPLETED - CLOUD(NAME(SPCLO...         

INFO:  hwtjsrch FAILED : 
INFO: Return Code: 0x604 
INFO: Reason Code: 0x0   
INFO: Reason Desc:       

I have verified that HSM can see and access the provider file, but it still returns the above error and wont use it. 

Can anyone share a working provider file for a local TCT cloud setup? I am unsure if I am missing a required parameter, or something is just not in the correct place. I am used to JCL, I have never had to write json before. 

Robert Gensler's profile image
Robert Gensler

Hi Andrew,

Here is what I use for my TCT testing internally.  Make sure the host emulator code page is set to IBM-1047 because the square brackets in other code pages are not recognized by JSON parser.

{
  "host": {
    "preferred": [
      "host1"],
    "backup": [
      "host2"]
  },                         
  "sslKey": "*AUTH*/*", 
  "port": "8452", 
  "sslVersion": "TLSV13",
  "tctType": "TAPE-OBJECT",
  "tctIdentity": "hmc_username"
}

Andrew Humphries's profile image
Andrew Humphries

Thank you Robert.

I tried using your provided json, but I still can't get it to use it. There must be another issue with our setup on configuration. 

I am using the below file:

{                                                    
  "host": {                                          
    "preferred": [                                   
      "https://xsp-rars2-gcc-paf10-hmc1.***.com"],
    "backup": [                                      
      "https://xsp-rbrs1-scc-paa80-hmc1.***.com"] 
  },                                                 
  "sslKey": "*AUTH*/*",                              
  "port": "8452",                                    
  "sslVersion": "TLSV13",                            
  "tctType": "TAPE-OBJECT",                          
  "tctIdentity": "****Username****"                    
}                                                    

When I run: SETSYS CLOUD(NAME(SPCLOUD) CDAPROVIDER) it reads the file, as I get this output:

DEBUG: providerDir: /u/pb8hsmp/gdk/providers                                    
DEBUG: getProviderDirectory: Exit                                               
INFO: Using provider file </u/pb8hsmp/gdk/providers/SPCLOUD.json>               
DEBUG: get_provider_parser: Exit                                                
DEBUG: preferred 'host' address: 1, <https://xsp-rars2-gcc-paf10-hmc1.***.com
DEBUG: backup 'host' address: 1, <https://xsp-rbrs1-scc-paa80-hmc1.***.com>  
INFO:  hwtjsrch FAILED :                                                        
INFO: Return Code: 0x604                                                        
INFO: Reason Code: 0x0                                                          
INFO: Reason Desc:                                                              
DEBUG: gdkVald: Exit                                                            
DEBUG: GDKAPIR: Exit RC:0                                                       

Checking HSM output with the debug on, it is still using the ISMF Network Connection info during a migrate/recall (different Host being used):

t: Accept-Language: en-US                         
t: X-Storage-Protocol: [redacted]                 
t: X-Storage-Cloud-Name: [redacted]               
t: X-Auth-Token: [redacted]                       
t: Host: xsp-rars1-gcc-paf30-hmc1.***.com:8452 
t: * * * * * END HTTP REQUEST HEADERS * * * * *   
t: translate (325)                                

Is there a setting or option to force it to use the Provider file, instead of the Network Connection from ISMF?