MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Syncsort parasort error

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
pete
Beginner


Joined: 02 Dec 2002
Posts: 22
Topics: 9
Location: www.state.ct.us

PostPosted: Fri Nov 12, 2004 8:15 pm    Post subject: Syncsort parasort error Reply with quote

Anyone get parasort working.... I'm getting a message that doesn't like the SORTPARx DD's ... (Don't mind the symbolics, I pasted JCL from my PDS.
JCL
Code:
//PAD0052  EXEC PGM=SORT,PARM='PARASORT',                 
//         TIME=&MAXTIME,REGION=&MREGION                 
//SORTMSG  DD SYSOUT=&JCLCLS                             
//SYSOUT   DD SYSOUT=&JCLCLS                             
//SYSUDUMP DD SYSOUT=&DUMPCLS                             
//SORTIN   DD DSN=FLHFXXX.XXX000XX.ADMRPTS.CYC002,DISP=(OLD,KEEP),
//         UNIT=(T80,,DEFER)                             
//SORTPAR1 DD DSN=*.SORTIN,   
//            DISP=OLD,       
//            UNIT=AFF=SORTIN 
//SORTPAR2 DD DSN=*.SORTIN,   
//            DISP=OLD,       
//            UNIT=AFF=SORTIN   


Error

Code:
SYNCSORT FOR Z/OS  1.1BR   TPF1A  U.S. PATENTS: 4210961, 5117495  (C) 2002 SYNC
                              xyz  SYNSORT FOR Z/OS 1.1   z/OS   
PRODUCT LICENSED FOR CPU SERIAL NUMBER 70AFC, MODEL 2064 105              LICEN
SYSIN :                                                                       
 SORT FIELDS=(15,3,BI,A,35,15,BI,A,18,4,BI,A,5,10,BI,A),NOEQUALS,             
      SIZE=E5000000,DYNALLOC=(PRDWRK)                                         
WER164B  15,252K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,           
WER164B     0 BYTES RESERVE REQUESTED, 920K BYTES USED                         
WER146B  104K BYTES OF EMERGENCY SPACE ALLOCATED                               
WER108I  SORTIN   :  RECFM=VB   ; LRECL= 19476; BLKSIZE= 23476                 
WER110I  SORTOUT  :  RECFM=VB   ; LRECL= 19476; BLKSIZE= 23476                 
WER453A  FOR PARASORT SORTPAR2-4 UNITS CANNOT BE THE SAME AS THE SORTIN UNIT   
WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                                 
WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE                                 
******************************* Bottom of Data ********************************

_________________
Regards,
Pete.
Back to top
View user's profile Send private message
pete
Beginner


Joined: 02 Dec 2002
Posts: 22
Topics: 9
Location: www.state.ct.us

PostPosted: Sat Nov 13, 2004 2:55 pm    Post subject: Parasort works now. Reply with quote

If anyone is interested, please let me know.
_________________
Regards,
Pete.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12376
Topics: 75
Location: San Jose

PostPosted: Sun Nov 14, 2004 7:20 pm    Post subject: Reply with quote

pete,

You only need the UNIT=AFF=SORTIN parm ONLY on the SORTPAR1. For the rest of SORTPARn's you need to specify it as follows.

Code:

//SORTPARn DD DSN=*.SORTIN,DISP=(,KEEP,KEEP),
//            VOL=PRIVATE,UNIT=(xxxx,y,DEFER)


Please refer chapter 10 of syncsort manual for a detailed explanation of parasort.

Hope this helps...

Cheers

kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
pete
Beginner


Joined: 02 Dec 2002
Posts: 22
Topics: 9
Location: www.state.ct.us

PostPosted: Sun Nov 14, 2004 8:19 pm    Post subject: Reply with quote

Thank You Kolusu. What you show was the key.
_________________
Regards,
Pete.
Back to top
View user's profile Send private message
Siva
Beginner


Joined: 28 Apr 2003
Posts: 7
Topics: 0

PostPosted: Thu Apr 05, 2007 10:05 am    Post subject: Reply with quote

As my problem is similar to Pete's, I am posting it here:

I am trying to change one of my jobs to use PARASORT and as per the manual I added the SORTPARn cards as follows:

Code:

