Solved

ODBC data source not showing fields after OS upgrade

Posted on 2014-03-24
5
862 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 34

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 34

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In  today’s increasingly digital world, managed service providers (MSPs) fight for their customers’ attention, looking for ways to make them stay and purchase more services. One way to encourage that behavior is to develop a dependable brand of prod…
Find out what the Office 365 disclaimer function is, why you would use it and its limited ability to create Office 365 signatures.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

759 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now