CIM Interface > Deleting Records through CIM > Example of CIM Delete
  
Example of CIM Delete
The first CIM input file creates a GL sub-account. The next two input files use the delete functionality first to delete one sub-account line then to delete the entire sub-account record.
Add or modify a GL sub-account record with three lines.
@@BATCHLOAD glsbmt.p
sbtest
“test sub-account”-
1
1040 1041
2
1050 1051
3
1060 1061
@@END
Delete the second sub-account line. The detail-record key frame for the second line ends with x, followed by a blank line, and yes confirming the deletion.
@@BATCHLOAD glsbmt.p
sbtest
--
2 x
-
yes
@@END
Delete the entire GL sub-account record with all of its lines. The header-record key frame ends with x, there is a subsequent blank line, and yes to confirm the deletion.
@@BATCHLOAD glsbmt.p
sbtest x
-
yes
@@END