Page 1 of 1

FTP JCL multivolume parametr for DS

PostPosted: Tue Feb 08, 2011 6:29 pm
by filip.czech
Hi,

I've got a problem with ftp transfer. It constantly gives me this:

IGD17273I ALLOCATION HAS FAILED FOR ALL VOLUMES SELECTED FOR DATA SET
EPDM.GDG.FTP.BMP1.G0001V00
IGD17277I THERE ARE (98) CANDIDATE VOLUMES OF WHICH (98) ARE ENABLED OF WHICH (98) ARE ENABLED OR QUIESCED
IGD17290I THERE WERE 1 CANDIDATE STORAGE GROUPS OF WHICH THE FIRST 1
WERE ELIGIBLE FOR VOLUME SELECTION.
THE CANDIDATE STORAGE GROUPS WERE:STG1
IGD17279I 98 VOLUMES WERE REJECTED BECAUSE THEY DID NOT HAVE SUFFICIENT SPACE (041A041D)
DYNAMIC ALLOCATION ERROR; ERROR TYPE = P; DATA SET NAME = EPDM.GDG.FTP.BMP1(+1) ; RETURN CODE
= 4 ; INFORMATION REASON CODE = 0000; ERROR REASON CODE = 970C


There is now space for the dataset EPDM.GDG.FTP.BMP1.G0001V00 on single volume even when I clear some space. The thing is I would like to specify a parametr in JCL for multivolume allocation in specified storage group (STG1). Could help me with that please? :)

JCL:

//STEP050 EXEC PGM=DVGIFBI
//DVGLOG DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
FUNCTION=ADD
CLASS=1
PRIORITY=0
XMODE=TO
RMTLU=DMBABFT1
SFILEID='MAF.GDG.ACCUM.FTP'
RFILEID='EPDM.GDG.FTP.BMP1(+1)'
RSTATOPT=MNE
SSECURP=('*','*')
RSECURP=('*','*')
WAIT=YES
/*

Re: FTP JCL multivolume parametr for DS

PostPosted: Tue Feb 08, 2011 8:01 pm
by Robert Sample
Actually, you do NOT have a problem with FTP transfer. FTP batch jobs (when using the IBM TCP/IP component) have EXEC PGM=FTP so you are executing some vendor (or home-grown) program instead to do the file transfer. As such, you need to read the vendor documentation, or contact the vendor directly, about what is needed to accomplish your goal.

The error messages you are seeing indicate that SMS is managing the storage pool, looking for space for your GDG generation, and not finding it. Whether or not YOU think there is space in the storage pool, SMS cannot find enough space. This may be due to large primary space allocation or some other factor -- but, again, this is an issue only the manuals or vendor of the package can help you with.

Re: FTP JCL multivolume parametr for DS

PostPosted: Tue Feb 08, 2011 8:10 pm
by MrSpock
PGM=DVGIFBI is Netview File Transfer ...

Re: FTP JCL multivolume parametr for DS

PostPosted: Wed Feb 09, 2011 12:16 pm
by filip.czech
I know.. It's Netview file transfer using FTP protocol.. The thing is I don't have the manual anymore ;) and I cannot find any either.. SMS tries to allocate the DS only on one volume because there is no specified option to allocate it to as a multivolume. SMS cannot find anough space because there isn't any on one volume from candidate storage group.

Re: FTP JCL multivolume parametr for DS

PostPosted: Wed Feb 09, 2011 4:31 pm
by Robert Sample
I don't use Netview file transfer so I don't have any idea what can be done with it.

For a normal FTP, I'd recommend preallocating a sequential data set on multiple packs, running the FTP, then creating the GDG +1 generation by copying the transferred data over.

Re: FTP JCL multivolume parametr for DS

PostPosted: Wed Feb 09, 2011 4:57 pm
by filip.czech
I've modified ACS routine and those DS will be allocated as multivolume ones... I don't know why I didn't think of it at the first place :)