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
 

 

Can I unload data from a VIEW

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: Can I unload data from a VIEW
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

Senior Member


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

PostPosted: Sat Feb 23, 2008 9:16 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts SPUFI -- Joining 3 tables – data in... Sysaron DB2 2 Wed Mar 08, 2017 4:18 am
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am


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