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]

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 %ProgramFiles(x86)%\Micro Focus\Enterprise Developer\etc\cas .

/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
/ue:{exit-name} Name of user exit
/ur URI map
/tc TCPIP service
/ws Web service
/pl Pipeline
/dt Doctemplate
/tl Transaction class

Dependencies:

Run casrdtex from an Enterprise Developer command prompt to ensure that all of the necessary paths are available.

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:\dev mto\files"

The above command exports the PPT and PCT entries for the groups group1 and group3, from the dfhdrdat file in "e:\dev mto\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.