Call Stored procedure return code 0 & 466



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

Call Stored procedure return code 0 & 466

Postby pulsar22 » Wed Oct 09, 2013 7:55 pm

Hi,

What is the difference between return codes 0 & 466 of a Stored Procedure statement?
Is RC=0 also fine?
I have one program which calls a SP, In the morning when i executed this pgm, SP return code was 466 and after some hours same PGM and SP, the return code was 0.
Help/ Guidance required.
pulsar22
 
Posts: 34
Joined: Mon Sep 09, 2013 12:39 pm
Has thanked: 14 times
Been thanked: 0 time

Re: Call Stored procedure return code 0 & 466

Postby Akatsukami » Wed Oct 09, 2013 8:06 pm

Assuming the return code to be the SQLCODE, there is no difference.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day

These users thanked the author Akatsukami for the post:
pulsar22 (Wed Oct 16, 2013 12:46 pm)
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post