|
View previous topic :: View next topic
|
| Author |
Message |
fawzy47 Currently Banned New User
Joined: 22 Oct 2005 Posts: 42
|
|
|
|
How can you check weather sort is successful or not in COBOL
tHANKS |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Check the SORT-RETURN special register. For example:
| Code: |
IF SORT-RETURN > 0
DISPLAY "SORT FAILED".
|
|
|
| Back to top |
|
 |
fawzy47 Currently Banned New User
Joined: 22 Oct 2005 Posts: 42
|
|
|
|
Thank you
That was helpful |
|
| Back to top |
|
 |
|
|