//SORTETRN EXEC PGM=SORT,PARM='PARASORT,NOEQUALS'                   
//SORTIN DD DSN=MYFILE,DISP=OLD,UNIT=(,2,DEFER)       
//SORTPAR1 DD DSN=*.SORTIN,DISP=OLD,UNIT=AFF=SORTIN                 
//SORTPAR2 DD DSN=*.SORTIN,DISP=(,KEEP,KEEP),UNIT=(TAPE,2,DEFER),   
//        VOL=PRIVATE                                               
//SORTPAR3 DD DSN=*.SORTIN,DISP=(,KEEP,KEEP),UNIT=(TAPE,2,DEFER),   
//        VOL=PRIVATE                                               
//SORTPAR4 DD DSN=*.SORTIN,DISP=(,KEEP,KEEP),UNIT=(TAPE,2,DEFER),   
//        VOL=PRIVATE                                               


When I submit the code, I am getting a JCL error
Code:

"SORTPAR2 - DISP FIELD INCOMPATIBLE WITH DSNAME "

I believe DISP=(,KEEP,KEEP) is considered as (NEW, KEEP,KEEP) and hence this is happening.

I changed the DISP=OLD and now I am getting same error as what Pete got.
"FOR PARASORT SORTPAR2-4 UNITS CANNOT BE THE SAME AS THE SORTIN UNIT "

Any help is appreciated. Thanks a lot.
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Thu Apr 05, 2007 11:03 am    Post subject: Reply with quote

Quote:

"SORTPAR2 - DISP FIELD INCOMPATIBLE WITH DSNAME "

Siva,

What is the code that precedes the error message?
Also, what level of SyncSort and the Operating System are you running?
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
Siva
Beginner


Joined: 28 Apr 2003
Posts: 7
Topics: 0

PostPosted: Thu Apr 05, 2007 1:49 pm    Post subject: Reply with quote

IEF286I - is the message code

ICH70001I XXXXXX LAST ACCESS AT 10:49:57 ON THURSDAY, APRIL 5, 2007
IEF286I XXXXXXT1 SORTETRN SORTPAR2 - DISP FIELD INCOMPATIBLE WITH DSNAME
IEF272I XXXXXXT1 SORTETRN - STEP WAS NOT EXECUTED.

We are on z/OS and I am not sure about the level of sycnsort. This is what I see in the SYSOUT:

SYNCSORT FOR Z/OS 1.1CR TPF3A U.S. PATENTS: 4210961, 5117495

Thanks in Advance
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Fri Apr 06, 2007 9:52 am    Post subject: Reply with quote

But which release of the z/OS operating system?
Back to top
View user's profile Send private message Send e-mail
Siva
Beginner


Joined: 28 Apr 2003
Posts: 7
Topics: 0

PostPosted: Fri Apr 06, 2007 9:55 am    Post subject: Reply with quote

I believe we are on Z/OS 1.7
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Fri Apr 06, 2007 11:36 am    Post subject: Reply with quote

Siva, is SORTIN a GDG?
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
Siva
Beginner


Joined: 28 Apr 2003
Posts: 7
Topics: 0

PostPosted: Fri Apr 06, 2007 2:49 pm    Post subject: Reply with quote

Yes. It is a GDG (on Tape, Multi volume).

After seeing your question, I tested with a regular multi volume tape and it worked fine! Thanks for solving the mystery.

So, is there a workaround to use PARASORT for multivolume tape GDGs..Appreciate your help.
Back to top
View user's profile Send private message
Siva
Beginner


Joined: 28 Apr 2003
Posts: 7
Topics: 0

PostPosted: Fri Apr 06, 2007 3:04 pm    Post subject: Reply with quote

Also, as an fyi, for the file I had issues, i tried using the whole file name (including the generation) and it worked fine.

I run into issues only when I try to code the relative generation
TGDG.XXX.YYYY(0) - doesnot work Sad
TGDG.XXX.YYYY.G0001V00 - No issues

But I want to do this PARASORT change to a job in production cycle and each week the generation changes. Well, I can code a Rexx or CLIST to allocate the complete name to SORTIN and call SORT dynamically. However, before doing so, I would like to take your suggestion, is there any direct solution that I can try?
Back to top
View user's profile Send private message
amargulies
Beginner


Joined: 10 Jan 2007
Posts: 123
Topics: 0

PostPosted: Fri Apr 06, 2007 3:16 pm    Post subject: Reply with quote

It's a limitation in the way the system works. With Parasort we need to open the same dataset multiple times on different drives. With a relative reference to a GDG, this is not possible. Your REXX/CLIST approach would be an appropriate resolution.
_________________
Alissa Margulies
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Back to top
View user's profile Send private message Send e-mail
Siva
Beginner


Joined: 28 Apr 2003
Posts: 7
Topics: 0

PostPosted: Mon Apr 09, 2007 9:47 am    Post subject: Reply with quote

Thank You. I will go with a REXX code.

PS: I tested and found that for my file PARASORT indeed cut down the CPU time by 30%.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group