View previous topic :: View next topic
|
Author |
Message |
vijayalayancse
New User
Joined: 29 Aug 2005 Posts: 25 Location: Chennai
|
|
|
|
How to copy the spool output into datasets? |
|
Back to top |
|
|
hariavinash
New User
Joined: 04 Jan 2006 Posts: 64
|
|
|
|
u mean SDSF output or SAR spooled outputs? |
|
Back to top |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
Hi suppose u want to copy the sysout
just put the command xdc next to it
it will ask u the name of the dataset into which it should be copied |
|
Back to top |
|
|
Vijaya Baskar
New User
Joined: 18 May 2006 Posts: 8 Location: Chennai
|
|
|
|
Hi,
Just to add, the Dataset into which the Spool Ouput is copied should have LRECL as 133.
Hope I am right. Please correct me if I am wrong. |
|
Back to top |
|
|
shri_shant
New User
Joined: 26 Oct 2005 Posts: 16
|
|
|
|
HI
if you want to copy the spool output in data set use sysdump dd dsn= name of data set I think it will work
correct me if I am wrong
thanks
Shrishant |
|
Back to top |
|
|
gskulkarni
New User
Joined: 01 Mar 2006 Posts: 70
|
|
|
|
Vijaya Baskar's solution is the best one considering that you have a job already in the spool and you just want teh result to be copied to a Dataset.
Do XDC in fron tof teh spool and give the dataset name. |
|
Back to top |
|
|
rajandhla
Active User
Joined: 18 Oct 2005 Posts: 182 Location: Luton UK
|
|
|
|
Yes, Iam with vijay and kulkarni............ |
|
Back to top |
|
|
sihanature Warnings : 1 New User
Joined: 01 Sep 2005 Posts: 33
|
|
|
|
Yeah..
XDC is good option to produce spool outputs to the DSN.
Suggest Is ther any way?
Regards, |
|
Back to top |
|
|
saithvis2
New User
Joined: 23 Dec 2005 Posts: 61 Location: Providence , US
|
|
|
|
Hi All,
One more way is to open the sysout in SE mode and write create at command line and then c99999 at the first line number and then press enter , it will ask for the new file attirbutes .
Code: |
SDSF EDIT XVZSFIND (JOB00920) OUTDD Columns 00001 00072
Command ===> create Scroll ===> CSR
****** ***************************** Top of Data ******************************
C99999 1 ISRSUPC - MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF
000002 LINE-# SOURCE SECTION SRCH DSN: xvzstso.temp.temp1
000003
000004
000005 abcd9102 --------- STRING(S) FOUND ----------------
000006
000007 9 ?00 CEE 0 ?00 q? ? ??} 0 q?0<
000008
000009 abcd9110 --------- STRING(S) FOUND ----------------
000010
000011 1 ? 0IUIP9110 ?IGZCBSO ? ?CEESTART ^CEEBET
000012 9 ?00 CEE ? ?00 q? ? ??} 0 q?0<
000013
000014 1 ISRSUPC - MVS/PDF FILE/LINE/WORD/BYTE/SFOR COMPARE UTILITY- ISPF
000015 SEARCH-FOR SUMMARY SECTION SRCH DSN: xvzstso.temp
|
And then press enter , and give the file name
Code: |
Edit/View - Create
Command ===>
"Current" Data Set:
To ISPF Library:
Project . . .
Group . . . .
Type . . . .
Member . . .
To Other Partitioned Data Set Member:
Data Set Name . . . 'xvzstso.temp'
Volume Serial . . . (If not cataloged)
Data Set Password . . (If password protected)
Enter "/" to select option
Specify pack option for "CREATE" Data Set
|
and then enter the attributes ,
Code: |
Allocate New Data Set
Command ===>
More:
Data Set Name . . . : XVZSTSO.TEMP
Management class . . . (Blank for default management class)
Storage class . . . . (Blank for default storage class)
Volume serial . . . . (Blank for system default volume) **
Device type . . . . . (Generic unit or device address) **
Data class . . . . . . (Blank for default data class)
Space units . . . . . CYLINDER (BLKS, TRKS, CYLS, KB, MB, BYTES
or RECORDS)
Average record unit (M, K, or U)
Primary quantity . . 1 (In above units)
Secondary quantity 1 (In above units)
Directory blocks . . 0 (Zero for sequential data set) *
Record format . . . . FB
Record length . . . . 20
Block size . . . . .
Data set name type : (LIBRARY, HFS, PDS, or blank) *
(YY/MM/DD, YYYY/MM/DD
|
Regards
Vishal |
|
Back to top |
|
|
sureshchoudey
New User
Joined: 16 Sep 2005 Posts: 12
|
|
|
|
I think best option type infornt of member xdc, then after asking the data set name and member name. where u want store the spool data and store it |
|
Back to top |
|
|
cpuhawg
Active User
Joined: 14 Jun 2006 Posts: 331 Location: Jacksonville, FL
|
|
|
|
One more option. You can preallocate a dataset. Then go into SDSF and select the listing or part of the listing you want to place in the dataset.
On the command line, enter each command one a time:
PRINT ODSN 'HLQ.DATA.SET'
PRINT
PRINT CLOSE
If you want to place only part of the listing into the dataset, the 2nd PRINT may be coded:
PRINT 40 180 (to capture only lines 40 through 180) |
|
Back to top |
|
|
punith007 Warnings : 1 New User
Joined: 16 May 2006 Posts: 11 Location: INDIA
|
|
|
|
I think this is what the author is looking for.............
//SYSOUT DD SYSOUT=give the output data set name
if it is a new one also give disp=new,dcb=...parameteres as well |
|
Back to top |
|
|
ratheeshar
New User
Joined: 19 May 2006 Posts: 1
|
|
|
|
i ve one problem reg. this. all these above solution s are applicable only to SDSF. how can i do these in "$avers" for a job which has already ran.
can i get SYSOUT from "$avers" to a dataset ? |
|
Back to top |
|
|
kregen
New User
Joined: 16 Mar 2006 Posts: 21
|
|
|
|
I use this Step,
//*---------------------------------------------------------------
//* WRITING JOB OUTPUT TO DISK
//*---------------------------------------------------------------
//SAVEOUT EXEC PGM=IKJEFT1B
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
OUTPUT DV20HEY# PRINT(DS123456)
You find the JOBOUTPUT: DV20HEY.DS123456.OUTPUT
I hope it`s helps
kai |
|
Back to top |
|
|
Ravi Rao
New User
Joined: 28 Feb 2006 Posts: 3
|
|
|
|
If you are talking of copying IOF outputs to datasets then this can be achieved by selecting the job in IOF and then type SD at command line and hit enter. This should throw up a new panel where you can give the name of a dataset and allocate tracks to it. After this hit enter and this takes you back to the selected job. Here at command line you can type SNAP and hit enter and the all the data from the job will be captured in the dataset. |
|
Back to top |
|
|
likki
New User
Joined: 04 Jul 2006 Posts: 5
|
|
|
|
gud solutions by all.........xdc is da best way but..........dont repeat da same solution again and again by diff users...........dont repeat da solution,as wat i did............
likki |
|
Back to top |
|
|
Asif Iqbal
New User
Joined: 17 May 2005 Posts: 27 Location: Pune, India.
|
|
|
|
vijayamadhuri wrote: |
Hi suppose u want to copy the sysout
just put the command xdc next to it
it will ask u the name of the dataset into which it should be copied |
I tried to implement what vijayamadhuri suggested but its not working in my shop.
Could you please clarify it with some screen shot, I think I am not putting the XDC at the accurate place.
Shall be thankful for your reply
Regards,
Asif |
|
Back to top |
|
|
Nithinra
New User
Joined: 03 Jul 2006 Posts: 11
|
|
|
|
Hi,
XDC should work.
Regards,
Nithin |
|
Back to top |
|
|
avelayudhan
New User
Joined: 30 Nov 2005 Posts: 26
|
|
|
|
I think you can type 'XD' at the SDSF panel as a line command on the sysout that you want a print of. This will open a a new panel where you can give DD and dispostion of the file where you want to write the output to.?? |
|
Back to top |
|
|
|