SYNCSORT: Problem with OUTFIL CONVERT



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

SYNCSORT: Problem with OUTFIL CONVERT

Postby pmerc8888 » Thu Sep 11, 2008 6:41 pm

Greetings,

Could someone kindly help me figure out what I'm doing wrong. Syncsort version is: 1.2.2.1R

Following is part of the messages in SYSOUT:
SYSIN :                                                           
 SORT FIELDS=(5,6,CH,A)                                           
 OUTFIL OUTREC=(1:5,100),CONVERT                                 
WER164B  6,904K BYTES OF VIRTUAL STORAGE AVAILABLE, MAX REQUESTED,
WER164B     0 BYTES RESERVE REQUESTED, 1,012K BYTES USED         
WER146B  12K BYTES OF EMERGENCY SPACE ALLOCATED                   
WER108I  SORTIN   : RECFM=VB   ; LRECL=   374; BLKSIZE= 27998     
WER110I  SORTOUT  : RECFM=FB   ; LRECL=   120; BLKSIZE= 27960     
WER247A  SORTOUT  HAS INCOMPATIBLE LRECL                         
WER425A  CONVERT FEATURE CANNOT BE USED WITH OVERLAY OR IFTHEN   


Following is what the jobstep I'm executing kind of looks like:
//JS010    EXEC PGM=SORT                           
//SYSOUT    DD SYSOUT=*                             
//SORTOUT   DD DSN=OUTPUT,     
//             DISP=(NEW,CATLG,DELETE),             
//             UNIT=SYSDA,                         
//             SPACE=(CYL,(20,20),RLSE),           
//             DCB=(RECFM=FB,LRECL=120,BLKSIZE=0)   
//*                                                 
//SORTIN    DD DISP=SHR,DSN=IN1
//          DD DISP=SHR,DSN=IN2
//          DD DISP=SHR,DSN=IN3
//SYSIN    DD *                                     
 SORT FIELDS=(5,6,CH,A)                             
 OUTFIL OUTREC=(1:5,100),CONVERT                   
/*                                                 


Thanks for your time.

P
pmerc8888
 
Posts: 16
Joined: Thu Aug 14, 2008 4:06 pm
Location: China
Has thanked: 0 time
Been thanked: 0 time

Re: SYNCSORT: Problem with OUTFIL CONVERT

 

Re: SYNCSORT: Problem with OUTFIL CONVERT

Postby Alissa Margulies » Mon Sep 15, 2008 9:58 pm

pmerc8888,

You are specifying an LRECL of 120 in the DCB attributes for SORTOUT, yet you are only OUTRECing 100. This is causing the conflict. Removing the DCB you have hard-coded in the JCL for SORTOUT should resolve this issue.

Regards,
Alissa Margulies
Syncsort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com
Alissa Margulies
Global moderator
 
Posts: 369
Joined: Tue Feb 26, 2008 11:15 pm
Location: USA
Has thanked: 1 time
Been thanked: 1 time

Re: SYNCSORT: Problem with OUTFIL CONVERT

Postby pmerc8888 » Wed Sep 17, 2008 12:00 am

Thanks heaps, Alissa.

I tried specifying LRECL=100 and removing the DCB. As you would've expected, both worked.

:),
P
pmerc8888
 
Posts: 16
Joined: Thu Aug 14, 2008 4:06 pm
Location: China
Has thanked: 0 time
Been thanked: 0 time


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post