IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

[Solved]What is the PIC clause for sqlcode


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
surya

New User


Joined: 19 Feb 2005
Posts: 13

PostPosted: Wed Jul 27, 2005 10:54 pm
Reply with quote

HI,
what is the PIC clause for sqlcode.
Back to top
View user's profile Send private message
chayanath

New User


Joined: 07 Mar 2005
Posts: 6
Location: vijayawda

PostPosted: Thu Jul 28, 2005 12:18 am
Reply with quote

hello there
picture class of sqlcode is s9(9)comp
Back to top
View user's profile Send private message
Prasanthhere

Active User


Joined: 03 Aug 2005
Posts: 306

PostPosted: Wed Aug 03, 2005 3:51 pm
Reply with quote

SQLCODE PIC S9(9) COMP.
Back to top
View user's profile Send private message
honeypria567

New User


Joined: 20 Nov 2006
Posts: 14
Location: chennai

PostPosted: Mon Jan 08, 2007 5:36 pm
Reply with quote

hi,

SQLCODE PIC S9(9) COMP.
Back to top
View user's profile Send private message
prav_06
Warnings : 1

Active User


Joined: 13 Dec 2005
Posts: 154
Location: The Netherlands

PostPosted: Tue Jan 09, 2007 1:21 pm
Reply with quote

Hi Please find the Pic for the SQL code

05 SQLCODE PIC S9(9) COMP-4.


Regards
Thamilzan.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Tue Jan 09, 2007 10:09 pm
Reply with quote

Look here in the manual for a complete information on the fields definition under SQL Comm Area for different languages.

for COBOL it is SQLCODE PIC S9(9) COMP-4.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts To search DB2 table based on Conditio... DB2 1
No new posts SQLCODE = -122 while using the scalar... DB2 4
No new posts SQLCODE = -16002 when using XMLEXISTS DB2 1
No new posts NOT IN clause in COBOL pgm COBOL Programming 8
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
Search our Forums:

Back to Top