FTP JCL multivolume parametr for DS



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

FTP JCL multivolume parametr for DS

Postby filip.czech » Tue Feb 08, 2011 6:29 pm

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
/*
User avatar
filip.czech
 
Posts: 3
Joined: Tue Feb 08, 2011 6:07 pm
Location: Czech Republic
Has thanked: 0 time
Been thanked: 0 time

Re: FTP JCL multivolume parametr for DS

Postby Robert Sample » Tue Feb 08, 2011 8:01 pm

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: FTP JCL multivolume parametr for DS

Postby MrSpock » Tue Feb 08, 2011 8:10 pm

PGM=DVGIFBI is Netview File Transfer ...
User avatar
MrSpock
Global moderator
 
Posts: 807
Joined: Wed Jun 06, 2007 9:37 pm
Location: Raleigh NC USA
Has thanked: 0 time
Been thanked: 4 times

Re: FTP JCL multivolume parametr for DS

Postby filip.czech » Wed Feb 09, 2011 12:16 pm

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.
User avatar
filip.czech
 
Posts: 3
Joined: Tue Feb 08, 2011 6:07 pm
Location: Czech Republic
Has thanked: 0 time
Been thanked: 0 time

Re: FTP JCL multivolume parametr for DS

Postby Robert Sample » Wed Feb 09, 2011 4:31 pm

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.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: FTP JCL multivolume parametr for DS

Postby filip.czech » Wed Feb 09, 2011 4:57 pm

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 :)
User avatar
filip.czech
 
Posts: 3
Joined: Tue Feb 08, 2011 6:07 pm
Location: Czech Republic
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post