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

Can I unload data from a VIEW


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mkk157

Active User


Joined: 17 May 2006
Posts: 310

PostPosted: Wed Dec 05, 2007 12:41 pm
Reply with quote

Dear Experts,

I am able to unload the data from DB2 tables using BMC Unload.

But while unloading data from a VIEW with the same syntax, I am getting the following error .

BMC51957I LOAD CONTROL CARDS NOT GENERATED FOR "FORMAT CSV" BECAUSE CNTLCARDS BMCLOAD NOT SPECIFIED
BMC50229E VIEW DEFINITION FOR VIEW 'VIEW-NAME' NOT SUPPORTED, REASON CODE = 2
BMC50346I THE VSAM DATASET DOES NOT EXIST FOR TABLESPACE 'TABLESPACE-NAME'
0BMC50013I UTILITY EXECUTION TERMINATING, RETURN CODE = 8

Can anyone comment on this?
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Sat Feb 23, 2008 9:16 am
Reply with quote

Hi,

Unlikely situation, share Your JCL. I think we, as an application engineer, are usually access to views only & not to 'base tables'. it should be doable.


P.S.:Sorry for commenting late...but i happen to see this today only...
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Structured Data and Nested Loops via ... COBOL Programming 0
No new posts Alternate key data extracttion COBOL Programming 13
No new posts Integrate IBM High Perfomance Unload ... DB2 0
Search our Forums:


Back to Top