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
 

 

MAX() in BMCUNLD giving me error

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging
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    Post subject: MAX() in BMCUNLD giving me error
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

Site Director


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

PostPosted: Mon Sep 17, 2007 8:32 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> ABENDS & Debugging All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDC2902I Error tzeche ABENDS & Debugging 2 Tue Mar 28, 2017 11:39 am
No new posts Need help with below DB2 error ashek15 DB2 3 Sat Mar 18, 2017 5:56 am
No new posts FINDREP Syntax Error seahawk789 DFSORT/ICETOOL 4 Thu Mar 09, 2017 10:11 pm
No new posts INVOKE WEBSERVICE error danik56 CICS 11 Thu Mar 09, 2017 11:52 am
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am


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