View previous topic :: View next topic
|
Author |
Message |
cheungne
New User
Joined: 29 Jul 2006 Posts: 16
|
|
|
|
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 |
|
|
HARIBHARAT
New User
Joined: 05 Jul 2006 Posts: 65 Location: pune
|
|
|
|
spool are u type xdc then enter . then aske dataset name. where u want to save give the dataset name. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
|