Solved

ODBC data source not showing fields after OS upgrade

Posted on 2014-03-24
5
932 Views
Last Modified: 2014-03-27
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.
0
Comment
Question by:Jon Snyderman
  • 2
  • 2
5 Comments
 
LVL 35

Expert Comment

by:Gary Patterson
ID: 39954104
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.
0
 
LVL 6

Author Comment

by:Jon Snyderman
ID: 39954115
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!
0
 
LVL 35

Assisted Solution

by:Gary Patterson
Gary Patterson earned 250 total points
ID: 39954292
Yeah, we've had that happen.  

RCLSTG SELECT(*DBXREF) usually fixes it.
0
 
LVL 27

Accepted Solution

by:
tliotta earned 250 total points
ID: 39955702
Using RCLDBXREF OPTION(*CHECK) first should be the best first step. If it reports problems, then run RCLDBXREF OPTION(*FIX).

If RCLDBXREF clears the problem, then RCLSTG SELECT(*DBXREF) can be postponed to a more convenient time. (It should still be run.) The RCLDBXREF command is much nicer to use than RCLSTG since it can run at any normal time.

It generally runs quickly enough to keep everyone happy, especially operations staff. Expect 15 mins to half an hour, but I've seen it faster. All depends on... well, a lot of stuff.

Tom
0
 
LVL 6

Author Closing Comment

by:Jon Snyderman
ID: 39958541
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
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
ED710 -->  UADDMBX 10 296
Catalog Index 9 125
IBM MQ moving messages from error queue 4 168
Problem with a LIKE clause  with a "*" inside in VB.Net accessing a DB2/400 table 7 109
Did you know that more than 4 billion data records have been recorded as lost or stolen since 2013? It was a staggering number brought to our attention during last week’s ManageEngine webinar, where attendees received a comprehensive look at the ma…
Adults who share images on social media aren’t the only ones who need to worry about their privacy. Our culture’s tendency to share every move and celebration affects the privacy of our children, too.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question