• The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
Menu
  • The Four Hundred
  • Subscribe
  • Media Kit
  • Contributors
  • About Us
  • Contact
  • Solving iSeries Access Data Transfer Problems and Detecting Disk Damage

    July 27, 2011 Hey, Joe

    I’m having a problem downloading a file using iSeries Access Data Transfer from System i. Whenever I perform my download, I get the CWBDB0099 and SQL0420 errors shown below. I can click OK and still download the file, but I’d like to get rid of this error. What’s going on and how do I fix it?

    –Laura

    Here’s the error message that Laura is referring to and what I did to solve it.

    After researching, I couldn’t find any references to the CWBDB0099 error with the SQL4020 sub-error. There were plenty of references to the CWBDB0099 error with sub-error SQL0181, which indicates an error of “Value in date, time, or timestamp string not valid.” IBM‘s Support Document on CWBDB009 and SQL0181 tells the user to run the Display File Field Description (DSPFFD) command on the file in question and look for any date fields that have a data type of ISO. If an ISO date type field is found, IBM instructs you to change your data transfer date/time format to ISO.

    I ran DSPFFD on the file and there were no date fields with a data type of ISO. However, there were three packed data fields of length 5,0 and one packed date field of length 8,0. I reasoned that it was possible that one or more of those fields were being recognized as a date field by the iSeries Access Transfer program. So I decided to try IBM’s fix even though it didn’t strictly apply to the problem I was seeing on Laura’s screen.

    To change the transfer’s Date/Time format to ISO, I did the following:

    1. On the Data Transfer from iSeries screen, I clicked on the Format Options button.

    2. On the Change Data Options screen that appears, I clicked on the Date/Time tab. I then clicked on the Date format drop-down box and changed the Date format to ISO. I finally clicked on the Apply button to save the change.

    3. We tried running the problematic Data Transfer again. This time, it downloaded the data without throwing up the error message.

    So I guess this goes to show that sometimes a good enough approach will be enough to solve a problem.

    Bonus: Another Way to Detect Disk Damage

    While I was researching my article on finding damaged objects, IBM sent me some information on running the Service Tools’ Analyze Disk Surface option to detect damage objects and problems with your disk drive. Here’s the drill if you want to run a more intensive disk analysis feature to find damaged objects and brewing problems with your disk drives.

    1. Run the Start System Service Tools command (STRSST) and sign in.

    2. Take the following options to get to the Analyze Disk Surface option:

    • Option 3, Work with Disk Units
    • Option 3, Work with Disk Unit Recovery
    • Option 2, Disk Unit Problem Recovery Procedures
    • Option 3, Analyze disk unit surface

    3. On the Select Disk Units for Analyze screen, select the disk drives that you want to analyze and press the Enter key.

    IBM tells me that this command will check the disk surface for problems and that it will detect damaged objects. The downside is that the command takes a long time to run, requires intensive disk usage, and it could slow down systems that are already performing slowly. My approach is to keep this feature in my back pocket to use on rare occasions when called for and to use the other techniques for detecting damage first. Be cautious when using this option for the first time.

    After the disk unit analysis completes, you can go into the Licensed Internal Code log by running the following options to view the results.

    1. Option 1, Start a Service Tool
    2. Option 5, Licensed Internal Code Log
    3. Option 1, Select entries from the Licensed Internal Code log

    Look for major code 300 (Damage set) or major code 301 (Damage encountered) to see if the test found any damage. 0300 will show up the first time damage is detected, while 0301 will show up when a damaged object is detected for the second time and during later detections. You should also look for major code 0100 (Machine check) with minor code 0207 and call IBM if that code is detected.

    There is one other thing to watch out while reading the LIC logs for damage codes. If you see that major codes 0300 or 0301 occurred during an IPL, I’ve been told you can ignore those errors. When these codes occur during an IPL process, it represents a special situation where some damage is fixed during the IPL process. Of course, if you’re in doubt about what to do about these codes, call IBM for more information.

    HTH

    –Joe

    RELATED STORY

    Admin Alert: A Starter Program to Find Damaged Objects in i OS 6.1.1



                         Post this story to del.icio.us
                   Post this story to Digg
        Post this story to Slashdot

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Tags:

    Sponsored by
    FalconStor

    Simplify Secure Offsite Data Protection for IBM Power with FalconStor Habanero™

    IBM i teams are under growing pressure to ensure data is protected, recoverable, and compliant—without adding complexity or disrupting stable environments.

    FalconStor Habanero™ provides secure, fully managed offsite data protection purpose-built for IBM Power. It integrates directly with existing IBM i backup tools and processes, enabling reliable offsite copies without new infrastructure, workflow changes, or added operational overhead.

    By delivering and managing the service end-to-end, FalconStor helps organizations strengthen cyber resilience, improve disaster recovery readiness, and meet compliance requirements with confidence. Offsite copies are securely maintained and available when needed, supporting recovery, audits, and business continuity.

    FalconStor Habanero offers a straightforward way to modernize offsite data protection for IBM i: focused on simplicity, reliability, and resilience.

    Learn More

    Share this:

    • Share on Reddit (Opens in new window) Reddit
    • Share on Facebook (Opens in new window) Facebook
    • Share on LinkedIn (Opens in new window) LinkedIn
    • Share on X (Opens in new window) X
    • Email a link to a friend (Opens in new window) Email

    Sponsored Links

    looksoftware:  Integrate RPG applications and deploy to the iPad. Download the case study
    CNX:  Ready to develop true Web 2.0 applications? Valence Version 3.0 BETA 3 is now available
    System i Developer:  Join the Gurus at the RPG & DB2 Summit in St. Louis, October 17-19

    IT Jungle Store Top Book Picks

    BACK IN STOCK: Easy Steps to Internet Programming for System i: List Price, $49.95

    The iSeries Express Web Implementer's Guide: List Price, $49.95
    The iSeries Pocket Database Guide: List Price, $59
    The iSeries Pocket SQL Guide: List Price, $59
    The iSeries Pocket WebFacing Primer: List Price, $39
    Migrating to WebSphere Express for iSeries: List Price, $49
    Getting Started with WebSphere Express for iSeries: List Price, $49
    The All-Everything Operating System: List Price, $35
    The Best Joomla! Tutorial Ever!: List Price, $19.95

    REPLACE to Replace Characters in a String Admin Alert: A Starter Program to Find Damaged Objects in i OS 6.1.1

    One thought on “Solving iSeries Access Data Transfer Problems and Detecting Disk Damage”

    • venkat says:
      October 11, 2018 at 4:14 pm

      Above solution worked for me

      Reply

    Leave a ReplyCancel reply

Volume 11, Number 22 -- July 27, 2011
THIS ISSUE SPONSORED BY:

WorksRight Software
SEQUEL Software
System i Developer

Table of Contents

  • REPLACE to Replace Characters in a String
  • Solving iSeries Access Data Transfer Problems and Detecting Disk Damage
  • Admin Alert: A Starter Program to Find Damaged Objects in i OS 6.1.1

Content archive

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

Recent Posts

  • Inside The Encryption Key Management Changes In IBM i 7.6
  • FalconStor Moved To The Blue Lagoon, And Is Poised For Growth Because Of It
  • Guru: Claude’s SQL Tip
  • Astera Makes Extracting Legacy Report Data an AI Specialty
  • IBM i PTF Guide, Volume 28, Number 27
  • Welcoming The New IBM i Chief Architect And Other New Top Brass
  • A Deep Dive Into That Power S1112 Entry Power11 Server
  • Guru: Beyond Three-Part Naming – Running SQL Across Remote IBM i Systems
  • How IBM Bolstered IBM i Resilience In The Summer Tech Refreshes
  • IBM i PTF Guide, Volume 28, Number 26

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 © 2025 IT Jungle