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

How to save output at the sdsf ?


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
cheungne

New User


Joined: 29 Jul 2006
Posts: 16

PostPosted: Wed Aug 23, 2006 1:59 pm
Reply with quote

Dear all,
after i enter sdsf and use st and then select the job, i see the output of my job, but may i know can i save these output to a dataset??

thansk
Back to top
View user's profile Send private message
HARIBHARAT

New User


Joined: 05 Jul 2006
Posts: 65
Location: pune

PostPosted: Wed Aug 23, 2006 2:30 pm
Reply with quote

spool are u type xdc then enter . then aske dataset name. where u want to save give the dataset name.
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Aug 23, 2006 3:51 pm
Reply with quote

Or from another batch job:
Code:
//OFERICO JOB (),@SDSF,MSGCLASS=X,CLASS=U,NOTIFY=&SYSUID               
//**********************************************************************
//* Issue SDSF commands in batch                                       *
//**********************************************************************
//BSDSF  EXEC PGM=ISFAFD,PARM='++30,256'                               
//ISFOUT   DD SYSOUT=*                                                 
//SYSUDUMP DD SYSOUT=*                                                 
//SYSPRINT DD SYSOUT=*                                                 
//SYSTSPRT DD SYSOUT=*                                                 
//SYSOUT   DD SYSOUT=*                                                 
//ISFIN    DD *                                                         
PRE job-name                                                           
ST                                                                     
FILTER JOBID EQ job-id                                                 
++?                                                                     
FIND 'MSGUSR'                                                           
++S                                                                     
PRINT ODSN 'your.output.dataset' * SHR                                 
PRINT 1 9999                                                           
PRINT CLOSE                                                             
END                                                                     
EXIT                                                                   
/*                                                                     
//   


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

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Sep 02, 2006 6:55 am
Reply with quote

Hi cheungne,

Another very flexible way to do what you want is to enter SE instead of S along side the spool dataset you want. From that point onward you can treat the spool data as you would an ISPF edit dataset. You can:

Selectively cut and paste data from the spool to another PDS member or PS file.

Use the ISPF CREATE command.

Modify the data before you save it to the other file.

Delete lines from the spool dataset and save the result to a file. The data is restored upon exit.

Most things you can do in ISPF Edit you can do in SDSF SE.
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 -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
Search our Forums:

Back to Top