- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- Re: dumping RDB table to flat file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2015 09:24 AM
01-30-2015 09:24 AM
dumping RDB table to flat file
how can i dump a RDB table to plain text file ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2015 10:09 AM
01-30-2015 10:09 AM
Re: dumping RDB table to flat file
The easiest way to dump an Rdb table to a text file is to use the RMU/UNLOAD facility. The output can be a simple flat file, a comma delimited list or even an XML document.
$ RMU/UNLOAD/FIELDS=(EMPLOYEE_ID, LAST_NAME) -
-$ /RECORD_DEFINITION=(FILE=NAMES, FORMAT=DELIMITED_TEXT) -
-$ MF_PERSONNEL EMPLOYEES NAMES.UNL
Hope this helps.
Brad McCusker
Software Concepts International
Software Concepts International
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2015 10:11 AM
01-30-2015 10:11 AM
Re: dumping RDB table to flat file
Best to ask these questions in the Oracle forums, as Rdb is an Oracle product, and there are typically more folks that use Rdb over there than around here. Also best to include some details with your question, such as your OpenVMS and Rdb versions - it's quite possible that the following answer will not apply here, as you're could well be running ancient VMS and ancient Rdb.
For details on using the products, start with the Rdb RMU utility documentation and the Oracle Rdb SQL documentation for the commands and syntax (for your Rdb version, of course). Or start with some of the existing discussions around the net' such as here and here and here and here and here; I'd usually expect to see SQL EXPORT and SQL IMPORT and/or RMU /EXTRACT and RMU /UNLOAD commands used here, depending on exactly what you're up to with your text export.