|
|
| Author |
Message |
ranjithmainframe
New User
Joined: 21 Jan 2008 Posts: 28 Location: chennai
|
|
|
|
Hi all,
Could you please let me know if it is possible to
specify/allocate the space while creating the GDG base itself.
SO that we will not get any space abend in case of getting a huge file to a new generation GDG dataset in a ftp process like as follows,
(for example)
ftp 11111.111.11
get textfile.txt APG.XX.GDG(+1)
Thanks,
Ranjith |
|
| Back to top |
|
 |
References
|
|
 |
Moved: Sat Oct 11, 2008 1:03 am by superk From JCL to SMS & VSAM |
superk
Moderator Team Head
Joined: 26 Apr 2004 Posts: 3265 Location: Charlotte,NC USA
|
|
|
|
No, of course not.
But, why on earth are you configuring your FTP like that? Why don't you define a DD statement in the JCL for the new GDG, with all of the necessary storage parameters, i.e.:
//FTPFILE DD DSN=APG.XX.GDG(+1),DISP=(,CATLG,DELETE),UNIT=...,SPACE=...
and then specify your get statement:
get textfile.txt //DD:FTPFILE
as outlined here in the section 4.2.4 ddname support in the z/OS V1R9.0 Comm Svr: IP User's Guide and Commands guide. |
|
| Back to top |
|
 |
Robert Sample
Senior Member
Joined: 06 Jun 2008 Posts: 892 Location: Atlanta, GA
|
|
|
|
| As the manual says, creating a GDG base creates a catalog entry. Since you're not defining any datasets, there's no space parameter you could define with the GDG base. Use Kevin's approach to minimize space abends but there's no way to completely eliminate the possibility of space abends during the FTP -- the other end could have a file that is simply larger than your storage pool. |
|
| Back to top |
|
 |
ranjithmainframe
New User
Joined: 21 Jan 2008 Posts: 28 Location: chennai
|
|
|
|
There is a way on earth..
I might not be explained my problem in detail...
I have too many files in my ftp like as follows which would be difficult to
define each empty file seperately,
| Code: |
get EHAMFU_expor1.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor2.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor2.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMFU_expor3.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor4.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor5.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMFU_expor6.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor7.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor8.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMFU_expor9.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor10.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor11.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMFU_expor12.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor13.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor14.txt 'XXX.XXXX.XXXXXT(+1)'
|
the following is one of the way defining the file parmeters common to all generations in a ftp member..
| Code: |
locsite recfm=fb blksize=0 lrecl=1521 cyl pri=50 sec=25
get EHAMFU_expor1.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor2.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor2.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMFU_expor3.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor4.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor5.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMFU_expor6.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor7.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor8.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMFU_expor9.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor10.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor11.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMFU_expor12.txt 'XXX.XXXX.XXXXXT(+1)'
get EHAMNB_expor13.txt 'XXX.XXXX.XXXXXT(+1)'
get EHANTHEM_expor14.txt 'XXX.XXXX.XXXXXT(+1)'
|
Thank you...
Ranjith |
|
| Back to top |
|
 |
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 3509 Location: Brussels once more ...
|
|
|
|
Go chat with your storage people - use of the SMS DATACLAS ACS and construct can do that easy peasy.
However, having a JCL reference as to where the file is created does make problem determination a little easier. Maybe you could include something in your naming standards to alert anyone that the file is created by jobname/stepname/ftp. |
|
| Back to top |
|
 |
ranjithmainframe
New User
Joined: 21 Jan 2008 Posts: 28 Location: chennai
|
|
|
|
oH!!.. you are right expat.. Thanks for your Information.
Thanks,
Ranjith |
|
| Back to top |
|
 |
|
|