Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
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    Post subject: 0c logical vsam error with RC=16 when sorting QSAM to VSAM
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 02, 2007 3:46 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 02, 2007 4:27 pm    Post subject:
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Wed May 02, 2007 5:01 pm    Post subject:
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    Post subject: Reply to: 0c logical vsam error with RC=16 when sorting QSAM
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: 2150
Location: At my coffee table

PostPosted: Sun May 18, 2008 9:07 pm    Post subject: Re: Reply to: 0c logical vsam error with RC=16 when sorting
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

Site Director


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

PostPosted: Mon May 19, 2008 2:13 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts DB2 Program abending without giving a... rahulgarg14 DB2 7 Mon May 29, 2017 8:10 pm
No new posts Sorting of hex values Saurabh_mi DFSORT/ICETOOL 11 Thu May 25, 2017 3:49 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us