Advertisement

05.02.2008 at 10:42AM PDT, ID: 23372403 | Points: 500
[x]
Attachment Details

How to get a Data Tree ON AS/400

Tags: IBM AS400, AS400, v5, Data Tree
I have a as400 @ work. I have some old access files that link to the as400. When I open the links I see the tables on the as400. I do not know what is in these tables. How can I find what is in each table? Is there a way to make a data Tree of some kind?
Start your free trial to view this solution
Question Stats
Zone: OS
Question Asked By: Skunny
Question Asked On: 05.02.2008
Participating Experts: 2
Points: 500
Views: 0
Translate:
Loading Advertisement...
05.02.2008 at 12:14PM PDT, ID: 21489297

Rank: Wizard

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.02.2008 at 12:55PM PDT, ID: 21489572

Rank: Master

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
05.02.2008 at 01:07PM PDT, ID: 21489681

All comments and solutions are available to Premium Service Members only.

Start your 7 day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
Microsoft
  • Internet Protocols
  • Applications
  • Development
  • OS
  • Hardware
  • Windows Security
Apple
  • Operating Systems
  • Hardware
  • Programming
  • Networking
  • Software
Internet
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Spy / Ad Blockers
  • Web Browsers
  • New Net Users
  • Web Development
  • Chat / IM
  • Anti Spam
  • Web Servers
  • Anti-Virus
  • Email Clients
Gamers
  • Tips
  • Online / MMORPG
  • Puzzle
  • Emulators
  • Action / Adventure
  • Role Playing
  • Consoles
  • Game Programming
  • Strategy
  • Sports
  • Misc
  • Computer Games
Digital Living
  • Hardware
  • New Net Users
  • New Users
  • Software
  • Digital Music
  • Gaming World
  • Home Security
  • Apple
  • Networking Hardware
Virus & Spyware
  • Vulnerabilities
  • IDS
  • Encryption
  • Anti-Virus
  • Operating Systems Security
  • Software Firewalls
  • WebApplications
  • Cell Phones
  • Operating Systems
  • Internet
  • Hardware Firewalls
Hardware
  • Handhelds / PDAs
  • Displays / Monitors
  • Components
  • Networking Hardware
  • Peripherals
  • Laptops/Notebooks
  • Storage
  • Servers
  • Desktops
  • New Users
  • Misc
  • Apple
Software
  • System Utilities
  • Industry Specific
  • Network Management
  • Photos / Graphics
  • Page Layout
  • VMWare
  • Misc
  • Web Development
  • OS
  • CYGWIN
  • Voice Recognition
  • Message Queue
  • Quality Assurance
  • Security
  • Firewalls
  • MultiMedia Applications
  • Development
  • Database
  • Office / Productivity
  • Business Management
  • OS/2 Apps
  • Server Software
  • Internet / Email
ITPro
  • OS
  • Storage
  • Encryption
  • Operating Systems Security
  • Apple Hardware
  • Laptops & Notebooks
  • Servers
  • Networking Hardware
  • Peripherals
  • Devices
  • Displays / Monitors
  • WebTrends / Stats
  • Search Engines
  • Firewalls
  • WebApplications
  • IDS
  • Vulnerabilities
  • Email Clients
  • File Sharing
  • Spy / Ad Blockers
  • Web Browsers
  • Web Servers
  • Networking
  • Anti-Virus
  • Chat / IM
  • Anti Spam
Developer
  • Web Servers
  • Web Browsers
  • Game Programming
  • Dev Tools
  • Industry Specific
  • Office / Productivity
  • Database
  • CYGWIN
  • Web Development
  • Search Engines
  • File Sharing
  • WebTrends / Stats
  • Programming
  • Content Management
  • Application Servers
  • Protocols
Storage
  • Removable Backup Media
  • Storage Technology
  • Servers
  • Grid
  • Remote Access
  • Backup / Restore
  • Misc
  • Hard Drives
OS
  • Miscellaneous
  • Security
  • Development
  • Linux
  • VMWare
  • MainFrame OS
  • Unix
  • Apple
  • OS / 2
  • AS / 400
  • BeOS
  • Microsoft
  • VMS / OpenVMS
Database
  • Oracle
  • Miscellaneous
  • MySQL
  • Software
  • Sybase
  • Contact Management
  • PostgreSQL
  • Data Manipulation
  • Clarion
  • InterSystems Cache
  • Siebel
  • MUMPS
  • OLAP
  • SQLBase
  • SAS
  • GIS & GPS
  • 4GL
  • Berkeley DB
  • DB2
  • Informix
  • Interbase / Firebird
  • FoxPro
  • Reporting
  • LDAP
  • Filemaker Pro
  • MS SQL Server
  • dBase
  • MS Access
