Project

General

Profile

Actions

Feature #652

closed

MoveSCU should return a non-zero return code at application exit when a C-MOVE transaction was not successful

Added by Marco Eichelberg about 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Application
Target version:
Start date:
2015-07-27
Due date:
% Done:

0%

Estimated time:
Module:
dcmnet
Operating System:
Compiler:

Description

Currently MoveSCU only returns a non-zero return code at the application exit when an error within the application has occured (e.g. out of memory, wrong command line argument or something similar). A C-MOVE transaction with a non-zero status code (i.e. where the retrieve operation was not, or not fully successful) does not lead to a non-zero return code. That makes it more complicated to use MoveSCU in scripts, because the script needs to run the tool in verbose mode and parse the output to detect the DIMSE code. It would be desirable to end movescu with a non-zero return code whenever the C-MOVE transaction has a non-zero status code.


Related issues 1 (1 open0 closed)

Related to DCMTK - Feature #219: Rückgabewerte von Kommandozeilenprogrammen vereinheitlichenNew

Actions
Actions #1

Updated by Marco Eichelberg almost 9 years ago

  • Assignee set to Marco Eichelberg
Actions #2

Updated by Marco Eichelberg almost 9 years ago

  • Status changed from New to Closed

Fixed by commit c720209.

Actions

Also available in: Atom PDF