Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts FTP Skip or ignore error and process ... AJAYREDDY All Other Mainframe Topics 3 Wed Sep 27, 2017 8:12 pm
No new posts Assembler Macro Copybook converted to... Ziquilix PL/I & Assembler 4 Tue Sep 26, 2017 3:07 am
No new posts FUSE - IBM MQ - CICS integration error Kevin Vaz CICS 1 Mon Sep 18, 2017 4:31 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us