IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

0c logical vsam error with RC=16 when sorting QSAM to VSAM


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Shrimathi Krishnan

New User


Joined: 19 Apr 2007
Posts: 39
Location: Chennai

PostPosted: Wed May 02, 2007 3:19 pm
Reply with quote

Hi all

I encountered an error. Thought of sharing it with you!!!

I was trying to sort and write the records from QSAM file to VSAM file. But i got the error 0c logical vsam error with RC=16

It was because of the sort fields mentioned. The file actually takes first three fields together as a key while the sort card had only two sort keys..

Rgds
Shri
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 02, 2007 3:46 pm
Reply with quote

Quote:
I encountered an error. Thought of sharing it with you!!!

WOW - thank you.

What were the error messages given by the SORT, and what did the manual say about them ?
Back to top
View user's profile Send private message
Shrimathi Krishnan

New User


Joined: 19 Apr 2007
Posts: 39
Location: Chennai

PostPosted: Wed May 02, 2007 3:57 pm
Reply with quote

Hi

VSAM LOGICAL ERROR 0C ON OUTPUT -- This was the message in the spool.. I think 0C is for 0 count on output. Am i right??

I just browsed for the error The message was

012(0C) You attempted to store a record out of Ascending Key Sequence
in Skip-Sequential Mode; record had a Duplicate Key; for
Skip-Sequential processing your GET, PUT, and POINT Requests
are not referencing records in Ascending Sequence; or, for
Skip-Sequential Retrieval, the key requested is lower than the
previous key requested. For Shared Resources, buffer pool is full.


Rgds
Shri
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 02, 2007 4:27 pm
Reply with quote

So what happens when you sort the records on the key defined for the VSAM file ? i.e. The first three fields, as you have said.
Back to top
View user's profile Send private message
Shrimathi Krishnan

New User


Joined: 19 Apr 2007
Posts: 39
Location: Chennai

PostPosted: Wed May 02, 2007 4:43 pm
Reply with quote

Hi

The job ran fine and i got the expected output

Rgds
Shri
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed May 02, 2007 5:01 pm
Reply with quote

Well, hopefully your post might help somebody with a similar error in the future.
Back to top
View user's profile Send private message
vishnu.priya

New User


Joined: 28 Nov 2007
Posts: 11
Location: hyderabad

PostPosted: Sun May 18, 2008 8:42 pm
Reply with quote

hi Shrimathi Krishnan,
can u plzz explain me about this error even i got the same error
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Sun May 18, 2008 9:07 pm
Reply with quote

vishnu.priya wrote:
can u plzz explain me about this error even i got the same error
Did you read the entire thread and see the solution already posted?

expat wrote:
Well, hopefully your post might help somebody with a similar error in the future.
It seems not to be the case.... icon_rolleyes.gif
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Mon May 19, 2008 2:13 am
Reply with quote

Hello vishnu.priya, and welcome to the forums,

Have you resolved the problem?

If not, make sure your qsam file is completly in sequence by the vsam key and that there are no duplicates.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Rotate partition-logical & physic... DB2 0
Search our Forums:

Back to Top