View previous topic :: View next topic
|
Author |
Message |
jkri
New User
Joined: 24 Jul 2007 Posts: 17 Location: pune
|
|
|
|
I have an easytrieve program which has a table definition like
FILE tablename 600000
My JCL for this program is
JS00 EXEC PGM = EZTPA00
EZTVFM DD UNIT= name, SPACE = (CYL,(4000,400), RLSE)
DDNAME DD file input to table
The problem is program runs fine for 600000 records in input file. If we increase table size to 700000 then the program abend with "A003 space error". I cannot increase the space parameter more than mentioned.
My doubt - is there any other way to overcome this space issue other than using less records file i/p & reducing table size in program?
Is there any way to calculate the SPACE required from the table size definition? This space issue can be solved only by increasing the volume available for the program to execute?
Please help. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
FILE tablename 600000 specifies the starting position relative to position 1 of the record.
Im not sure if your easytrev ever worked. I would like to see the real
definition you used.
You should use a construction like :
FILE table FB(lrecl blksize) TABLE 600000 VIRTUAL RETAIN. |
|
Back to top |
|
|
jkri
New User
Joined: 24 Jul 2007 Posts: 17 Location: pune
|
|
|
|
The program is perfect and is working for size less than 700000.
The definition is -
FILE tablename TABLE 700000
ARG 1 8 N
DESC 9 2 A |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
FILE tablename TABLE 700000 is not the same description as in your first
post.
Try using the lrecl/blksize (half track blocking). And specify VIRTUAL to
direct to the VFM external storage. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
I forgot to mention that FB(lrecl blksize) is only of interest if you
create the table in the same easytrev. |
|
Back to top |
|
|
jkri
New User
Joined: 24 Jul 2007 Posts: 17 Location: pune
|
|
|
|
I guess, I need to split the file and use. Thanks for your suggesstion. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Or define a vsam file or database table for this use. . . |
|
Back to top |
|
|
|