problem in OUTREC of SyncSort in variable length file



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

problem in OUTREC of SyncSort in variable length file

Postby kamal » Tue Dec 11, 2007 8:45 pm

//SORT1   EXEC PGM=SORT                                           
//SORTWK01 DD UNIT=SYSDA,SPACE=(CYL,(15),,CONTIG)                 
//SORTWK02 DD UNIT=SYSDA,SPACE=(CYL,(15),,CONTIG)                 
//SORTWK03 DD UNIT=SYSDA,SPACE=(CYL,(15),,CONTIG)                 
//SORTWK04 DD UNIT=SYSDA,SPACE=(CYL,(15),,CONTIG)                 
//SORTWK05 DD UNIT=SYSDA,SPACE=(CYL,(15),,CONTIG)                 
//SORTWK06 DD UNIT=SYSDA,SPACE=(CYL,(15),,CONTIG)                 
//SORTIN   DD DSN=INPUT.VBFILE,DISP=SHR             
//SORTOUT  DD SYSOUT=*
//SYSOUT   DD SYSOUT=*                                             
//SYSIN    DD *                                                   
   SORT  FIELDS=(5,8,CH,A)                                         
   OUTREC FIELDS=(5,8,48,9)                                       
//   


the Input file is a VB 6004 (6000+4) file
we want a listing of values at pos 1-8 and 44-9 in output file

The JCL above is failing with msg:


 SORT  FIELDS=(5,8,CH,A)                                             
 OUTREC FIELDS=(5,8,48,9)                                           
R276B  SYSDIAG= 6088053, 8372574, 8372574, 4403637                   
R164B  23,424K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,   
R164B     0 BYTES RESERVE REQUESTED, 1,004K BYTES USED               
R146B  20K BYTES OF EMERGENCY SPACE ALLOCATED                       
R108I  SORTIN   : RECFM=VB   ; LRECL=  6004; BLKSIZE= 27998         
R235A  OUTREC   RDW NOT INCLUDED                                     
R211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                         
R449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE   
kamal
 
Posts: 48
Joined: Wed Aug 22, 2007 2:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: problem in OUTREC of SORT in variable length file

Postby MrSpock » Tue Dec 11, 2007 11:14 pm

Did you lookup the error message:

WER235A OUTREC RDW NOT INCLUDED
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: problem in OUTREC of SyncSort in variable length file

Postby kamal » Wed Dec 12, 2007 12:30 pm

Yes I did...but didn't understand.

What changes will have to be made in JCL...why ?

Please help.
kamal
 
Posts: 48
Joined: Wed Aug 22, 2007 2:49 pm
Has thanked: 0 time
Been thanked: 0 time

Re: problem in OUTREC of SyncSort in variable length file

Postby MrSpock » Wed Dec 12, 2007 3:23 pm

I don't have the SYNCSORT product, nor do I have access to the product documentation, but I think you need to include the RDW in your control statements:

   OUTREC FIELDS=(1,4,5,8,48,9)
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post