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 Replace values in the input data Vikas Maharnawar DFSORT/ICETOOL 10 Thu May 11, 2017 2:18 pm
No new posts How to see VIEW definition from BMC c... rohanthengal DB2 1 Thu May 04, 2017 1:50 pm
No new posts Group Data based on a key Arun Raj DFSORT/ICETOOL 7 Thu Apr 27, 2017 11:29 pm
No new posts unload data from table with lob columns farhad_evan DB2 0 Sat Apr 22, 2017 1:32 pm
No new posts SORT JSON type of data maxsubrat DFSORT/ICETOOL 8 Wed Apr 19, 2017 6:01 pm


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