View previous topic :: View next topic
|
Author |
Message |
hedonist
New User
Joined: 08 Jun 2005 Posts: 3
|
|
|
|
Hi
Can anyone help me :
I am submitting a job and creating a DS..but that is empty
all the records I am able to see in Spool
How to copy the spool data into a DS ?
Is there any utility in JCL by which I can copy spool to a DS |
|
Back to top |
|
|
Deepa.m
New User
Joined: 28 Apr 2005 Posts: 99
|
|
|
|
you can copy the spool records by typing XD and then give the DS name where you want the print output.
Open your Job in the spool
type XD in SYSOUT(where u have records to copy) and enter
eg:
JESMSGLG JES2
JESJCL JES2
JESYSMSG JES2
C1MSGS1 NDVRBAT
C1MSGS2 NDVRBAT
CWPERRM CBLPOSTP
CWPPRTO CBLPOSTP
XD SYSOUT CBLPOSTP
and then in the screen give the details
Data set name ===> <DS name>
Member to use ===>
Disposition ===> (OLD, NEW, SHR, MOD)
it gets copied to the DS..you have to close after printing.
[/img] |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
Back to top |
|
|
shailendra
New User
Joined: 08 Jun 2005 Posts: 10 Location: Pune
|
|
|
|
Hi,
You can copy a sysout of the job you submitted by typing XDC against it. After pressing enter the new screen will pop up, there you need to write a dataset name. It will copy the contents into that dataset.
Let me know if it helps you.
shailendra |
|
Back to top |
|
|
hedonist
New User
Joined: 08 Jun 2005 Posts: 3
|
|
|
|
with XDC i will be able to copy the whole spool to a DS which I have already done
But I want only the records to be copied to a DS thru a JCL utility |
|
Back to top |
|
|
kanak
Moderator
Joined: 12 Mar 2005 Posts: 252 Location: India
|
|
|
|
check the link i have given there you will find some other details aprt from XDC...it was discussed there. |
|
Back to top |
|
|
sudheer648
New User
Joined: 23 May 2005 Posts: 97 Location: Chennai
|
|
|
|
Hi hedonist,
Type Letter 'U' before the Sysout of the Job in SPOOL and gives you Panel asking you a dataset name a dump of the entire Sysout is taken into the dataset.
This is what the Log after testing of the pertivebrated jobs.
Hope it helps you.
Cheers,
Sudheer |
|
Back to top |
|
|
David P
Active User
Joined: 11 Apr 2005 Posts: 106 Location: Cincinnati Ohio
|
|
|
|
Hi hedonist,
Try this:
open the ddname of your job with option SE (edit mode)
then select the records you want to select by normal
copy block command cc - from and cc-to
then on the command line type CREATE and then press enter.
At this point the system will ask for the name of the data set along with the other properties, mention them as per your need.
Hope this should work for you.
regards,
David. |
|
Back to top |
|
|
vimalpvk
New User
Joined: 02 Jun 2005 Posts: 1
|
|
|
|
Hi,
Go to spool and type XDC against it. After pressing enter the new screen will pop up, there you need to mention the data set name which you need to copy. It will copy the contents into that dataset. then you can edit the dataset and delete unwanted stuff and keep what ever you want.
Let me know if it helps you.
Regards
Vimal |
|
Back to top |
|
|
|