IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to Move XDC member again to SPOOL?


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
itjagadesh

New User


Joined: 05 Dec 2006
Posts: 89
Location: chennai

PostPosted: Thu Dec 17, 2009 11:18 am
Reply with quote

All,
is there any option or command in mainframe to move back XDC member or PS file again back into SPOOL.

(Example - say i am XDC the today job log into one of PDS member today.After 10 days job will be moved out (purged fromm spool).Now is there any option to move the PDS member back to SPOOL.

ie) Reverse form of XDC joblog into member....

Please correct me if i am wrong on above or not clear on this requirement.

Thanks
Jagadesh
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Dec 17, 2009 1:56 pm
Reply with quote

IMHO,

Quote:
move back XDC member or PS file again back into SPOOL


It cant be done I believe.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Dec 17, 2009 8:18 pm
Reply with quote

Hello,

If you have "something" in a file (it doesn't matter that it was put there by XDC) you can copy it to SYSOUT=whatever and it will be "back in the spool". If you use the same job name and ddname, it will look very much like it did originally.

Not sure why you want to do this as if the data is in a file, it can be viewed there. . . icon_smile.gif
Back to top
View user's profile Send private message
vasanthz

Global Moderator


Joined: 28 Aug 2007
Posts: 1742
Location: Tirupur, India

PostPosted: Thu Dec 17, 2009 9:26 pm
Reply with quote

Hi D,

I was interested to try your suggestion icon_smile.gif ,

Tried the below,
XK89.DUMP has the XDC dataset,

Then ran this JCL,

Code:
//XK89COPY JOB ,'BORED',CLASS=4,MSGCLASS=P,NOTIFY=&SYSUID
//STEP0010 EXEC PGM=SORT                                 
//SORTIN   DD DSN=XK89.DUMP,DISP=SHR                     
//SORTOUT  DD SYSOUT=*                                   
//SYSUDUMP DD SYSOUT=*                                   
//SYSIN    DD *                                           
   SORT FIELDS=COPY                                       
//*                                                       


After running the job,
The SYSOUT thing has the XDC contents.
But I guess the user wants the exact replica of his old job as if it has run now. Which IMHO is not possible I think. or is it?

P.S. - Yey!! I reached 200 posts icon_super.gif

Thanks,
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Thu Dec 17, 2009 10:10 pm
Reply with quote

Hi Vasanth,

Quote:
But I guess the user wants the exact replica of his old job as if it has run now
We can't always get what we want. . . icon_smile.gif
We can usually get what we need (big difference).

Anything "saved" via XDC can be copied back into the spool, but as you note - it will not be an exact replica of the original. If nothing else, it will not have the same job number.

As to why this cannot just be viewed in the file we haven't been told. . .

Congrats on reaching 200 icon_smile.gif

d
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Dec 17, 2009 10:21 pm
Reply with quote

Quote:
copied back into the spool,
I feel this is a mis-nomer.
you can't really copy something to the spool. You can generate output from a job that will be maintained in the spool; but to imply that you can copy to spool (as you can copy from spool) would IMUO provide false impression on the impressionable.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Dec 17, 2009 10:27 pm
Reply with quote

Quote:
As to why this cannot just be viewed in the file we haven't been told. . .


I too, would like to know why it is needed as spool file.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


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

PostPosted: Fri Dec 18, 2009 12:20 am
Reply with quote

Hi Dick,

Quote:
I feel this is a mis-nomer.
you can't really copy something to the spool.
Yup, quite possibly was not the best choice icon_wink.gif

However, as possibly the easiest ways to get the stuff "into the spool again" is to use the copy capability of one's sort, idcams, iebgener, etc, i took the easy way out. Surely didn't want to open the "re-queue" door. . .

On the up side, i didn't mention a jcl. . .

d
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts COBOL - Move S9(11)v9(7) COMP-3 to -(... COBOL Programming 5
No new posts How to move the first field of each r... DFSORT/ICETOOL 5
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Search string in job at regular Spool... CLIST & REXX 0
No new posts Searching for a member but don't know... TSO/ISPF 6
Search our Forums:

Back to Top