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

DB2 ERROR with a select query


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivasaras

New User


Joined: 29 Sep 2007
Posts: 93
Location: chenna/i-

PostPosted: Fri Jul 23, 2010 4:06 pm
Reply with quote

hi all,

I ran a job in production which has a select query and the result will store into a ps file.
when i ran the job it gave maxxcc=04

the error i got is
INPUT STATEMENT WAS NOT A FULL SELECT ON A SINGLE TABLE.
LOAD STATEMENT WILL NEED MODIFICATION

kindly let me know it is very urgent

thanks in advance
Siva
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Fri Jul 23, 2010 4:08 pm
Reply with quote

sivasaras wrote:
kindly let me know it is very urgent

It can't be that urgent because you have given insufficient details for anyone to be able to help you.

Anyway, all urgency is YOURS and yours alone.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jul 23, 2010 4:10 pm
Reply with quote

did you bother to check if there was any output?
did you bother to check the documentation for the utility that you used?

did you bother to think about the message that was provided?
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Jul 23, 2010 8:18 pm
Reply with quote

Hello,

How did something so completely untested get into Production . . . icon_sad.gif
Back to top
View user's profile Send private message
sambit_mech

New User


Joined: 14 Jul 2010
Posts: 13
Location: India

PostPosted: Mon Jul 26, 2010 4:32 pm
Reply with quote

The best reply is that of Dick's. icon_rolleyes.gif
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Mon Jul 26, 2010 5:37 pm
Reply with quote

Both of them has their first name as Dick icon_wink.gif.
Back to top
View user's profile Send private message
GaganGarg

Active User


Joined: 31 Mar 2010
Posts: 134
Location: India

PostPosted: Mon Jul 26, 2010 5:42 pm
Reply with quote

Hi sivasaras,

The thing that you are talking about is not an error. That is just a warning that arises in two cases:

1. If the Unload query contains only the selected columns from the table you want to unload. I mean , suppose, if 10 columns are there in a table and you want to unload only 5 columns then system will throw the warning u mentioned.

2. Suppose you want to select all the 10 columns ( suppose your table is having 10 columns) and instead of giving SELECT * from Table, you are using SELECT COL1, COL1,.....COL10 from table even then it will show the warning that you mentioned.

So, The maxcc=4. no need to worry about this warning if you are following any of the above cases. But if you want to LOAD some table after UNLOAD, then LOAD statement generated in SYSPUNCH you need to modify. I hope it is clear.

Thanks
Gagan
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts RC query -Time column CA Products 3
No new posts Dynamically pass table name to a sele... DB2 2
Search our Forums:

Back to Top