IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

SYNCSORT Availability of PARSE


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Manuneedhi K

Active User


Joined: 07 May 2008
Posts: 115
Location: Chennai

PostPosted: Mon Jun 16, 2008 9:04 pm
Reply with quote

Alissa,

Can you confirm the version of SYNCSORT after which the PARSE function is available. We have SYNCSORT FOR Z/OS 1.2.3.1R here but the PARSE statement doesn't work.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Mon Jun 16, 2008 9:25 pm
Reply with quote

Manuneedhi,

PARSE is fully supported in SyncSort for z/OS 1.3.0.0 and later.
Back to top
View user's profile Send private message
Manuneedhi K

Active User


Joined: 07 May 2008
Posts: 115
Location: Chennai

PostPosted: Mon Jun 16, 2008 9:28 pm
Reply with quote

Thanks Alissa.
Back to top
View user's profile Send private message
ami777us

New User


Joined: 06 Apr 2007
Posts: 33
Location: USA

PostPosted: Tue Apr 19, 2011 2:35 am
Reply with quote

PARSE is throwing syntax error with Syncsort version 1.4.0

SYNCSORT FOR Z/OS 1.4.0.0R U.S. PATENTS: 421096

SYNCSORT LICENSED FOR CPU SERIAL NUMBER xxxxx, MODE
SYSIN :
SORT FIELDS=COPY
INREC PARSE=(%00=(ENDBEFR=X'6A',FIXLEN=10),
%01=(ENDBEFR=X'6A',FIXLEN=09),
%02=(ENDBEFR=X'6A',FIXLEN=01),
%03=(ENDBEFR=X'6A',FIXLEN=10),
%04=(ENDBEFR=X'6A',FIXLEN=01),
%05=(ENDBEFR=X'6A',FIXLEN=10),
BUILD=(%00,%01,%02,%03,%04,%05)
*
WER268A INREC STATEMENT : SYNTAX ERROR
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Apr 19, 2011 2:52 am
Reply with quote

It MIGHT also be because you're missing at least one closing parenthese, probably where indicated to end the PARSE statement, before the BUILD statement.
Back to top
View user's profile Send private message
Alissa Margulies

SYNCSORT Support


Joined: 25 Jul 2007
Posts: 496
Location: USA

PostPosted: Tue Apr 19, 2011 2:54 am
Reply with quote

It appears that you are missing a paired close parenthesis before the BUILD statement.

Try the following:
Code:
INREC PARSE=(%00=(ENDBEFR=X'6A',FIXLEN=10),
%01=(ENDBEFR=X'6A',FIXLEN=09),
%02=(ENDBEFR=X'6A',FIXLEN=01),
%03=(ENDBEFR=X'6A',FIXLEN=10),
%04=(ENDBEFR=X'6A',FIXLEN=01),
%05=(ENDBEFR=X'6A',FIXLEN=10)),
BUILD=(%00,%01,%02,%03,%04,%05)
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Compare only first records of the fil... SYNCSORT 7
No new posts Count Records with a crietaria in a f... DFSORT/ICETOOL 5
No new posts DFSORT/SYNCSORT/ICETOOL JCL & VSAM 8
No new posts INREC PARSE used to sort a CSV file DFSORT/ICETOOL 2
Search our Forums:

Back to Top