Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 ERROR - NO ESD ENTRIES, EXECUTION IMP... Ashishpanpaliya COBOL Programming 6 Thu Jun 21, 2018 8:57 pm
No new posts BAMAD file IO Error m1985nehal CICS 1 Fri May 25, 2018 11:51 am
No new posts DB2 Sql Error code -204 rohit_naidu DB2 5 Fri May 18, 2018 4:40 pm
No new posts Trap the jcl error message or maxcc i... ankita agarwal CLIST & REXX 5 Fri May 18, 2018 2:08 pm
No new posts Getting an error from EZASOKET while ... vaibhav gs COBOL Programming 5 Thu May 17, 2018 9:21 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us