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

Copying VSAM to QSAM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Saurabh Arora

New User


Joined: 18 Sep 2008
Posts: 5
Location: Noida

PostPosted: Mon Apr 06, 2009 1:47 pm
Reply with quote

I am getting return code of 12 while trying to copy one production vsam file into QSAM .I am using Repro utility and allocated the cyl as :
Code:
DD1 DD DSN=MY.VCS.F4529.TRXHIS1.KSDS,DISP=SHR
DD2 DD DSN=$J2U.OUTPUTX.TRXHIS1.KSDS,DISP=NEW,CATLG,DELETE),
            UNIT=SYSDA,SPACE=(CYL,(1000,1000),RLSE),
            DCB=(BUFNO=2,RECFM=VB,LRECL=20750,BLKSIZE=0)
It shows the msg as
Code:
** OPEN/CLOSE/EOV ABEND EXIT TAKEN
 MAXIMUM ERROR LIMIT REACHED.
Is there any method or utility by which we copy the production file by breaking it into blocks,because I believe it is not able to allocate the space to this production file while copying it.

Thanks!

Edited: Please use BBcode when You post some code/error, that's rather readable, Thanks... Anuj
Back to top
View user's profile Send private message
himanshu7

Active User


Joined: 28 Aug 2007
Posts: 131
Location: At Desk

PostPosted: Mon Apr 06, 2009 1:51 pm
Reply with quote

Quote:
It shows the msg as ** OPEN/CLOSE/EOV ABEND EXIT TAKEN
MAXIMUM ERROR LIMIT REACHED.


Before trying to repro can you verify your VSAM file and then try?

If at your shop there are any tools available like File-Aid or Star trying copying VSAm file through that..
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Mon Apr 06, 2009 1:54 pm
Reply with quote

Unless you post the actual error codes and messages no one will have a clue as to why the error occurs.

Phsycic day is Wednesday this week.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 06, 2009 5:12 pm
Reply with quote

Quote:
Phsycic day is Wednesday this week.
And here my mind was telling me Thursday was the day .... icon_biggrin.gif
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Mon Apr 06, 2009 8:33 pm
Reply with quote

expat wrote:

Phsycic day is Wednesday this week.
Last week psychic day was Friday. Why do you keep changing on us, expat? icon_lol.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 Apr 06, 2009 8:35 pm
Reply with quote

Hello and welcome to the forum,

The jcl posted is not from the run that had the abend - the posted jcl has a jcl error and would not execute. . .

Is there some reason the complete jcl and control statements were not posted?

When posting error messages, the message ids should also be posted.

What are the attributes for the vsam file?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Apr 06, 2009 8:47 pm
Reply with quote

Quote:
Is there any method or utility by which we copy the production file by breaking it into blocks,because I believe it is not able to allocate the space to this production file while copying it.
Actually, if you know the problem and your desired solution already, why do you need our input?

However, there's absolutely nothing in what you posted to indicate a space problem. There's usually some messages in the job log about running out of space (you know ... SE37, SB37, etc) but you didn't give us any of that. And whether or not you believe space to be the issue, without messages to confirm that I'm not convinced.
Back to top
View user's profile Send private message
Saurabh Arora

New User


Joined: 18 Sep 2008
Posts: 5
Location: Noida

PostPosted: Tue Apr 07, 2009 9:28 am
Reply with quote

Thanks for the Info and suggestions..
I apologise for not bringing my query in an appropriate manner,will try to post the queries/doubts in the correct form from next time.

The problem got resolved as I have created the module which is creating the 10 vsam files from the given production file on the basis of policy numbers..!!

And those vsam files are converting into qsam one by one using repro utility.

Thanks!
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: Tue Apr 07, 2009 9:56 am
Reply with quote

Good to hear it is working - thank you for posting your solution icon_smile.gif

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

Global Moderator


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

PostPosted: Tue Apr 07, 2009 11:25 am
Reply with quote

Terry Heinze wrote:
expat wrote:

Phsycic day is Wednesday this week.
Last week psychic day was Friday. Why do you keep changing on us, expat? icon_lol.gif

I only go by what I'm told ...... I'm not psychic you know icon_lol.gif
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Tue Apr 07, 2009 4:35 pm
Reply with quote

Quote:
only go by what I'm told ...... I'm not psychic you know
Another impression crushed ... icon_sad.gif
Back to top
View user's profile Send private message
expat

Global Moderator


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

PostPosted: Tue Apr 07, 2009 6:26 pm
Reply with quote

Robert Sample wrote:
Quote:
only go by what I'm told ...... I'm not psychic you know
Another impression crushed ... icon_sad.gif

I knew that you were going to say that icon_eek.gif
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Merge two VSAM KSDS files into third ... JCL & VSAM 6
No new posts CVDA value for RRDS VSAM dataset. CICS 2
No new posts VSAM return code 23 - for a Random read COBOL Programming 4
No new posts Open VSAM File in IMS DC Region - DFS... IMS DB/DC 0
Search our Forums:

Back to Top