MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Unloading using D2IBMCUP

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
meghna
Beginner


Joined: 24 Jul 2003
Posts: 4
Topics: 3

PostPosted: Thu Oct 09, 2003 11:37 pm    Post subject: Unloading using D2IBMCUP Reply with quote

Hi,

I want to unload only 1 column from a table.
I am trying to use D2IBMCUP.
I give the query in a file.

The query is :
UNLOAD SHRLEVEL CHANGE
SELECT Col1
FROM Tab1
(This runs fine)

But I want only unique values , so I tried using this query:
UNLOAD SHRLEVEL CHANGE
SELECT DISTINCT Col1
FROM Tab1
For this it abends.
It abends and in my joblog I see:
BMC50102I UNLOAD SHRLEVEL CHANGE
BMC50102I SELECT DISTINCT SE_NO
@
BMC50104E UNEXPECTED TOKEN 'SE_NO' ENCOUNTERED IN COMMAND
BMC50013I UTILITY EXECUTION TERMINATING, RETURN CODE = 8

Can any one of you assist?

Thanks!
Back to top
View user's profile Send private message Send e-mail
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Fri Oct 10, 2003 5:51 am    Post subject: Reply with quote

meghna,

Is column SE_NO in the table you are trying to unload? check if it is misspelled.

Kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
meghna
Beginner


Joined: 24 Jul 2003
Posts: 4
Topics: 3

PostPosted: Mon Oct 13, 2003 12:07 am    Post subject: Reply with quote

Kolusu

I have checked the column spelling. It is correct.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group