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]
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 |
Run casrdtex from an Enterprise Developer command prompt to ensure that all of the necessary paths are available (Windows). You must make sure the directory $COBDIR/bin containing the command is on your PATH (UNIX).
casrdtex /oresfile.rdt /ggroup1,group3 /m /x /ip"e:\dev mto\files"
casrdtex /oresfile.rdt /ggroup1,group3 /m /x /ip/devmto/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" (Windows) or /devmto/files (UNIX), to the file resfile.rdt.
casrdtex /oresfile.rdt /s /g /f /ip"e:\devmto\files"
casrdtex /oresfile.rdt /s /g /f /ip/devmto/files
The above command exports all SITs, and the FCT entries for all groups, to the file resfile.rdt.
Comments:
If a path or filename contains spaces, it should be enclosed in quotation marks. For example, "e:\dev mto\files" (applies to Windows environments only).