Page 2 of 2

Re: Rexx Program not running with ISPSTART

PostPosted: Mon Apr 21, 2014 10:26 pm
by enrico-sorichetti
Pretty hard to believe ...

Using an empty ISPPROF has worked for me for at least 20 years

please post evidence that the error is due to it

Re: Rexx Program not running with ISPSTART

PostPosted: Tue Apr 22, 2014 1:45 am
by Pedro
Is it because of the temp file allocated to ISPPROF.

It is not enough to use a temp fie. The temp file has to have the right attributes. Here is what I use:
//ISPPROF  DD DSN=&&PROFILE,UNIT=SYSDA,DISP=(NEW,DELETE),       
//   SPACE=(3200,(30,30,1)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)

The BLDL assembler macro is about finding the member in a PDS. If you do not include the number of directory blocks, the temp file will be a sequential data set and then you get message ISPT015.

You probably allocated it correctly after that in order to get the copy to work.

Re: Rexx Program not running with ISPSTART

PostPosted: Tue Apr 22, 2014 11:08 am
by jiteshyadav
Pedro wrote:
Is it because of the temp file allocated to ISPPROF.

It is not enough to use a temp fie. The temp file has to have the right attributes. Here is what I use:
//ISPPROF  DD DSN=&&PROFILE,UNIT=SYSDA,DISP=(NEW,DELETE),       
//   SPACE=(3200,(30,30,1)),DCB=(RECFM=FB,LRECL=80,BLKSIZE=3200)

The BLDL assembler macro is about finding the member in a PDS. If you do not include the number of directory blocks, the temp file will be a sequential data set and then you get message ISPT015.

You probably allocated it correctly after that in order to get the copy to work.

This works. Thanks Pedro for the info.
I wasn't allocating the temp file properly may be.