View previous topic :: View next topic
|
Author |
Message |
Saurabh Arora
New User
Joined: 18 Sep 2008 Posts: 5 Location: Noida
|
|
|
|
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 |
|
|
himanshu7
Active User
Joined: 28 Aug 2007 Posts: 131 Location: At Desk
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Phsycic day is Wednesday this week. |
And here my mind was telling me Thursday was the day .... |
|
Back to top |
|
|
Terry Heinze
JCL Moderator
Joined: 14 Jul 2008 Posts: 1249 Location: Richfield, MN, USA
|
|
|
|
expat wrote: |
Phsycic day is Wednesday this week. |
Last week psychic day was Friday. Why do you keep changing on us, expat? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
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 |
|
|
Saurabh Arora
New User
Joined: 18 Sep 2008 Posts: 5 Location: Noida
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Good to hear it is working - thank you for posting your solution
d |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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? |
I only go by what I'm told ...... I'm not psychic you know |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
only go by what I'm told ...... I'm not psychic you know |
Another impression crushed ... |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Robert Sample wrote: |
Quote: |
only go by what I'm told ...... I'm not psychic you know |
Another impression crushed ... |
I knew that you were going to say that |
|
Back to top |
|
|
|