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
 
Copying VSAM to QSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: Copying VSAM to QSAM
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    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Mon Apr 06, 2009 1:54 pm    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Mon Apr 06, 2009 5:12 pm    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Mon Apr 06, 2009 8:35 pm    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Mon Apr 06, 2009 8:47 pm    Post subject:
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    Post subject: Reply to: Copying VSAM to QSAM
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

Site Director


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

PostPosted: Tue Apr 07, 2009 9:56 am    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 07, 2009 11:25 am    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Tue Apr 07, 2009 4:35 pm    Post subject:
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: 8593
Location: Back in jolly old England

PostPosted: Tue Apr 07, 2009 6:26 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts copying data without knowing location Arun Raj DFSORT/ICETOOL 12 Thu Jul 20, 2017 1:03 pm
No new posts VSAM Space Allocation mrgnndhmk JCL & VSAM 7 Sat Apr 22, 2017 12:42 am

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