• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Retrieve Column Descriptions in your ADO Client/Server Applications

    May 11, 2011 Hey, Mike

    Note: The code accompanying this article is available for download here.

    Using the IBMDASQL provider, I want to find the field/column description/label for fields in a record set. However, all my scenarios return null. I am using IBM iSeries Access for Windows V5R3M0 service level SI30707.

    –Andy

    Here is the Excel VBA code snippet that Andy sent in.

    Sub testit()
       Dim con, com, rs
       Set con = CreateObject("ADODB.Connection")
       con.Open "provider=IBMDASQL;data source=AS400;", "", ""
       Set rs = CreateObject("ADODB.Recordset")
       Set com = CreateObject("ADODB.Command")
       Set com.ActiveConnection = con
       com.CommandText = "select * from QIWS.QCUSTCDT for read only"
       Set rs = com.Execute()
       Debug.Print 
    …

    Read more
  • Sharing Simplifies Source Code

    May 11, 2011 Ted Holt

    I hate huge programs. For one thing, I’m not smart enough to wrap my mind around a big program. And it seems that modifying one part of the program invariably causes something to go amiss elsewhere. Dividing a program into subprocedures, modules, and multiple programs is a good way to manage large tasks. But what do you do when you’ve divided a program into two or more modules and/or programs, and more than one of them needs to contribute to a single report? You share.

    Suppose you have a program that builds a report of accounts receivable. It’s a manageable

    …

    Read more
  • Admin Alert: Critical Information That Every i Administrator Should Have Handy

    May 11, 2011 Joe Hertvik

    Similar to other hardware systems, crises can happen whenever you administer iSeries, System i, and Power i equipment in a data center. However, being a good administrator means knowing what to do and having the appropriate information available when you’re handling a crisis. This week, I’ll look at four key lists you should have handy to restore functionality after a system issue or disaster occurs.

    The Big Four Lists

    Generally, you’ll need the following information at your fingertips when a critical issue occurs that eliminates some or all i operating system functionality in your shop.

    1. IP addresses, critical profile names,
    …

    Read more

Content archive

  • The Four Hundred
  • Four Hundred Stuff
  • Four Hundred Guru

Recent Posts

  • IBM Tweaks Some Power Systems Prices Down, Others Up
  • Disaster Recovery: From OS/400 V5R3 To IBM i 7.4 In 36 Hours
  • The Disconnect In Modernization Planning And Execution
  • Superior Support: One Of The Reasons You Pay The Power Systems Premium
  • IBM i PTF Guide, Volume 25, Number 13
  • IBM i Has a Future ‘If Kept Up To Date,’ IDC Says
  • When You Need Us, We Are Ready To Do Grunt Work
  • Generative AI: Coming to an ERP Near You
  • Four Hundred Monitor, March 22
  • IBM i PTF Guide, Volume 25, Number 12

Subscribe

To get news from IT Jungle sent to your inbox every week, subscribe to our newsletter.

Pages

  • About Us
  • Contact
  • Contributors
  • Four Hundred Monitor
  • IBM i PTF Guide
  • Media Kit
  • Subscribe

Search

Copyright © 2023 IT Jungle