View previous topic :: View next topic
|
Author |
Message |
mrgnndhmk
New User
Joined: 01 Feb 2006 Posts: 51 Location: India
|
|
|
|
Hi All,
ESDS File has been defined with PRI 1000 & Sec 500 Cylinders with 160 as record length.
It contains 24,404,901 records and SORT to ESDS fails when the record count reaches 25,844,500.
CASD217E VSAM ACCESS ERR 08058
I could not get the exact reason for the RC=58 for VSAM file.
Also noticed that the file isn't moving to next volume and the volume still has enough space.
Has anybody encountered similar failure and could provide any resolution?
DEFINE CLUSTER( -
NAME(TEST.ESDS.FILE) -
FOR(9999) -
NONINDEXED -
RECORDSIZE(160 160) -
SHAREOPTIONS(2) -
SPEED) -
DATA( -
NAME(TEST.ESDS.FILE.DATA) -
CONTROLINTERVALSIZE(4096) -
CYLINDERS(1000 500) -
VOLUMES(F3105V F3104V F3103V F3102V F3101V)) -
CATALOG(UCATF31)
~Muru |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Can you include the full system-generated output from the JOB. Have you seen any other VSAM messages? How have you tried to find what 58 means? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
Since you do not appear to have defined the ESDS as extended, I suspect you are hitting the 4 GB limit for a VSAM file. |
|
Back to top |
|
|
mrgnndhmk
New User
Joined: 01 Feb 2006 Posts: 51 Location: India
|
|
|
|
Hi Bill/Robert,
Thanks for the responses.
Other than status 58 I did not see any other VSAM messages. The status codes are given in the below link and unfortunately the link is down since 8 hours. I could not give the exact reason. As per it 58 is due to the inability of the file to grow further irrespective of whether the space is available or not. Resolution is to redefine the file and grow.
publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IESMC270/29.0?SHELF=IESVSE90&DT=20110907135057
But I am not sure how can I redefine the ESDS file with EXTEND parameter. Any generic samples would be helpful for me to try.
Is 4.3 GB limit a challenge only for ESDS and not KSDS? Because I have another KSDS file with a lot more data than this and has occupied almost 21 volumes in the catalog. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
4 GB is a VSAM limit, not just for ESDS or KSDS. Post the LISTCAT for the KSDS file (use the Code button to preserve spacing). |
|
Back to top |
|
|
mrgnndhmk
New User
Joined: 01 Feb 2006 Posts: 51 Location: India
|
|
|
|
This is the exact description of the error (link is alive now)
Code: |
Error Code Dec - 58
Error Code Hex - X'01'
Reg 15= - X'04'
Error Code Issued by - Reques Macros
Description - An attempt has been made to add records to a file resulting in the total size of the file exceeding X'FFFFFFFF' (4.3 billion bytes). The request has been rejected.
Programmer Response: Reorganize the file to reduce the size below the X'FFFFFFFF' limit. |
LISTCAT Output:
Code: |
TEST.ESDS.FILE (ESDS,CREATED-2013/334 EXPIRES-2099/999 TIME STAMP-2013/334 08:21AM GMT)
2,3 0 0 160 160 20480 1000C0 500C0 0 0 0 0 25844500 0 0 0 0 F3105V 15 15000 99 1
SPAND SPEED % EXCPS=33341 BUFFSPACE= 40960 F3105V 15015 7500 2
F3105V 22515 7500 3
F3105V 30015 7500 4
F3105V 37515 7500 5
F3105V 45015 7500 6
F3105V 52515 7500 7
F3105V 60015 7500 8
F3105V 67515 7500 9
F3105V 75015 7500 10
F3104V NO ALLOCATION
F3103V NO ALLOCATION
F3102V NO ALLOCATION
F3101V NO ALLOCATION
|
The strange thing is everytime if Primary/Secondary is changed and if Control Interval Size is changed, the no. of records that could be copied varies. The above is the maximum no. of records that could be copied.[/quote]
IDCAMS Definition:
Code: |
// EXEC IDCAMS,SIZE=256K
DELETE TEST.ESDS.FILE CLUSTER PURGE -
CATALOG(VANP.FNC.UCATF31)
DEFINE CLUSTER( -
NAME(TEST.ESDS.FILE) -
FOR(9999) -
NONINDEXED -
RECORDSIZE(160 160) -
SHAREOPTIONS(4) -
SPEED) -
DATA( -
NAME(TEST.ESDS.FILE.DATA) -
CONTROLINTERVALSIZE(20480) -
CYLINDERS(1000 500) -
VOLUMES(F3105V F3104V F3103V F3102V F3101V)) -
CATALOG(VANP.FNC.UCATF31)
IF LASTCC > 0 THEN CANCEL JOB
/*
|
Space Available in the Catalog now:
Code: |
V6.8C DR.D LCAT ***SPACE MAP*** LISTING OF VSAM CATALOG-VANP.FNC.UCATF31 30/11/2013 PAGE 002
TIME STAMP SELECTOR:NONE 08:22 AM
DISK EXTENT ---TRACKS OR BLOCKS--- -------------------------------------G A P M A P--------------------------------------
VOLSER BEGIN TOTAL AVAILABLE (LISTING OF GAP SIZE X NUMBER OF OCCURENCES OF THAT SIZE)
F3101V 150180 75 0 0% 36150X1
15 150165 36150 24%
DISK TOTAL 150240 36150 24%
F3102V 15 150240 22740 15% 22740X1
DISK TOTAL 150240 22740 15%
F3103V 15 150240 63990 42% 63990X1
DISK TOTAL 150240 63990 42%
F3104V 15 150240 150240 99% 150240X1
DISK TOTAL 150240 150240 99%
F3105V 15 150240 67740 45% 67740X1
DISK TOTAL 150240 67740 45%
CATALOG TOTAL 751200 340860 45%
|
Now the LC of the KSDS File with more data than this ESDS file
Code: |
FNCJ297.MST.K.GL.CONSOL.BU.STMT (KSDS,CREATED-2013/260 EXPIRES-2099/999 TIME STAMP-2013/331 06:51AM GMT)
2,3 32 0 141 141 20480 3300C0 1600C0 0 0 57178263254762825 196746169868 5846535380656 F2801V 15 49500 99 1
EXLARG 2048I 160C0 100C0 1% EXCPS=32687832 BUFFSPACE= 43008 F2801V 49515 24000 2
INDEX LEVELS= 4 F2801V 73515 24000 3
F2801V 97515 24000 4
F2801V 121515 24000 5
F2802V 15 49500 6
F2802V 49515 24000 7
F2802V 73515 24000 8
F2802V 97515 24000 9
F2802V 121515 24000 10
F2803V 15 49500 11
F2803V 49515 24000 12
F2803V 73515 24000 13
F2803V 97515 24000 14
F2803V 121515 24000 15
F2804V 15 49500 16
F2804V 49515 24000 17
F2804V 73515 24000 18
F2804V 97515 24000 19
F2804V 121515 24000 20
F2805V 15 49500 21
F2805V 49515 24000 22
F2805V 73515 24000 23
F2805V 97515 24000 24
F2805V 121515 24000 25
F2806V 15 49500 26
F2806V 49515 24000 27
F2806V 73515 24000 28
F2806V 97515 24000 29
F2806V 121515 24000 30
F2807V 15 49500 31
F2807V 49515 24000 32
F2807V 73515 24000 33
F2807V 97515 24000 34
F2807V 121515 24000 35
F2808V 15 49500 36
F2808V 49515 24000 37
F2808V 73515 24000 38
F2808V 97515 24000 39
F2808V 121515 24000 40
F2809V 15 49500 41
F2809V 49515 24000 42
F2809V 73515 24000 43
F2809V 97515 24000 44
V6.8C DR.D LCAT LISTING OF VSAM CATALOG-VANP.FNC.UCATF28 01/12/2013 PAGE 002
TIME STAMP SELECTOR:NONE 07:30 PM
SHR --KEY--- ---LRECL--- ---ALLOCATIONS--- -FREE-SPACE- SPLITS --------LOGICAL RECORDS--------- ----EXTENT INFORMATION----
OPT LEN RKP AVERAGE MAX CISIZE PRIMARY SECONDRY CI CA KBYT CI CA TOTAL DELETD INSRTD UPDTED READ VOLSER START SIZE %USD #
F2809V 121515 24000 45
F2810V 15 49500 46
F2810V 49515 24000 47
F2810V 73515 24000 48
F2810V 97515 24000 49
F2810V 121515 24000 50
F2811V 15 49500 51
F2811V 49515 24000 52
F2811V 73515 24000 53
F2811V 97515 24000 54
F2811V 121515 24000 55
F2812V 15 49500 56
F2812V 49515 24000 57
F2812V 73515 24000 58
F2812V 97515 24000 59
F2812V 121515 24000 60
F2813V 15 49500 61
F2813V 49515 24000 62
F2813V 73515 24000 63
F2813V 97515 24000 64
F2813V 121515 24000 65
F2814V 15 49500 66
F2814V 49515 24000 67
F2814V 73515 24000 68
F2814V 97515 24000 69
F2814V 121515 24000 70
F2815V 15 49500 71
F2815V 49515 24000 72
F2815V 73515 24000 73
F2815V 97515 24000 74
F2815V 121515 24000 75
F2816V 15 49500 76
F2816V 49515 24000 77
F2816V 73515 24000 78
F2816V 97515 24000 79
F2816V 121515 24000 80
F2817V 15 49500 81
F2817V 49515 24000 82
F2817V 73515 24000 83
F2817V 97515 24000 84
F2817V 121515 24000 85
F2818V 8415 49500 86
F2818V 57915 24000 87
F2818V 81915 24000 88
F2818V 105915 24000 89
F2819V 15 49500 90
F2819V 49515 24000 91
F2819V 73515 24000 92
F2819V 97515 24000 93
V6.8C DR.D LCAT LISTING OF VSAM CATALOG-VANP.FNC.UCATF28 01/12/2013 PAGE 003
TIME STAMP SELECTOR:NONE 07:30 PM
SHR --KEY--- ---LRECL--- ---ALLOCATIONS--- -FREE-SPACE- SPLITS --------LOGICAL RECORDS--------- ----EXTENT INFORMATION----
OPT LEN RKP AVERAGE MAX CISIZE PRIMARY SECONDRY CI CA KBYT CI CA TOTAL DELETD INSRTD UPDTED READ VOLSER START SIZE %USD #
F2819V 121515 24000 94
F2820V 15 49500 95
F2821V NO ALLOCATION
F2822V NO ALLOCATION
F2823V NO ALLOCATION
F2818V 15 2400 90 1
F2818V 2415 1500 2
F2818V 3915 1500 3
F2818V 5415 1500 4
F2818V 6915 1500 5
F2818V 129915 1500 6
F2817V NO ALLOCATION
F2816V NO ALLOCATION
F2815V NO ALLOCATION
F2814V NO ALLOCATION
F2813V NO ALLOCATION
F2812V NO ALLOCATION
F2811V NO ALLOCATION
F2810V NO ALLOCATION
F2809V NO ALLOCATION
F2808V NO ALLOCATION
F2807V NO ALLOCATION
F2806V NO ALLOCATION
F2805V NO ALLOCATION
F2804V NO ALLOCATION
F2803V NO ALLOCATION
F2802V NO ALLOCATION
F2801V NO ALLOCATION
F2819V NO ALLOCATION
F2820V NO ALLOCATION
F2821V NO ALLOCATION
F2822V NO ALLOCATION
F2823V NO ALLOCATION
FILES/OBJECTS LISTED- 2 2799900
V6.8C DR.D LCAT ***SPACE MAP*** LISTING OF VSAM CATALOG-VANP.FNC.UCATF28 01/12/2013 PAGE 004
TIME STAMP SELECTOR:NONE 07:30 PM
DISK EXTENT ---TRACKS OR BLOCKS--- -------------------------------------G A P M A P--------------------------------------
VOLSER BEGIN TOTAL AVAILABLE (LISTING OF GAP SIZE X NUMBER OF OCCURENCES OF THAT SIZE)
F2801V 150180 75 0 0% 4665X1
15 150165 4665 3%
DISK TOTAL 150240 4665 3%
F2802V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2803V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2804V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2805V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2806V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2807V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2808V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2809V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2810V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2811V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2812V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2813V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2814V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2815V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2816V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2817V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2818V 15 150240 18840 12% 18840X1
DISK TOTAL 150240 18840 12%
F2819V 15 150240 4740 3% 4740X1
DISK TOTAL 150240 4740 3%
F2820V 15 150240 100740 67% 100740X1
DISK TOTAL 150240 100740 67%
F2821V 15 50070 50070 99% 50070X1
DISK TOTAL 50070 50070 99%
F2822V 15 50070 50070 99% 50070X1
DISK TOTAL 50070 50070 99%
F2823V 15 50070 50070 99% 50070X1
DISK TOTAL 50070 50070 99%
CATALOG TOTAL 3155010 355035 11%
|
|
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8700 Location: Dubuque, Iowa, USA
|
|
|
|
1. Unless otherwise changed, the limit for an ESDS, KSDS, or RRDS VSAM data set is 4 GB -- and your error message precisely and exactly shows that this is the problem you have.
2. IDCAMS LISTCAT and the LC you posted are completely different -- what you posted is COMPLETELY USELESS as far as diagnosis or assistance.
3. Contact your site support group for assistance in changing your ESDS definition parameters to allow it to grow past the 4 GB limit. Or you can continue posting completely useless data here and we will not be able to help you, thus delaying the resolution of your problem. The problem and its solution are now known -- implementing the solution depends upon you.
4. And if you change the CI size, you change the number of blocks per track, hence you change the number of records that can be written before hitting the 4 GB limit. This is usual and expected -- apparently to everyone but you. |
|
Back to top |
|
|
mrgnndhmk
New User
Joined: 01 Feb 2006 Posts: 51 Location: India
|
|
|
|
Thanks Robert for the Clarification. It is the 4 GB limit that stops copying more records. The plan is to change the ESDS to KSDS file with XXL option so that the file can accept data more than 4 GB.
P.S. Since the application is in VSE, LC provides the output in that format |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Maybe LC does that, but IDCAMS LISTCAT does not, even in VSE.
Why are you not going to allow ESDS to extend beyond 4GB? If you make it a KSDS, be aware that there is a not inconsiderable overhead even in processing the data serially, as the index will be used to locate the next record, rather than the RBA.
Is it necessary that your huge ESDS has such a small data CI size?
Simply changing to KSDS will require programming changes for anything using the data.
Seems you've chosen a long way around. |
|
Back to top |
|
|
mrgnndhmk
New User
Joined: 01 Feb 2006 Posts: 51 Location: India
|
|
|
|
Hi Bill
There are couple of reasons why we decided to go for KSDS
1. The file is a history file for Year 2. Rest all files are KSDS and we are not sure why this file was created as ESDS
2. Only 2 Job changes are required for the VSAM change and no impact to the system
I am not very sure about making ESDS to extend. Is that going to be a system change like defining DATACLAS? Because the system does not have any extended ESDS.
It is yet to be confirmed by the system administrator. If this option is quicker than the KSDS option, we will go for it.
Thanks for the suggestions. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
You'll need a unique key as well for the KSDS.
Make two test files. ESDS just less than 4GB, KSDS same records (bearing in mind the key).
Read all the data on each.
Compare the resources used.
You didn't mention whether the usage is online or batch? |
|
Back to top |
|
|
mrgnndhmk
New User
Joined: 01 Feb 2006 Posts: 51 Location: India
|
|
|
|
Hi Bill,
Technical support also suggested to go for KSDS as beyond 4 GB, ESDS performance will not be good as it is dependent on RBA.
Since there is no major impact to the application, migrating the file to KSDS has been selected.
This is a history file and source files for these have the Keys defined. Therefore, the change is straight forward.
Thanks all for your inputs. |
|
Back to top |
|
|
|