Link to home
Start Free TrialLog in
Avatar of Jon Snyderman
Jon SnydermanFlag for United States of America

asked on

ODBC data source not showing fields after OS upgrade

I upgraded an iSeries from V6R1 to V7R1 this weekend.   This morning, a UPS shipping machine had trouble reading the ODBC data source.   I got on tonight thinking that this would be easy.  I tested with MSQRY32.  I connect to the iseries fine.  I can see the libraries and the files.  But I dont see the fields.   I upgraded iSeries access to v7r1.   I applied the latest service pack.   I deleted the *SQLPKG files from the 400.   Im coming up empty now.   I would really appreciate any ideas.
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Are you getting an error?  When you or the UPS jobs connects, it will be assigned to a QZDASOINIT (QZDASSINIT if you use SSL) job.  That job log will generally have any errors in in.

One way to find the right QZDASOINIT job is to establish a connection, try something that fails, and them log onto a green screen and do a

WRKOBJLCK yourprofilename *USRPRF

Where yourprofilename is the name of your IBM i user profile (or the profile UPS uses).

That's because when a job logs on, it automatically grabs a shared read lock on the user profile associated with the job.

So once you find the QZDASOINIT job, display the job log, press F10 to see detailed messages, look for error messages, and if you find any, put your cursor on each one in sequence and hit F1 to display the full message detail.

Post the full message detail (sometimes it runs to a couple of pages) for each message you find that looks like it might be related to the problem.  Sometimes the message will provide recover actions.  Try those and post any positive or negative results.
Avatar of Jon Snyderman

ASKER

Thanks Gary.   I ended up having to call IBM and we believe that we tracked it down to DB cross reference files.   I am going to run a RCLSTG tonight and see if that helps.   I am going to take a look at those job logs also.

Thanks!
SOLUTION
Avatar of Gary Patterson, CISSP
Gary Patterson, CISSP
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi Tom,

Yes, we ran the RCLDBXREF prior to coming to the conclusion to run the RCLSTG.   This is a small quick system.  I ran the *DBXRF after hours and it literally took about a minute.    

Thanks to both of you.

Jon