Security
  • Misc
  • Web Browsers
  • Software Firewalls
  • Operating Systems Security
  • File Sharing
  • Spy / Ad Blockers
  • Vulnerabilities
  • WebApplications
  • IDS
  • Anti-Virus
  • Encryption
  • Anti Spam
  • Email Clients
  • VPN
  • Chat / IM
Programming
  • Editors IDEs
  • Installation
  • Handhelds / PDAs
  • Multimedia Programming
  • System / Kernel
  • Algorithms
  • Game
  • Signal Processing
  • Project Management
  • Open Source
  • Database
  • Misc
  • Languages
  • Processor Platforms
  • Theory
Web Development
  • Scripting
  • Blogs
  • Web Servers
  • Software
  • Search Engines
  • Web Graphics
  • Images
  • Internet Marketing
  • Images and Photos
  • Components
  • Document Imaging
  • Web Languages/Standards
  • Illustration
  • WebApplications
  • Fonts
  • WebTrends / Stats
  • Authoring
  • Digital Camera Software
  • Miscellaneous
Networking
  • Protocols
  • Apple Networking
  • Network Management
  • Message Queue
  • Application Servers
  • Content Management
  • File Servers
  • Email Servers
  • Misc
  • Java Editors & IDEs
  • Wireless
  • Networking Hardware
  • Backup / Restore
  • System Utilities
  • ISPs & Hosting
  • Web Servers
  • Storage Technology
  • Removable Backup Media
  • Servers
  • Broadband
  • Grid
  • OS / 2
  • Novell Netware
  • Unix Networking
  • Windows Networking
  • Security
  • Telecommunications
  • Operating Systems
  • Linux Networking
Other
  • Community Advisor
  • Lounge
  • Community Support
  • New Net Users
  • Philosophy / Religion
  • Math / Science
  • Miscellaneous
  • URLs
  • Expert Lounge
  • Politics
  • Puzzles / Riddles
Community Support
  • Suggestions
  • New to EE
  • New Topics
  • Community Advisor
  • CleanUp
  • Announcements
  • General
  • Feedback
  • Input
  • EE Bugs
 
05.02.2008 at 12:14PM PDT, ID: 21489297

Rank: Wizard

what do you mean by find out what is in each table
you can just run a select and get the data back

 
05.02.2008 at 12:55PM PDT, ID: 21489572

Rank: Master

Skunny:

Yes, assuming you have authorization to view elements that you're interested in and assuming that tables, views, columns, etc., were created with rational text and comment attributes.

You tagged this with [v5]; but there's quite a range of possibilities between V5R1 and V5R4, particularly on the client side. (Note that V6 has recently come out.) If your V5 system is current at least as far as V5R3 and you have the iSeries Navigator client installed and both sides have been decently patched with relevant DB2 and client fixes, you should be able to view much of what you want without needing to acquire additional 3rd-party or IBM products that cost extra.

The system maintains a database catalog. This can be queried through various green-screen (terminal command line) and client methods. The catalog is reasonably SQL standard, particularly in DB2 terms.

E.g., you can list tables via [select * from systables] or even [select * from tables]. The "schema" that holds the database catalog is "QSYS2". You might run [select * from schemata] to list info about various schemas. You might run [select * from tables where table-schema = 'QSYS2'] or [select * from views where table-schema = 'QSYS2'] to see what tables or what views exist in QSYS2.

You can run such queries via the interactive SQL facility if it's installed on your AS/400 or through a couple other methods if it's not. Or you can use iSeries Navigator to drill down the left-hand navigation pane into the Databases node and review right-click context-menu options on various nodes or on items that list in the right-hand pane.

If you're up to date on both server and client, iNav (iSeries Navigator) has options that will generate diagrams of tables, views, relations...

Since it's all stored in the database catalog and the database catalog can be reached via ODBC, you can code a VB function to extract whatever you want and to present it however you want. I.e., you can code stuff or you can use green-screen or you can use the free iNav capability or you can buy or download some other client tool.

Regardless of how it might be done, if text and comments were never created and if meaningful names were never used, you're on your own.

Post back if more detail is needed for a particular direction. Maybe you now have enough to let you do some searching.

Tom
 
05.02.2008 at 01:07PM PDT, ID: 21489681
WOW your the man! I ma going to post back in a bit. I am gonna do some searching with this great information thanks Tom
 
 
20080236-EE-VQP-29 / EE_QW_2_20070628