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
 

 

How to Move XDC member again to SPOOL?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to Move XDC member again to SPOOL?
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: 1475
Location: Chennai

PostPosted: Thu Dec 17, 2009 1:56 pm    Post subject:
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

Site Director


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

PostPosted: Thu Dec 17, 2009 8:18 pm    Post subject:
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: 1475
Location: Chennai

PostPosted: Thu Dec 17, 2009 9:26 pm    Post subject:
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

Site Director


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

PostPosted: Thu Dec 17, 2009 10:10 pm    Post subject: Reply to: How to Move XDC member again to SPOOL?
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    Post subject:
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

Senior Member


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

PostPosted: Thu Dec 17, 2009 10:27 pm    Post subject: Reply to: How to Move XDC member again to SPOOL?
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

Site Director


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

PostPosted: Fri Dec 18, 2009 12:20 am    Post subject: Reply to: How to Move XDC member again to SPOOL?
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am
No new posts Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 8 Wed Jan 25, 2017 8:24 pm
No new posts DB2 9.1.0 not move values to Host-Var... Miguel Fernandez DB2 0 Wed Jan 25, 2017 8:23 pm


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