PS GP Identification Process Load all job data to the TEMP table?
We use PeopleSoft Global Payroll for our payroll process. We have about 200,000 employees with 18 Pay Group in the system. When we run the Identification process for one pay group, we found that the Identification process will load all the 200,000 employees data into the TEMP table, including the employees in other pay group and the employees terminated before this cycle. It makes the identification process performance very bad.
Does anyone know how to make the identification process only load the current run pay group employee's job data to the TEMP table?
Our PS application version is 8.8, PeopleTools version is 8.45.
The temp table we mean is the table cobol process used to store job data.
When we trace the cobol, we found the following statment:
22:31:38 7088 0.000 0.000 #1 RC=0 COM Stmt=INSERT INTO PS_GP_JOB2_WRK (EMPLID ,CAL_RUN_ID ,EMPL_RCD ,EFFDT ,GP_PAYGROUP ,PAY_SYSTEM_FLG ,EMPL_STATUS ) SELECT DISTINCT J.EMPLID ,R.CAL_RUN_ID ,J.EMPL_RCD ,J.EFFDT ,J.GP_PAYGROUP ,J.PAY_SYSTEM_FLG ,J.EMPL_STATUS FROM PS_GP_CAL_RUN R ,PS_JOB J WHERE J.EMPLID BETWEEN :1 AND :2 AND R.CAL_RUN_ID=:3 AND ('N'=:4 OR J.EMPLID IN (SELECT EMPLID FROM PS_GP_GRP_LIST_RUN WHERE RUN_CNTL_ID=:5 AND OPRID=:6) ) AND J.EFFSEQ= (SELECT MAX(EFFSEQ) FROM PS_JOB JJ WHERE JJ.EMPLID=J.EMPLID AND JJ.EMPL_RCD=J.EMPL_RCD AND JJ.EFFDT=J.EFFDT) AND EXISTS (SELECT 1 FROM PS_JOB JJ WHERE JJ.EMPLID=J.EMPLID AND JJ.EMPL_RCD=J.EMPL_RCD AND JJ.PAY_SYSTEM_FLG='GP')
Similar Messages
-
Question 1: I have created a global temporary table tt_groups(grp_ids number) on commit preserve rows; and I was wondering - if I have multiple users accessing this temp table at the same time, do I need to differenciate between the users, or will Oracle put a userid on them?
Question 2: I am attempting to enter data into these temp tables within a function that will actually use the data. This function contains and returns a cursor. So far, I have been having great difficulties with this - to the point that I am ready to write an addition function just to store the data in the temp table. Does any one have any suggestions? Here is a sample of my code in case that would help. btw - str2tbl is a home grown conversion tool that parses a string and puts the data into rows of number. We have used it in many functions and so far don't have any issues associated with it.
in_groupid IN VARCHAR2
IS
BEGIN
INSERT INTO tt_groups(grp_ids)
VALUES (
SELECT Column_Value
FROM THE (
select cast(STR2TBL(in_groupid) as mytableType)
from dual
COMMIT;
END;
I am new to the whole sp/function coding, so any advice would be appreciated.
Thanks,
SusanThanks, Justin, for your reply.
I am pleased to hear that the temp table is session-specific.
I attempted to update my statement to match what you suggested, but I am still getting "invalid" whenever I try to compile the function through schema mgr. Do you see anything that I might be missing? I incorporated the BEGIN; COMMIT; and END;, but is there something else that I am supposed to have? I downloaded a couple of Oracle handbooks and I have one book, Oracle8i - the complete reference, (we are using 9i) that I am referring to all the time, but I can't seem to get it to work! Here is more of my code:
in_groupid IN VARCHAR2
RETURN Types.ref_cursor
AS
resource_cursor types.ref_cursor;
BEGIN
OPEN resource_cursor FOR
SELECT DISTINCT
CATEGORY.CATID, SUBCATEGORY.SUBCATID
FROM SUBCATEGORY, CATSUBCAT, CATEGORY, SUBRES
WHERE SUBCATEGORY.SUBCATID = CATSUBCAT.SUBCATID AND
CATSUBCAT.CATID = CATEGORY.CATID AND
(CATSUBCAT.GROUPID IN (select grp_ids from tt_groups)) AND
(SUBRES.GROUPID IN (select grp_ids from tt_groups))
I want to insert this code into the function above:
INSERT INTO dtra_tt_groups(grp_ids)
SELECT Column_Value
FROM THE (
select cast(STR2TBL(in_groupid) as mytableType)
from dual
COMMIT;
Where would I insert this statement?
Thanks,
Susan -
I am extremely disappointed and angry with Apple service. I am a writer and booked three weeks in Spain so that I could finish my book. On the second day my laptop cut out on me asI was working on it, so I took it to Goldenmack in Cadiz. Not only was I given someone else's macbook when I went back to collect it, but then when I returned to the UK, the Apple shop in Brighton managed to delete ALL my data from the hard drive because I was unlucky enough to get a trainee on her first day. I have since learned she should not have deleted my data without even running a diagnostic. She told me she was going to 'restore' the drive. I took this to mean she was going to restore my work. But no! She erased the lot.
I complained and eventually was put in touch with a supervisor, who I was told had authority to resolve the issue. She said she would get the shop to phone me. That was ten days ago and I'm still waiting.
Ok so there's nothing I can do now to get back the three chapters of my book that I have lost and didn't back up, but the hard drive on this laptop is still faulty. I try to back up my work every time I use the machine but as soon as I attach an external drive, the whole thing shuts down. I can't use it any more as I can't risk losing any more work. This laptop is only just over a year old and this is just not acceptable, especially since I have really looked after it.
This is an appalling service I have encountered from Apple, and I am not going to ignore it. I have contacted the young chap whose laptop I was erroneously given, and the repair of which I paid for! (although I did eventually get a refund), to ask him if he had been given mine as well. He said he had been completely unaware that his laptop had been given to me and he is furious as he had loads of "sensitive material" on it." I have no idea in whose hands my laptop has been either, or indeed what damage it sustained while it was supposed to be in for repair.Contact Apple Support:
http://www.apple.com/support/contact/
Apple - How to Contact Us:
http://www.apple.com/contact/
Be sure to refer to the repair ticket number.
Sounds like a terrible mixup.
Good luck & happy computing! -
DB Connect Load - "Unknow error while uploading data from the DB Table"
Hi Experts,
We have our BI7 system connected to Oracle DB based third party tool. The loads are performing quite well in DEV environment.
I would like to know, how we transport DB Connect datasources to Quality systems? Any different process to be followed for DB Connect datasources?
At present the connections between BI Quality and the third party quality systems are established. We transported the DataSource from BI DEV system to BI quality system, but on trigerring an infopackage we are not able to perform loads. It prompts - "Unknow error while uploading data from the DB Table".
Also on comparing the DataSources in DEV system and Quality system there are no fields in "Proposal" tab of datasource in Quality system. Also I cannot change or activate Datasource in Quality system as we dont have change access in quality.
Please advice.
Thanks,
AbhijitHi,
Sorry for bumping an old thread ....
Did this issue get ever get resolved?
I am facing the same one. The loads work successfully in Dev. The transport for DBConnect DS also moved in successfully.
One strange this is that DB User for dev did not automatically change to db user from quality when I transported the DBConnect datasource. DBCon DS still shows me the DB User from Dev in Quality system
I get "Unknown Error" whenever I trigger the data package.
Advait -
Hi,
I'm doing a internship in a production line.
My job is to recover production data (input data) and test data (output data) using various types of software (excel, BusinessObject sap, etc).
To this day, I have recovered hundreds of production data, and have also organized in excel but I need to analyze and plot them.
I would like to know who can give me an idea of how I could plot as much data and analysis.
Now i trying to use dynamic charts and plot some data but I did not get acceptable answers.
How could I compare, analyze and graph for example:
Five columns of production (input) with five (5) columns tested (data output).
After graphing.
Someone can give me a technique to analyze data? ie I compare column by column?
or some other technique? as a conglomerate could analyze data?
o give you an idea of the contect, now I perform an internship in a manufacturing turbines.
My job is to analyze the input data (production) and to estimate the possible behavior of the turbines in the tests.
As I said, use dynamic tables in excel, but i have not idea why the dynamic tables doesn't take all the data from the source table.
I appreciate your advice
ThanksYou can declare as PT source whole Columns [$A:$E], without rows number.
Then You'll have all actually data.
Oskar Shon, Office System MVP - www.VBATools.pl
if Helpful; Answer when a problem solved -
My provider is terminating email service so I had to change my apple ID. I did that in iTunes but now my icloud on my PC wants me to sign in under my old id, I don't see a way to update to the new ID without deleting all cloud data on the PC. Is there another way so I don't have to resync everything from the cloud?
Check the list in the link below, how to change all services, after you changed your Apple ID:
What to do after you change your Apple ID email address or password - Apple Support
https://support.apple.com/en-us/HT204071
In particular, for iCloud:
Update your Apple ID or password on your iPhone, iPad, iPod touch, Mac, PC, and Apple TV.
iPhone, iPad, and iPod touch
Go to Settings > iCloud.
If you're signed out, enter your updated Apple ID or password. The data in iCloud will automatically appear on your device after you sign in.
If you're still signed in with your previous Apple ID:
Scroll down and tap Sign Out, then tap Sign Out to confirm. If you're using iOS 7 or earlier, tap Delete Account, then tap Delete to confirm. You might need to enter your password. Your data will remain in iCloud and will be updated on your device when you sign in to iCloud again.
Enter your updated Apple ID or password. -
Hi,
I have reached full memory capacity on my 500GB Time Capsule. I am considering purchasing a 2TB Time Capsule.
a) Do I need to resave all existing data on the new hard drive or can I start afresh?
b) Or can I link both time capsules to operate independantly?
Thanks,
PaulYou may not need to buy a new Time Capsule.
You can connect a USB drive to the Time Capsule, and use it in addition to the TC's internal HD. You may need a powered USB hub as well.
Exactly what is on your TC? If it's only Time Machine backups, you may not need to do anything -- Time Machine will delete the oldest backup(s) automatically when it needs room for new ones. But if you have more than about 250 GB on your internal HD, that 500 GB may not be large enough to keep backups long enough.
If you have other data on the TC's internal HD, besides your backups, you could back up to the external HD and use the internal for the other data, or vice-versa. But TM backups cannot "span" two drives, and you shouldn't mix backups and other data on the TC's internal HD. -
The logic board on my MacBook Pro has failed. How do I retrieve all my data from the hard drive?
Remove the drive and put it in an external enclosure. Backup the drive completely. Repartition and format the drive. Replace the drive into the computer. Take the computer in for the logicboard replacement.
-
The error message "No more virtual tiles can be allocated" appears when I try to use the effects in the quick editing mode in my Elements 13. The baton OK has to be pressed several times for loading all effect patterns. The error returns when selecting the particular pattern.
The problem does not appear, if PH Elements 13 is executed in the administrator mode.
The available computer resources are rather large enough: CPU INTEL i7 4 cores, 16GB RAM, 1TB HDD + 32GB SSD, Windows 8.1.
Please, advice how to solve this problem? Maybe, there is patch or updating available?Dear n_pane,
Thank you for the quick answer. In the meantime I found other way to pass by the problem. I increased the cache level up to the maximum value 8.
The errors reported as "No more virtual tiles can be allocated" vanish, but I still do not understand, why PSE 13 cannot work properly by the lower cache levels, having available maximum resources it needed (10443 MB RAM and 26.53GB SSD space for scratches), or cannot collaborate with the fast SSDs properly.
I wish you all the best in the New Year 2015! -
I have an iphone 4 8gig there is 2.4 gig of "other" showing on my usage which is more than all other data on the phone. What is it and how do I delete some to clear space?
Sorry. We can't help you. It's no longer an iPhone. Apple won't touch it.
Take it to whoever replaced the screen and see if they can help you.
iPhones are not user servicable and Apple does not sell iPhone parts at all. I'd be surprised if you were actually able to back it up at this point. It sounds like it's completely borked. -
I have problem with my iphone as it is disable and need to get all my data as the phone needs at least 40 years to enable accessing it
If you have never connected the phone to iTunes and backed it up or used iCloud to backup your data, it is lost at this point.
The only way to get back into the phone is to restore it.
~Lyssa -
How to load text file data to Oracle Database table?
By using Oracle Forms, how to load text file data to Oracle Database table?
Metalink note 33247.1 explains how to use text_io as suggested by Robin to read the file into a Multi-Row block. However, that article was written for forms 4.5 and uses CREATE_RECORD in a loop. There was another article, 91513.1 describing the more elegant method of 'querying' the file into the block by transactional triggers. Unfortunately this more recent article has disappeared without trace and Oracle deny its existence. I know it existed as I have a printed copy in front of me, and very useful it is too.
-
Event data collection process unable to write data to the Data Warehouse
Alert Description:
Event data collection process unable to write data to the Data Warehouse. Failed to store data in the Data Warehouse. The operation will be retried.
Exception 'InvalidOperationException': The given value of type Int32 from the data source cannot be converted to type tinyint of the specified target column.
Running SCOM 2007 R2 on Server 2008 R2 with SQL Server 2008 R2. I can only find a single reference to this exact error on the Internet. It started occurring on a weekend. No changes were made to the SCOM server directly before this occurred. Anyone know
what the error means and/or how to fix?Hello,
I would suggest the following threas for your reference:
Troubles with DataWarehouse database
http://social.technet.microsoft.com/Forums/en-US/operationsmanagergeneral/thread/5e7005ae-d5d8-4b5c-a51c-740634e3da4e
Data Warehouse configuration synchronization process failed
to read state
http://social.technet.microsoft.com/Forums/en-US/systemcenter/thread/8ea1f4b9-115b-43cd-b66f-617533703047
Thanks,
Yog Li
TechNet Community Support -
Alert data collection process unable to write data to the Data Warehouse
Alert data collection process unable to write data to the
Data Warehouse. Failed to store data in the Data Warehouse. The operation will
be retried.
Exception 'InvalidOperationException': The given value of type
String from the data source cannot be converted to type nvarchar of the
specified target column.
One or more workflows were affected by this.
Workflow name:
Microsoft.SystemCenter.DataWarehouse.CollectAlertData
Instance name: Data
Warehouse Synchronization Service
Instance ID:
{9A0B3744-A559-3080-EA82-D22638DAC93D}
Management group: SCOMMG
Can anybody Help?About 24 hours ago, one of my four management servers began generating this error every 10 minutes; we only upgraded to SCOM 2012 R2 a couple weeks ago, I have NOT installed UR1. No new management packs or database changes have been made within the
last week; KB945946 is not related to this. An Event ID 11411 warning started occurring around the same time as this started and repeats every 10 minutes, too:
Alert subscription data source module encountered alert subscriptions that were waiting for a long time to receive an acknowledgement.
Alert subscription ruleid, Alert subscription query low watermark, Alert subscription query high watermark:
5fcdbf15-4f5b-29db-ffdc-f2088a0f33b7,03/27/2014 00:01:39, 03/27/2014 20:30:00
Performance on the Data Warehouse database server seems fine; CPU, memory and disk I/O are good.
How can we identify where the problem is? -
I have just upgraded to a iphone c and back up all my data via the cloud but I cannot get my emails or contacts is there somethimg i'm not doing right?
Is your email account set up under Settings > Mail, contacts, calendars?
Maybe you are looking for
-
Installing Wireless Mouse on MacBook 13"
I am planning to install Windows Vista on my MacBook 13". I am wondering how do I install Wireless Mighty Mouse after installation is done; because I know that I will have to use wired mouse (correct?) during the installation process. Thanks for help
-
Hi all, I have created WD Abap iviews on Portal (EP 7.0). These iviews are behaving weirdly. Initially they were working fine, however they have suddenly started flickering. The application does not load when i open the iview, infact it simple keeps
-
Can't Burn "Imation DVD+R" on Macbook Pro
Hello, a couple of days ago I tried to burn some files on an "Imation DVD+R." I have an entire spindle of blank Imation DVD + R (Single Layered) and the computer refuses to burn any file on any of them. The discs themselves are in excellent condition
-
How to make an object or a menu to stick to the left edge of the screen?
I want the left menu to look like here http://muserocket.com/tf/bonesa/ how to make it stick to the left on any monitor?
-
Over the last few wks, i have lost several important file. Even the support team has not been able to recover them. Pls offer advice. I use microsoft office on my macbook pro, which is less than a year old.