View previous topic :: View next topic
|
Author |
Message |
Manuneedhi K
Active User
Joined: 07 May 2008 Posts: 115 Location: Chennai
|
|
|
|
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 |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
Manuneedhi,
PARSE is fully supported in SyncSort for z/OS 1.3.0.0 and later. |
|
Back to top |
|
|
Manuneedhi K
Active User
Joined: 07 May 2008 Posts: 115 Location: Chennai
|
|
|
|
Thanks Alissa. |
|
Back to top |
|
|
ami777us
New User
Joined: 06 Apr 2007 Posts: 33 Location: USA
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Alissa Margulies
SYNCSORT Support
Joined: 25 Jul 2007 Posts: 496 Location: USA
|
|
|
|
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 |
|
|
|