casrdtex

Exports CICS resources to a Resource Definition Table (.rdt) file.

Syntax:

casrdtex /ofile-name [/a] [/e] [/ipresource-file-path] [/uuserid] [/ppassword] [/q] [/v]
 [/s[sit1[,sit2]...]] [/l[list1[list2]...]]
 [/n[snt1[,snt2]...]] [/g[grp1[,grp2]...]] 
 [/m] [/x] [/f] [/t] [/y] [/d] [/j] [/i] [/z] [/c] [/b] [/ue:{exit-name}] [/ur] [/tc] [/ws] [/pl] [/dt] [/tl] [/xm]

Parameters:

/ofile-name The RDT file to export to. This parameter is mandatory.
/a Append to an existing file
/e Include non-IBM-compatible entries (Micro Focus extensions to the format, which all begin with an underscore)
/ipresource-file-path The directory containing the CICS resource definition file, dfhdrdat, from which to export.

This defaults to , but could be another path on disk, or a database path (for example, sql://my-db/my-datastore?folder=/myrd - see The Datastore URL for details of the full SQL notation required).

/uuserid User ID
/ppassword Password
/q Run in quiet mode
/v Run in verbose mode
/s[sit1[,sit2]...] Include the specified SITs in the export. If you specify just the switch, all are exported.
/l[list1[list2]...] Include the specified startup lists (GRPLIST) in the export. If you specify just the switch, all are exported.

Up to 4 startup lists are supported with the new GRPLIST parameter on the SIT. GRPLIST is the same parameter as on the mainframe GRPLIST specified in the JCL to startup CICS. See IBM documentation for more information on GRPLIST.

/n[snt1[,snt2]...] Include the specified sign-on entries in the export. If you specify just the switch, all are exported.
/g[grp1[,grp2]...] Include the specified groups in the export. If you specify just the switch, all are exported.

The remaining parameters select which table entries for the selected group(s) are to be included:

/m Processing program table (PPT)
/x Program control table (PCT)
/f File control table (FCT)
/t Terminal (TRM)
/y Terminal type (TTY)
/d TD queue (TDQ)
/i Program list (PLT)
/j Journal (JCT)
/z Temporary storage (TST)
/c Connection
/b X/Open DB compatibility
/ue:{exit-name} Name of user exit
/ur URI map
/tc TCPIP service
/ws Web service
/pl Pipeline
/dt Doctemplate
/tl Transaction class
/xm Export resources and generate output in XML format

Dependencies:

You must make sure the directory $COBDIR/bin containing the command is on your PATH.

Example:

or

casrdtex /oresfile.rdt /ggroup1,group3 /m /x /ip/devmto/files

or

casrdtex /oresfile.rdt /ggroup1,group3 /m /x /ipsql://localhost/CAS?folder=/FILES

The above command exports the PPT and PCT entries for the groups group1 and group3, from the dfhdrdat file on disk (/devmto/files), or in the datastore (sql://localhost/CAS?folder=/FILES), to the file resfile.rdt.

or

casrdtex /oresfile.rdt /s /g /f /ip/devmto/files

or

casrdtex /oresfile.rdt /s /g /f /ipsql://localhost/CAS?folder=FILES

The above commands export all SITs, and the FCT entries for all groups, to the file resfile.rdt.