HELP: IBM z/OS Cloud Data Access object store (store.ibmcda(), z/OS only) TYPE: OBJECT SYNTAX: IBMCDA(PROVIDER='str',BUCKET/CONTAINER='str',PREFIX='str',ALTCRED,DATBUF=num,MBRBUF=num,DIRBUF=num,OVERWRITE)
Use the IBM z/OS Cloud Data Access (CDA) object store for archive write.
The archive is stored as a set of objects in the given bucket, reached through the DFSMSdfp Cloud Data Access component of z/OS rather than by FLAM's own cloud transport. A new version is appended on each write unless OVERWRITE is set, which deletes the existing archive before writing.
This store is available on z/OS only, on MVS as well as on z/OS UNIX.
What makes it different from STORE.S3 and STORE.AZURE is where the connection is described. CDA keeps the endpoint and the credentials out of the application on purpose: the system programmer defines a provider file, and a program names only that provider. So this object has no ENDPOINT, no REGION, no ACCESSKEY and no SECRETKEY -- those live in the provider file, and the credentials live in the caller's encrypted CDA credential store. Passing one of them here is an error rather than a value that is silently ignored, so that a wrong expectation is visible at once.
PROVIDER names a provider file, which is the file named after it, with a .json suffix, in the user's ~/gdk/providers/ directory, or in /usr/lpp/dfsms/gdk/providers/ when the user has none. The name is limited to 20 characters and is case sensitive. BUCKET names the bucket or container inside that provider, and PREFIX is an object key prefix within it, exactly as for the other object stores.
ALTCRED asks for the alternate credential pair that CDA can hold for a provider next to the primary one. It is refused at present rather than ignored: the authorization panel can store such a pair, but the level of Cloud Data Access on z/OS 3.1 offers no documented way to select it on a request, and quietly using the primary pair instead would be worse than saying so. The keyword stays because the concept is CDA's own and the selection is expected to arrive with a later level.
DATBUF, MBRBUF and DIRBUF control the write buffer sizes for data segments, member segments and the directory segment. Larger buffers reduce the number of write calls at the cost of memory. They behave as they do for the other object stores.
Prerequisites, which are stricter than for the native route: the running user needs an OMVS segment with a home directory, a ~/gdk/ directory with its provider and credential files, ICSF with the CSFKEYS and CSFSERV profiles that CDA requires, and credentials stored for the provider. A missing credential is reported with the provider it was looked up for.
Speed is not what this store is for. Cloud Data Access sits on the same z/OS Client Web Enablement Toolkit as the native cloud stores, so the HTTP/1.1 limitation applies here too. Where the installed level offers GDKINIT and GDKTERM the store holds one session per open, which saves a provider file read, a key file read and a handshake on every object; a level without them answers X'F02' and every operation stands on its own, as before. FL_CDA_SESSION=OFF asks for the standalone form on any level. On MVS the operation goes through the same helper in a second address space; on z/OS UNIX it runs in process in both addressing modes. What this store is for is that the endpoint and the credentials never appear in a FLAM command. The STORE section "Storage Backends and How FLAM Reaches Them" compares the routes.
STRING: PROVIDER='str' - CDA provider name, basename of its json file [required; max 20 chars, case sensitive; env: FL_CDA_PROVIDER]STRING: BUCKET/CONTAINER='str' - Bucket or container name inside the provider [required; env: FL_CDA_BUCKET]STRING: PREFIX='str' - Object key prefix within the bucket [default: none; env: FL_CDA_PREFIX]SWITCH: ALTCRED - Use the alternate credential pair CDA holds for this provider [FALSE; refused at present, see the manual]NUMBER: DATBUF=num - Buffer for data segments [4 MiB]NUMBER: MBRBUF=num - Buffer for member segments [1 MiB]NUMBER: DIRBUF=num - Buffer for the directory segment [1 - no buffering (segment=object)]SWITCH: OVERWRITE - Overwrite an existing archive [FALSE (append)]