Page 1 of 1

RLSE in ftp locsite

PostPosted: Tue Jun 14, 2016 4:51 pm
by crazydoc
Good day. In the distribution sets in one of the ask me, use the parameters:
SPACE=(TRK,(65000,15000),RLSE)
. Is it possible to describe something like that when you receive a file via FTP?

Re: RLSE in ftp locsite

PostPosted: Tue Jun 14, 2016 6:42 pm
by Aki88
Hello,

Afaik, in a mainframe environment, whenever a dataset is to be referred, there is always a mechanism in place which allows a user to tweak the DCB/SPACE parameters.
Couple of thoughts for your query:
a. Have a step in the FTP JCL which defines the dataset in which you want to receive the data; the definition parameters will be governed by JCL rules, hence RLSE will be allowed here.
b. Look at the SEZAINST definitions, you'll be having a member (for eg: EZAFTPAS) which has the default priming parameters defined; though before you do this - highly recommend that you check with your site admin, as these parameters are usually customized site-to-site; and some people might not feel happy with you tweaking a parameter in this PDS.

Hope this helps.

Re: RLSE in ftp locsite

PostPosted: Wed Jun 15, 2016 11:07 am
by steve-myers
Just a bit of a warning. The JCL RLSE parameter in SPACE=(...,RLSE) or its equivalent in dynamic allocation does not work the way many people think. RLSE is not a data set attribute. In this JCL no space is released.
//A       EXEC PGM=IEFBR14
//NEWDS    DD  DISP=(,PASS),UNIT=SYSDA,SPACE=(TRK,(50,10,5),RLSE),
//             DCB=(RECFM=FB,LRECL=80),DSN=&SYSUID..SRC
//B       EXEC PGM=IEBDPDTE,PARM=NEW
//SYSPRINT DD  SYSOUT=*
//SYSUT2   DD  DISP=(OLD,CATLG),DSN=*.A.NEWDS
//SYSIN    DD  *
./ ADD NAME=IEFBR14
IEFBR14  RSECT
IEFBR14  AMODE 31
IEFBR14  RMODE ANY
         SR    15,15
         BR    14
         END   IEFBR14

However, space is released in this JCL.
//A       EXEC PGM=IEFBR14
//NEWDS    DD  DISP=(,PASS),UNIT=SYSDA,SPACE=(TRK,(50,10,5)),
//             DCB=(RECFM=FB,LRECL=80),DSN=&SYSUID..SRC
//B       EXEC PGM=IEBDPDTE,PARM=NEW
//SYSPRINT DD  SYSOUT=*
//SYSUT2   DD  DISP=(OLD,CATLG),SPACE=(TRK,1,RLSE),
//             DSN=*.A.NEWDS
//SYSIN    DD  *
./ ADD NAME=IEFBR14
IEFBR14  RSECT
IEFBR14  AMODE 31
IEFBR14  RMODE ANY
         SR    15,15
         BR    14
         END   IEFBR14

Re: RLSE in ftp locsite

PostPosted: Thu Jun 16, 2016 7:04 pm
by crazydoc
Thanks for the help. In the end, it was decided not to allocate the exact space under taken a dump(was assigned 27gb drive and distributed all of it, even if you take a dump less)