Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Return code is non zero when calling DFHXCIS from batch pgm

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
chennareddy

New User


Joined: 22 Dec 2005
Posts: 11

PostPosted: Wed Apr 28, 2010 10:40 pm    Post subject: Return code is non zero when calling DFHXCIS from batch pgm
Reply with quote

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
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Wed Apr 28, 2010 10:43 pm    Post subject:
Reply with quote

Why did you post this in the DFSORT Forum? What does this have to do with DFSORT?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Wed Apr 28, 2010 11:06 pm    Post subject: Reply to: Return code is non zero when calling DFHXCIS from
Reply with quote

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! icon_cool.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Apr 28, 2010 11:19 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Job failing with USER = 4093 REASON C... Pradeepa S ABENDS & Debugging 1 Wed May 17, 2017 3:35 pm
No new posts COBOL Code Parsers and Lineage Establ... balimanja COBOL Programming 2 Tue May 02, 2017 3:30 am
No new posts Cobol upgrade - source code missing f... gthmrj IBM Tools 1 Wed Apr 26, 2017 6:04 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts HLIST Utility In Batch Virendra Shambharkar TSO/ISPF 4 Fri Apr 07, 2017 3:38 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us