Skip to Main Content

PeopleSoft Enterprise

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Why Is PS Query Client Tool's Run To Excel feature reports missing configuration?

Rabin HalderAug 4 2014 — edited Aug 5 2014


I'm running PS Query Client 8.51 tool. The tools execute the PS Query successfully, but, when I try to "Run To Excel", the tools reports the following message - "Client Setup in the Configuration Manager is not properly set up. (50,40)". The "EXPLAIN" button provides a brief description - " Contact your system administrator for installing ODBC driver and Workstation on Client Setup tab under Configuration Manager."

I'v checked the configuration. They seem to be correct to me. I've manually installed "Workstation" and PeopleSoft ODBC driver by executing "psodbccrinst.exe". The installation went successfull. I can see the "PeopleSoft PeopleTools" data source in "ODBC Data Source Administrator".

Platform : Windows 7 Professional x64

Tools : PeopleTools 8.51

Excel: Excel 2010

Appreciate and welcome any help.

Comments

Frank Kulash

Hi, User_97XVQ
If you want the sub-string of str from the start of the string up to (but not including) the last substring of hyphen-digits-hyphen, then you can use:

REGEXP_SUBSTR ( str
	      , '(.*)-\d+-'
	      , 1
	      , 1
	      , NULL
	      , 1
	      )

If you'd care to post CREATE TABLE and INSERT statements for the sample data, then I could test it.
If str does not contain a sub-0string of all digits surrounded by hyphens, then the expression above returns NULL.

Frank Kulash

Hi, User_97XVQ
I see that you changed your original message after I replied. Please don't do that: it makes the thread hard to read and your changes easy to miss. Make any corrections and additions in a new reply, at the end of the thread.
If tst is a string containing one or more digits, immediately preceded and followed by a hyphen, then

REGEXP_SUBSTR ( tst
	      , '(.*?)-\d+-'
	      , 1
	      , 1
	      , NULL
	      , 1
	      )

returns the sub-string before the first occurrence of the hyphen-digits-hyphen pattern. The only change for your new requirements is the '?' in the second argument, making '.*' non-greedy (that is, matching as little as possible when there is a choice).
As before, the expression returns NULL if tst does not contain a hyphen-digits-hyphen pattern.

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 2 2014
Added on Aug 4 2014
1 comment
424 views