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

MAX() in BMCUNLD giving me error


IBM Mainframe Forums -> ABENDS & Debugging
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
aravindunlimited

New User


Joined: 08 May 2006
Posts: 16

PostPosted: Mon Sep 17, 2007 6:50 pm
Reply with quote

I am trying to unload a data using the BMC unload utility. The SQL in the DB2DATA card has a SELECT MAX(COLUMN_1). This worked fine when I ran it in a SPUFI. But it is giving me error when run through the BMC unload.

DB2DATA is

UNLOAD SHRLEVEL CHANGE DIRECT YES
SELECT
COL_ONE
,MAX(COL_TWO)
FROM SAMPLE_TABLE
GROUP BY COL_ONE;

Please note that this SQL worked when I tried it in SPUFI
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: Mon Sep 17, 2007 8:32 pm
Reply with quote

Hello,

You need to post the diagnostic information that you see. We cannot do much if you do not provide the info. Also, please post the table definition.

When you post the info, someone here will probably be able to help.
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 -> ABENDS & Debugging

 


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 Error while running web tool kit REXX... CLIST & REXX 5
No new posts Getting Error while trying to establi... DB2 3
Search our Forums:

Back to Top