View previous topic :: View next topic
|
Author |
Message |
amitkoshti Warnings : 1 New User
Joined: 04 Oct 2006 Posts: 10 Location: Pune
|
|
|
|
While sorting I am getting following message
FOLLOWING RESERVED DATA SET NAMES UNAVAILABLE TO SORT
What is the reason? |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hey Amit,
Would u please provide ur jcl? |
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
Please check your DD name which you are giving for SORTING.
It might the case that different DD name would have been required.
As Ekta has mentioned please give us ur JCL so that we have better idea of problem.
Thanks,
Rajen Patel. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
What are the "FOLLOWING RESERVED DATA SET NAMES"? |
|
Back to top |
|
|
amitkoshti Warnings : 1 New User
Joined: 04 Oct 2006 Posts: 10 Location: Pune
|
|
|
|
amitkoshti wrote: |
While sorting I am getting following message
FOLLOWING RESERVED DATA SET NAMES UNAVAILABLE TO SORT
DSN=ABC.TEMP
DSN=ABC.JCL.CNTL
What is the reason? |
Here is the JCL
Code: |
//SORT1 JOB ?ACCT NO?,'ENV D',
// USER=&SYSUID,
// REGION=0M
//STEP1 EXEC PGM=SORT
/*
//SYSOUT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=ABC.TEMP,DISP=SHR
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(100,100))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(100,100))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(100,100))
//SORTOUT DD DSN=ABC.JCL.CNTL(SORTOUT),DISP=OLD
//SYSIN DD *
SORT FIELDS=(1,4,CH,A)
/*
|
|
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
//SORTOUT DD DSN=ABC.JCL.CNTL(SORTOUT),DISP=OLD
Make this as Flat file should be ABC.JCL.CNTL
Remove (SORTOUT) and run the job.
Thanks,
Rajen. |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi AMit,
Try to use any other member name except SORTOUT.
It should work |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Who is generating that message, there should be message id/error number in front. |
|
Back to top |
|
|
h.dinesh
New User
Joined: 06 Dec 2006 Posts: 46 Location: Chennai
|
|
|
|
Hi Amit,
I tried without giving these
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(100,100))
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(100,100))
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(100,100))
and it worked fine.
I tried your JCL and i got the same message which you got. I don't know why above statements are used but when I changed space parameters to exactly how I have for the PDS in which member is to be created, it worked fine. I don't have the explanation for this but would appreciate if someone could do so.
Dinesh |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
While sorting I am getting following message
FOLLOWING RESERVED DATA SET NAMES UNAVAILABLE TO SORT
DSN=ABC.TEMP
DSN=ABC.JCL.CNTL
What is the reason? |
Those messages indicate that those data sets were being used exclusively by some other application when you ran the sort job.
Removing the SORTWKs was not the reason it worked fine the next time. What probably happened is that the data sets were released by the time you reran the job. |
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
Hi Frank,
I guess amitkoshti is the one who had this problem and Williams has ran that job.
Amit can you please try rerun the job as Frank has mentioned.
Also please check if you can use different member name (other than SORTOUT).
I guess after resubmitting or chaging the member name it should work fine.
And please let us know if that worked or not so that even we would come to know the solution.
Thanks,
Rajen. |
|
Back to top |
|
|
amitkoshti Warnings : 1 New User
Joined: 04 Oct 2006 Posts: 10 Location: Pune
|
|
|
|
Hi All,
Thanx for you reply. I executed this job once again and it ran successfully.
I am agree with the Frank that tose messages indicate that those data sets were being used exclusively by some other application when you ran the sort job.
Regards
Amit |
|
Back to top |
|
|
|