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]
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 install-dir\base\files\sys, which contains the dfhdrdat file supplied with the product.

/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.
/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
Dependencies:

You must make sure the directory base\bin containing the command is on your PATH. You can do this most easily by running it in the Net Express command prompt.

Comments:

If a path or filename contains spaces, it should be enclosed in quotation marks. For example, "e:\dev mto\files".

Example:
casrdtex /oresfile.rdt /ggroup1,group3 /m /x /ip"e:\devmto\files"

The above command exports the PPT and PCT entries for the groups group1 and group3, from the dfhdrdat file in "e:\devmto\files", to the file resfile.rdt.

casrdtex /oresfile.rdt /s /g /f /ip"e:\devmto\files"

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