View previous topic :: View next topic |
Author |
Message |
kalpanas Beginner
Joined: 21 Apr 2006 Posts: 2 Topics: 1
|
Posted: Tue Feb 10, 2009 3:55 am Post subject: SORT : Trying to convert vsam dataset |
|
|
Hi all,
I am trying to convert the vsam ksds file from record length 80 to 81.
And trying to pad 1 space at the 81st position.
After I did some search in this forum iam trying to use the below jcl. Code: |
//JSTEP010 EXEC PGM=SORT
//SYSPRINT DD SYSOUT=*
//SORTIN DD DSN=vsam file(fb/80),DISP=SHR
//SORTOUT DD DSN=Empty vsam file (fb/81),disp=shr
//SYSOUT DD SYSOUT=*
//SYSIN DD *
RECORD TYPE=F,Length=(81)
OPTION COPY
OUTREC OVERLAY=(81:C' ')
/* |
Job ended with maxcc=16, giving error message in sysout as shown below.
Code: |
WER108I SORTIN : RECFM=F ; LRECL= 80; CISIZE = 8192
WER237I OUTREC RECORD LENGTH = 81
WER110I SORTOUT : RECFM=F ; LRECL= 81; CISIZE = 8192
WER410B 4,108K BYTES OF VIRTUAL STORAGE AVAILABLE ABOVE THE 16MEG LINE
WER410B 0 BYTES RESERVE REQUESTED, 688K BYTES USED
WER254A SORTOUT VSAM OPEN ERROR -- E8
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
WER449I SYNCSORT GLOBAL DSM SUBSYSTEM ACTIVE
|
1) If I don |
|
Back to top |
|
 |
superk Advanced

Joined: 19 Dec 2002 Posts: 684 Topics: 5
|
Posted: Tue Feb 10, 2009 6:25 am Post subject: |
|
|
What does your SYNCSORT manual have to say about the error:
WER254A SORTOUT VSAM OPEN ERROR -- E8 |
|
Back to top |
|
 |
Brian Wood Beginner
Joined: 14 Jan 2009 Posts: 37 Topics: 0 Location: USA
|
Posted: Tue Feb 10, 2009 11:20 am Post subject: |
|
|
The E8 is a Reason Code issued by VSAM that indicates that RESET was specified for a non-reusable VSAM data set, and that the data set is empty. SyncSort is reporting the VSAM OPEN error in the WER254A message.
Try passing the parameter NORESET. This can be passed on the EXECute statement, as follows:
//JSTEP010 EXEC PGM=SORT,PARM='NORESET'
RESET is probably in effect at your site as a SyncSort installation option. However, RESET should only be a factor if the VSAM SORTOUT data set was created with REUSE.
There are no known problems in SyncSort processing that would result in this error. Whether or not using the parameter NORESET helps, please contact me directly at zos_tech@syncsort.com and we will investigate further.
RECORD TYPE should aways be specified when using SyncSort to process VSAM data. _________________ Brian Wood
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com |
|
Back to top |
|
 |
Brian Wood Beginner
Joined: 14 Jan 2009 Posts: 37 Topics: 0 Location: USA
|
Posted: Tue Feb 10, 2009 11:24 am Post subject: |
|
|
Correction to my last post: The E8 indicates that the data set is NOT empty. _________________ Brian Wood
SyncSort Mainframe Product Services
201-930-8260
zos_tech@syncsort.com |
|
Back to top |
|
 |
kalpanas Beginner
Joined: 21 Apr 2006 Posts: 2 Topics: 1
|
Posted: Tue Feb 10, 2009 5:55 pm Post subject: |
|
|
Hi Brian and Superk,
I am able to run the job successfully by passing the parameter 'NORESET' and I got the desired output file.
Thank you so much for your help. |
|
Back to top |
|
 |
|
|