SYNCSORT Parse Error



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

SYNCSORT Parse Error

Postby jayind » Fri Aug 01, 2008 12:53 pm

I have a ';' delimited variable length file which I would like to change it to a fixed length file. I have used the PARSE statement but getting a systax error.. I have pasted below the error message.. I assume this error is because of the SYNCSORT version.. if this is because of SYNCSORT, is there an alternative way to perform the same task?

Error Message:

1 SYNCSORT FOR Z/OS  1.2.2.3R    U.S. PATENTS: 4210961, 5117495   (C) 2005 SYNCS
  SYSIN :                                                                       
   OUTREC PARSE=(%01=(ENDBEFR=C';',FIXLEN=8),                                   
          *                                                                     
   %02=(ENDBEFR=C';',FIXLEN=3),                                                 
   %03=(ENDBEFR=C';',FIXLEN=3),                                                 
   %04=(ENDBEFR=C';',FIXLEN=6),                                                 
   %05=(FIXLEN=10)),                                                           
   BUILD=(%01,09:%02,12:%03,15:%04,21:%05)                                     
  WER268A  OUTREC STATEMENT  : SYNTAX ERROR                                     
  WER211B  SYNCSMF  CALLED BY SYNCSORT; RC=0000                                 
  WER449I  SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE 


Regards,
jayind
jayind
 
Posts: 62
Joined: Wed Apr 23, 2008 1:37 pm
Location: Chennai, India
Has thanked: 0 time
Been thanked: 0 time

Re: SYNCSORT Parse Error

Postby dick scherrer » Sat Aug 02, 2008 3:07 am

Hello,

You are running Syncsort 1.2x. Parse requires Syncsort 1.3.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: SYNCSORT Parse Error

Postby MrSpock » Sat Aug 02, 2008 8:12 am

jayind wrote:is there an alternative way to perform the same task?


SAS is quite adept at reading and processing delimited files. So is REXX.
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: SYNCSORT Parse Error

Postby dick scherrer » Sat Aug 02, 2008 8:42 am

Hello,

If you are willing to write a bit of code, COBOL will also do this.

The UNSTRING statement will do what you require.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post