yes this is the full command, this is a 100% unix command:
dd
http://linux.die.net/man/1/ddWhat does it do? This is a "Data Description" command, where you can, for example, "extract" portion of the file.
let's break it part after part of the full command line
dd if=XXXXFAAA_decom.out of=XXXXFAAA_decom_XXXXXX.out skip=(DOC_OFF) count=(DOC_LENGTH) bs=1
dd
this is the unix command
if=XXXXFAAA_decom.out
"if" is the Input File, so it means that the input file is called XXXXFAAA_decom.out
of=XXXXFAAA_decom_XXXXXX.out
"of" is the Output File, so it means that the output file is called XXXXFAAA_decom_XXXXXXX.out
bs=1
"bs" is the Block Size, so it means that the size of the block that dd will read or write is 1 byte
skip=(DOC_OFF)
"skip" is used to skip (DOC_OFF) bs from the beginning of the file, in our case, since bs=1, then we will skip (DOC_OFF) bytes, giving us exactly what we want, going to the offset (DOC_OFF).
count=(DOC_LENGTH)
"count" is used to read the (DOC_LENGTH) "bs" from the current location in the file. So it means, since bs=1, we will read (DOC_LENGTH) bytes, and we will write them in the "of" file.
so an example, let say that you document is define in CMOD like that:
DOC_NAME=1FAAA
DOC_OFF=123
DOC_LEN=23
COMP_OFF=0
COMP_LEN=103908
Then you will need to do the following:
arsadmin retrieve -h XXXXX -u XXXXXX -p XXXXX -m2 -n 30-0 -g "XXXXXXX" -d "XXXXXXX" 1FAAA
arsadmin decompress -c O -s 1FAAA -o 1FAAA_decom.out -b 0 -l 103908
dd if=1FAAA_decom.out of=1FAAA_decom_01.out skip=123 count=23 bs=1