View previous topic :: View next topic
|
Author |
Message |
rosmi joseph
New User
Joined: 17 Sep 2007 Posts: 68 Location: Kochi
|
|
|
|
Hi,
I had coded a new program which reads the entire IMS database and writes out data in a specified format to the output file.
The database is too big, so i had given a counter in the program when it reads the parent segment and ran the code till the counter limit is reached. The counter limit was mas 10000 or so.
But on removing this counter and submitting the job till end-of -database my program abended with S0C1.
The error message is as below.
"IGD17206I VOLUME SELECTION HAS FAILED - THERE ARE NOT ENOUGH VOLUMES WITH SUFFICIENT SPACE FOR DATA SET".
Following is the space parameters thati had specified.
DSQGX002 DD DSN=<output dataset name>,
DISP=(NEW,CATLG,DELETE),
DCB=(LRECL=500,BLKSIZE=0,RECFM=FB),
DATACLAS=STANDARD,
UNIT=SYSDA
Can you please let me know if changing the DATACLAS to LARGE will help in solving the abend?
Thanks,
Rosmi. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Joseph,
Reason for S0C1:
Quote: |
An attempt was made to execute an invalid machine
instruction operation code. The operation code is either
invalid or is for an instruction that is not available on
this CPU. |
Verify your pgm logic/flow. |
|
Back to top |
|
|
rosmi joseph
New User
Joined: 17 Sep 2007 Posts: 68 Location: Kochi
|
|
|
|
Hi,
I did get this reason for the standard S0C1 abend.
But my code was working fine for some 10000 occurences of the database parent segment. The only difference now is the didnt get a counter but calls the para till end of database.
So, dont think it is the logic problem.
Do correct me if i am wrong.
Thanks,
Rosmi. |
|
Back to top |
|
|
ramfrom84
New User
Joined: 23 Aug 2006 Posts: 93 Location: chennai
|
|
|
|
Hi,
One of method to copy large file,
Create the PS with maximum allocation and use it as DISP=SHR. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
If You posted the jes job log of the run, or the sequence of messages then
the problem determination would be much easier
as far as the data class ,
we do not know anything about Your SMS setup and/or Your ACS routines,
any reply migh be wrong,
as usually asking on the forum about parameters specific to
Your environment will only generate a lot of useless traffic
the only people able to answer
Quote: |
Can you please let me know if changing the DATACLAS to LARGE will help in solving the abend? |
are the people from your storage support group
also from my experience if the abend is due to space problems
sorry... then there is a logic flaw in Your program ( unhandled conditions ) |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Quote: |
"IGD17206I VOLUME SELECTION HAS FAILED - THERE ARE NOT ENOUGH VOLUMES WITH SUFFICIENT SPACE FOR DATA SET". |
Go see your storage people. Or consider using tape as the output medium. |
|
Back to top |
|
|
rosmi joseph
New User
Joined: 17 Sep 2007 Posts: 68 Location: Kochi
|
|
|
|
Hi all,
Thanks a lot for all your inputs.
Finally my issue got solved. It was a logical flow in the program.
For IMS calls i have a key with X(02). I was issuing Get-unique calls and there was a point where the DB had the max key value ie '99'.
For each call i incremented the key , ie. from 00 to 99. Once it reached 99 it again became 00 and as the call was Get-unique it went on searching the DB and thus the program was executing in a loop. Once i changed the call to Get-Next the program ran fine...
Thanks,
Rosmi. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Rosmi,
Quote: |
Finally my issue got solved |
Nice to hear. |
|
Back to top |
|
|
|