|
View previous topic :: View next topic
|
| Author |
Message |
chennareddy
New User
Joined: 22 Dec 2005 Posts: 11
|
|
|
|
Hi,
I am issuing a DFHXCIS command froma batch program.
The response from the message is zero but the return code of the program is being set to non zero.
Have checked various links but could not undersatnd the reson for this.
I am aware of the solution that zero should be explicitly moved to return code after checking for various codes, but wanted to undesrtand the
reason for this behaviour.
Could anyone please explain |
|
| Back to top |
|
 |
Frank Yaeger
DFSORT Developer

Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
| Why did you post this in the DFSORT Forum? What does this have to do with DFSORT? |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| Quote: |
I am aware of the solution that zero should be explicitly moved to return code after checking for various codes, but wanted to undesrtand the
reason for this behaviour.
|
the topic has been moved to other ... topics because the environment has no relevance to the issue
the reason for this behavior is within the program , since we know exactly nothing ...
we cannot give any suggestion
ask Yourself... we hope that the answer You will give be the right one!  |
|
| Back to top |
|
 |
dick scherrer
Moderator Emeritus

Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
| Quote: |
| . . .but the return code of the program is being set to non zero. |
Time to look at the code. . .
| Quote: |
| Have checked various links but could not undersatnd the reson for this. |
What links? The answer/reason is in the code that issues the non-zero return code.
| Quote: |
I am aware of the solution that zero should be explicitly moved to return code after checking for various codes, but wanted to undesrtand the reason for this behaviour.
Could anyone please explain |
The code does not ensure a zero return-code. . .
Unless there is info that has not been posted, the explanation/reason is in the code. Suggest the simple experiment of specifically moving zero . . . |
|
| Back to top |
|
 |
|
|