View previous topic :: View next topic
|
Author |
Message |
kalyanp_80
New User
Joined: 03 Feb 2006 Posts: 41 Location: Hyderabad
|
|
|
|
Hi,
I submitted a batch job to delete rows from table and it got executed successfully. But by mistake I have used JOB NAME as my UserId. But later realised that it should be something else. My question is can I move the contents of spool from one id to other id?
Example:
My job card was:
//KCRXV35Q JOB (CHRB),'HRB ARCHIVE 2',
// MSGCLASS=Q,CLASS=0,REGION=8192K,NOTIFY=&SYSUID
My job card should have been:
//CHRU730P JOB (CHRB),'HRB ARCHIVE 2',
// MSGCLASS=Q,CLASS=0,REGION=8192K,NOTIFY=&SYSUID
Now the contents of job will be on KCRXV35Q in SPOOL. But I want them to be on CHRU730P. I cannot rerun this job as first run already deleted the contents from the tables. Is there any way that I can swap the contents from one jOB NAME TO OTHER jObname? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
No, you can. You can copy the content of the output datasets from the spool to regular datasets.
O. |
|
Back to top |
|
|
kalyanp_80
New User
Joined: 03 Feb 2006 Posts: 41 Location: Hyderabad
|
|
|
|
I dont want to copy them to regular data sets. It should be in the SPOOL with other jobname I mentioned |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
You can't copy from one output to another.
O. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Re-run the job with the correct jobname, copy the data fro the spool to "real" datasets, or use it the way it is.
There is no "change job name after it is in the system" command. Wouldn't really make any sense. That would invalidate all of the accounting recorded as well as mess up transaction logs. |
|
Back to top |
|
|
|