I wrote a little tool which allows me to encapsulate a source file in a Dicom file, using RawDataStorage SOPCLASSUID and private tags.
13:56:40,969 INFO - DCM4CHEE-1 >> 1:C-STORE-RSP[pcid=5, status=110H, errorComment=rPos:284 (2001,1003) OB #129207688, value length [129207688] exc
cuid=1.2.840.10008.5.1.4.1.1.66 - Raw Data Storage
iuid=20150123135559.1.1 - ?
tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian
13:56:40,970 DEBUG - Command:
(0000,0002) UI [1.2.840.10008.5.1.4.1.1.66] AffectedSOPClassUID
(0000,0100) US [32769] CommandField
(0000,0120) US [1] MessageIDBeingRespondedTo
(0000,0800) US [257] CommandDataSetType
(0000,0900) US [272] Status
(0000,0902) LO [rPos:284 (2001,1003) OB #129207688, value length [129207688] e(0000,1000) UI [20150123135559.1.1] AffectedSOPInstanceUID
E"ERROR: Received C-STORE-RSP with Status 0110H for out.dcm"
(0000,0002) UI [1.2.840.10008.5.1.4.1.1.66] AffectedSOPClassUID
(0000,0100) US [32769] CommandField
(0000,0120) US [1] MessageIDBeingRespondedTo
(0000,0800) US [257] CommandDataSetType
(0000,0900) US [272] Status
(0000,0902) LO [rPos:284 (2001,1003) OB #129207688, value length [129207688] e(0
000,1000) UI [20150123135559.1.1] AffectedSOPInstanceUID
13:56:51,883 INFO - DCM4CHEE-1 << A-RELEASE-RQ
13:56:51,884 DEBUG - DCM4CHEE-1: enter state: Sta7 - Awaiting A-RELEASE-RP PDU
13:56:51,907 INFO - DCM4CHEE-1 >> A-RELEASE-RP
....