MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

SORT : Trying to convert vsam dataset

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities
View previous topic :: View next topic  
Author Message
kalpanas
Beginner


Joined: 21 Apr 2006
Posts: 2
Topics: 1

PostPosted: Tue Feb 10, 2009 3:55 am    Post subject: SORT : Trying to convert vsam dataset Reply with quote

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
View user's profile Send private message
superk
Advanced


Joined: 19 Dec 2002
Posts: 684
Topics: 5

PostPosted: Tue Feb 10, 2009 6:25 am    Post subject: Reply with quote

What does your SYNCSORT manual have to say about the error:

WER254A SORTOUT VSAM OPEN ERROR -- E8
Back to top
View user's profile Send private message
Brian Wood
Beginner


Joined: 14 Jan 2009
Posts: 37
Topics: 0
Location: USA

PostPosted: Tue Feb 10, 2009 11:20 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
Brian Wood
Beginner


Joined: 14 Jan 2009
Posts: 37
Topics: 0
Location: USA

PostPosted: Tue Feb 10, 2009 11:24 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
kalpanas
Beginner


Joined: 21 Apr 2006
Posts: 2
Topics: 1

PostPosted: Tue Feb 10, 2009 5:55 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Utilities All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group