Peter,
The syntax for Parse looks a bit off. I am not sure about the syntax of
parse for syncsort but that is not a valid DFSORT syntax.
Try these control cards and see if it works. The changes are highlighted
in blue
//SYSIN DD *
OPTION COPY
INCLUDE COND=(1,1,CH,EQ,C' ',AND,33,6,CH,EQ,C'(NONE)')
OUTREC PARSE=(%00=(STARTAFT=BLANKS,ENDAT=BLANKS,FIXLEN=8)),
BUILD=(%00,72X)
//*
Thanks,
Kolusu
From: "Farley, Peter x23353" <[email protected]>
To: [email protected]
Date: 08/05/2016 03:47 PM
Subject: SYNCSORT S0C4 - What am I doing wrong please?
Sent by: IBM Mainframe Discussion List <[email protected]>
Hi All,
I have managed to get Syncsort to abend S0C4 with what I thought would be
a simple copy-select-reformat operation using the PARSE operand on an
OUTREC statement.
If anyone can tell me if my control cards are causing the issue I would
appreciate it. This is my first time trying to use the PARSE operand.
If not I will have to contact Syncsort Support on Monday (I have to go
through z/OS systems folk to get support and this isn't a production issue
so I can't justify using the on-call list).
My JCL and control cards are below. The SORTIN file is
RECFM=FBA,LRECL=133:
//REFORMAT EXEC PGM=SORT,PARM='EQUALS,MSDDD=SORTLIST'
//SORTLIST DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SORTIN DD DISP=SHR,DSN=&SYSUID..INPUT.FILE
//SORTOUT DD DISP=(NEW,CATLG,CATLG),
// DSN=&SYSUID..OUTPUT.FILE,
// UNIT=SYSDA,SPACE=(CYL,(5,5),RLSE),
// DSORG=PS,RECFM=FB,LRECL=080,BLKSIZE=0
//SYSIN DD *
OPTION COPY
INCLUDE COND=(1,1,CH,EQ,C' ',AND,33,6,CH,EQ,C'(NONE)')
OUTREC PARSE=(%00,STARTAFT=BLANKS,ENDAT=BLANKS,FIXLEN=8),
BUILD=(%00,72X)
//*
SORTLIST output is as follows (masked):
SYNCSORT FOR Z/OS 2.1.2.0N U.S. PATENTS: 4210961, 5117495 (C) 2014
SYNCSORT INC. DATE=2016/218 TIME=18.28.57
MY COMPANY z/OS 2.1.0
SYNCSORT LICENSED FOR CPU SERIAL NUMBER XXXXX, MODEL XXXX XXX
LICENSE/PRODUCT EXPIRATION DATE: 01 JUN 2017
SYSIN :
OPTION COPY
INCLUDE COND=(1,1,CH,EQ,C' ',AND,33,6,CH,EQ,C'(NONE)')
TIA for any help you can provide.
Peter
This message and any attachments are intended only for the use of the
addressee and may contain information that is privileged and confidential.
If the reader of the message is not the intended recipient or an
authorized representative of the intended recipient, you are hereby
notified that any dissemination of this communication is strictly
prohibited. If you have received this communication in error, please
notify us immediately by e-mail and delete the message and any attachments
from your system.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN