View previous topic :: View next topic
|
Author |
Message |
Rijit
Active User
Joined: 15 Apr 2010 Posts: 168 Location: Pune
|
|
|
|
I am getting VSAM logical error while combining two files(file1 and file 2) and loading into a VSAM cluster in a SORT step.
Input files:
SORTIN01 - is a flat file
SORTIN02 - is another VSAM file
Code: |
XXPS0304 EXEC PGM=SORT
XXSYSOUT DD SYSOUT=*
XXSORTIN01 DD DISP=SHR,DSN=&HLQ1..&MIDENV..PLUS.PS41
XXSORTIN02 DD DISP=SHR,DSN=&HLQ2..GCS.GCSPS41.PS41,
XX AMP='BUFND=121,BUFNI=1'
XXSORTOUT DD DISP=SHR,DSN=&HLQ2..GCS.GCSPS41.PS41.ALT,
XX AMP='BUFND=121,BUFNI=4'
XXSYSIN DD DSN=&PARMLIB(&MEM),DISP=SHR
sysin card contents
MERGE FIELDS=(1,28,CH,A),EQUALS
RECORD TYPE=F
SUM FIELDS=NONE
|
Error message in Sysout
Code: |
WER255A VSAM LOGICAL ERROR 1C ON OUTPUT
WER211B SYNCSMF CALLED BY SYNCSORT; RC=0000
|
If anyone worked in this type of abend in past please help or let me know your suggestions
Thanks[/code] |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
WER255A VSAM LOGICAL ERROR xx ON {INPUT,OUTPUT}
EXPLANATION: An error occurred while processing a VSAM data set.
For the definition of the hexadecimal error number represented by xx,
see the following IBM publication:
• DFSMS Macro Instructions for Data Sets
Note: If xx is 0C or 08 on output, it is likely that the VSAM output data
set was created with REUSE, the VSAM data set is not empty, and
RESET is not in effect. Pass the parameter RESET as a possible solution. |
|
Back to top |
|
|
Rijit
Active User
Joined: 15 Apr 2010 Posts: 168 Location: Pune
|
|
|
|
I checked the below IBM website link
publib.boulder.ibm.com/infocenter/zos/v1r11/index.jsp?topic=/com.ibm.zos.r11.idad500/dgt2d560.htm
here for logical error 1C we haev 2 entries. I am confused which one will be applicable in my case
RPLRTNCD code Condition
28(X'1C') A CI split for the CI with the RBA acquired from RPLDDDD which was interrupted. The CI was read as nonupdate with address access. This warning condition indicates that duplicate data records may exist.
RPLERRCD code Symbol Condition
28(X'1C') RPLNOEXT Data set cannot be extended because VSAM cannot allocate additional direct-access storage space. Either there is not enough space left in the data space for the secondary-allocation request or an attempt was made to increase the size of a data set by splitting the control area (high used RBA change) during processing with SHROPT=4 and DISP=SHR.
I am not sure if it is a data related issue or VSAM cluster defination related issue.
Thanks
[/quote] |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Please post a LISTCAT of the two VSAM datasets. In the Code tags. |
|
Back to top |
|
|
Rijit
Active User
Joined: 15 Apr 2010 Posts: 168 Location: Pune
|
|
|
|
Hi,
I am sure now that it is not a data issue. I changed the control card for del/define step for the sortout VSAM and reran del/define . Then ran the load step with the same input files. It went fine. My new control has more cylinders and CISZ has been doubled.
thanks |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
The old "up the space" and repeat until it works . . . This is OK for a prototype/test but i suggest you do some analysis and determine the proper allocation before this is promoted to Production. |
|
Back to top |
|
|
|