Gunter,
I am needing to have a remote system push over around 300,000 SUIDs and I have a script to uses the 'movescu' tool. It works great, except that I've noticed that the list that I need to work with, the majority SIUDs are at 64 characters and it appears that the 'movescu' tool is cutting off the last two characters making it only 62. The remote push fails because there isn't a study on the remote system with that SUID that is missing the last two characters.
Can you confirm that there is a max number of characters that can be used with the tool 'movescu' when giving the SIUID to be transferred?
I've included the command I used and the output of 'movescu' below.
Thank you!
/opt/dcm4che-5.19.1/bin/./movescu -c STENT...@192.168.1.10:107 -m 0020000D=2.16.840.1.114151.2398413366626966447570028043069213267260140826 --dest cs2FIR
11:21:13,165 INFO - Initiate connection from 0.0.0.0/0.0.0.0:0 to 192.168.1.10:107
11:21:13,172 INFO - Established connection Socket[addr=/192.168.1.10,port=107,localport=59119]
11:21:13,186 DEBUG - /10.10.50.51:59119->/192.168.1.10:107(1): enter state: Sta4 - Awaiting transport connection opening to complete
11:21:13,187 INFO - MOVESCU->STENTOR_QRP(1) << A-ASSOCIATE-RQ
11:21:13,200 DEBUG - A-ASSOCIATE-RQ[
calledAET: STENTOR_QRP
callingAET: MOVESCU
applicationContext: 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
implClassUID: 1.2.40.0.13.1.3
implVersionName: dcm4che-5.19.1
maxPDULength: 16378
maxOpsInvoked/maxOpsPerformed: 0/0
PresentationContext[id: 1
as: 1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
ts: 1.2.840.10008.1.2 - Implicit VR Little Endian
ts: 1.2.840.10008.1.2.1 - Explicit VR Little Endian
ts: 1.2.840.10008.1.2.2 - Explicit VR Big Endian (Retired)
]
]
11:21:13,200 DEBUG - MOVESCU->STENTOR_QRP(1): enter state: Sta5 - Awaiting A-ASSOCIATE-AC or A-ASSOCIATE-RJ PDU
11:21:13,205 INFO - MOVESCU->STENTOR_QRP(1) >> A-ASSOCIATE-AC
11:21:13,205 DEBUG - A-ASSOCIATE-AC[
calledAET: STENTOR_QRP
callingAET: MOVESCU
applicationContext: 1.2.840.10008.3.1.1.1 - DICOM Application Context Name
implClassUID: 1.3.46.670589.42.1.4.4.5
implVersionName: PHISPACS44550
maxPDULength: 64234
maxOpsInvoked/maxOpsPerformed: 1/1
PresentationContext[id: 1
result: 0 - acceptance
ts: 1.2.840.10008.1.2.1 - Explicit VR Little Endian
]
]
11:21:13,205 DEBUG - MOVESCU->STENTOR_QRP(1): enter state: Sta6 - Association established and ready for data transfer
11:21:13,211 INFO - MOVESCU->STENTOR_QRP(1) << 1:C-MOVE-RQ[pcid=1, prior=0
cuid=1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]
11:21:13,237 DEBUG - MOVESCU->STENTOR_QRP(1) << 1:C-MOVE-RQ Command:
(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.2] AffectedSOPClassUID
(0000,0100) US [33] CommandField
(0000,0110) US [1] MessageID
(0000,0600) AE [cs2FIR] MoveDestination
(0000,0700) US [0] Priority
(0000,0800) US [0] CommandDataSetType
11:21:13,239 DEBUG - MOVESCU->STENTOR_QRP(1) << 1:C-MOVE-RQ Dataset:
(0008,0052) CS [STUDY] QueryRetrieveLevel
(0020,000D) UI [2.16.840.1.114151.23984133666269664475700280430692132672601408
11:21:16,392 INFO - MOVESCU->STENTOR_QRP(1) >> 1:C-MOVE-RSP[pcid=1, remaining=0, completed=0, failed=0, warning=0, status=0H
cuid=1.2.840.10008.5.1.4.1.2.2.2 - Study Root Query/Retrieve Information Model - MOVE
tsuid=1.2.840.10008.1.2.1 - Explicit VR Little Endian]
11:21:16,393 DEBUG - MOVESCU->STENTOR_QRP(1) >> 1:C-MOVE-RSP Command:
(0000,0002) UI [1.2.840.10008.5.1.4.1.2.2.2] AffectedSOPClassUID
(0000,0100) US [32801] CommandField
(0000,0120) US [1] MessageIDBeingRespondedTo
(0000,0800) US [257] CommandDataSetType
(0000,0900) US [0] Status
(0000,1020) US [0] NumberOfRemainingSuboperations
(0000,1021) US [0] NumberOfCompletedSuboperations
(0000,1022) US [0] NumberOfFailedSuboperations
(0000,1023) US [0] NumberOfWarningSuboperations
11:21:16,394 INFO - MOVESCU->STENTOR_QRP(1) << A-RELEASE-RQ
11:21:16,395 DEBUG - MOVESCU->STENTOR_QRP(1): enter state: Sta7 - Awaiting A-RELEASE-RP PDU
11:21:16,398 INFO - MOVESCU->STENTOR_QRP(1) >> A-RELEASE-RP
11:21:16,399 INFO - MOVESCU->STENTOR_QRP(1): close Socket[addr=/192.168.1.10,port=107,localport=59119]
11:21:16,399 DEBUG - MOVESCU->STENTOR_QRP(1): enter state: Sta1 - Idle