Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Changing SPOOL data from one jobname to other job name

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kalyanp_80

New User


Joined: 03 Feb 2006
Posts: 41
Location: Hyderabad

PostPosted: Tue Mar 13, 2007 4:34 pm    Post subject: Changing SPOOL data from one jobname to other job name
Reply with quote

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
View user's profile Send private message

ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Mar 13, 2007 5:00 pm    Post subject:
Reply with quote

No, you can. You can copy the content of the output datasets from the spool to regular datasets.

O.
Back to top
View user's profile Send private message
kalyanp_80

New User


Joined: 03 Feb 2006
Posts: 41
Location: Hyderabad

PostPosted: Tue Mar 13, 2007 5:03 pm    Post subject:
Reply with quote

I dont want to copy them to regular data sets. It should be in the SPOOL with other jobname I mentioned
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Tue Mar 13, 2007 5:04 pm    Post subject:
Reply with quote

You can't copy from one output to another.

O.
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Mar 13, 2007 8:31 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Sorting group data rajella DFSORT/ICETOOL 3 Sun Jan 22, 2017 11:32 pm
No new posts Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts JES2 JEC: Use UNIX Pipes to Pass Data... Virendra Shambharkar JCL & VSAM 21 Tue Dec 20, 2016 6:55 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us